Home | History | Annotate | Download | only in minadbd

Lines Matching refs:asocket

31 static void local_socket_close_locked(asocket *s);
48 static asocket local_socket_list = {
57 static asocket local_socket_closing_list = {
62 asocket *find_local_socket(unsigned id)
64 asocket *s;
65 asocket *result = NULL;
80 insert_local_socket(asocket* s, asocket* list)
89 void install_local_socket(asocket *s)
99 void remove_socket(asocket *s)
114 asocket *s;
130 static int local_socket_enqueue(asocket *s, apacket *p)
183 static void local_socket_ready(asocket *s)
191 static void local_socket_close(asocket *s)
199 static void local_socket_destroy(asocket *s)
220 static void local_socket_close_locked(asocket *s)
258 asocket *s = _s;
386 asocket *create_local_socket(int fd)
388 asocket *s = calloc(1, sizeof(asocket));
403 asocket *create_local_service_socket(const char *name)
405 asocket *s;
420 asocket socket;
424 static int remote_socket_enqueue(asocket *s, apacket *p)
436 static void remote_socket_ready(asocket *s)
447 static void remote_socket_close(asocket *s)
469 asocket* s = _s;
470 asocket* peer = s->peer;
481 asocket *create_remote_socket(unsigned id, atransport *t)
483 asocket *s = calloc(1, sizeof(aremotesocket));
500 void connect_to_remote(asocket *s, const char *destination)
521 static void local_socket_ready_notify(asocket *s)
532 static void local_socket_close_notify(asocket *s)
596 static int smart_socket_enqueue(asocket *s, apacket *p)
685 static void smart_socket_ready(asocket *s)
690 static void smart_socket_close(asocket *s)
704 asocket *create_smart_socket(void (*action_cb)(asocket *s, const char *act))
707 asocket *s = calloc(1, sizeof(asocket));
718 void smart_socket_action(asocket *s, const char *act)
723 void connect_to_smartsocket(asocket *s)
726 asocket *ss = create_smart_socket(smart_socket_action);