#include "ekg2-config.h"#include <ekg/win32.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 "debug.h"#include "dynstuff.h"#include "net.h"#include "plugins.h"#include "sessions.h"#include "xmalloc.h"#include "srv.h"Struktury danych | |
| struct | ekg_connect_data |
Definicje | |
| #define | __USE_POSIX |
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) |
| #define __USE_POSIX |
| static int ekg_build_sin | ( | const char * | data, | |
| const int | defport, | |||
| struct sockaddr ** | address, | |||
| int * | family | |||
| ) | [static] |
| watch_t* ekg_connect | ( | session_t * | session, | |
| const char * | server, | |||
| const int | proto_port, | |||
| const int | port, | |||
| watcher_handler_func_t | async | |||
| ) |
| static int ekg_connect_abort | ( | int | type, | |
| int | fd, | |||
| watch_type_t | watch, | |||
| void * | data | |||
| ) | [static] |
| static void ekg_connect_data_free | ( | struct ekg_connect_data * | c | ) | [static] |
| static int ekg_connect_handler | ( | int | type, | |
| int | fd, | |||
| watch_type_t | watch, | |||
| void * | data | |||
| ) | [static] |
| static int ekg_connect_loop | ( | struct ekg_connect_data * | c | ) | [static] |
| static int ekg_connect_resolver_handler | ( | int | type, | |
| int | fd, | |||
| const char * | watch, | |||
| void * | data | |||
| ) | [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 int ekg_resolver_split | ( | char * | hostname, | |
| const int | defport | |||
| ) | [static] |
1.7.1