ekg2
GIT master
|
#include "ekg2.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/ioctl.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <unistd.h>
#include <netdb.h>
#include "net.h"
#include "srv.h"
Struktury danych | |
struct | ekg_connect_data |
Funkcje | |
static int | ekg_resolver_split (char *hostname, const int defport) |
watch_t * | ekg_resolver4 (plugin_t *plugin, const char *server, watcher_handler_func_t async, void *data, const int proto_port, const int port, const int proto) |
static void | ekg_connect_data_free (struct ekg_connect_data *c) |
static int | ekg_connect_loop (struct ekg_connect_data *c) |
static int | ekg_connect_resolver_handler (int type, int fd, const char *watch, void *data) |
static int | ekg_build_sin (const char *data, const int defport, struct sockaddr **address, int *family) |
static int | ekg_connect_handler (int type, int fd, watch_type_t watch, void *data) |
static int | ekg_connect_abort (int type, int fd, watch_type_t watch, void *data) |
watch_t * | ekg_connect (session_t *session, const char *server, const int proto_port, const int port, watcher_handler_func_t async) |
watch_t * | ekg_resolver2 (plugin_t *plugin, const char *server, watcher_handler_func_t async, void *data) |
|
static |
watch_t* ekg_connect | ( | session_t * | session, |
const char * | server, | ||
const int | proto_port, | ||
const int | port, | ||
watcher_handler_func_t | async | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
watch_t* ekg_resolver2 | ( | plugin_t * | plugin, |
const char * | server, | ||
watcher_handler_func_t | async, | ||
void * | data | ||
) |
watch_t* ekg_resolver4 | ( | plugin_t * | plugin, |
const char * | server, | ||
watcher_handler_func_t | async, | ||
void * | data, | ||
const int | proto_port, | ||
const int | port, | ||
const int | proto | ||
) |
|
static |