Lines Matching defs:s
64 asocket *s; in find_local_socket() local
80 insert_local_socket(asocket* s, asocket* list) in insert_local_socket()
89 void install_local_socket(asocket *s) in install_local_socket()
99 void remove_socket(asocket *s) in remove_socket()
114 asocket *s; in close_all_sockets() local
130 static int local_socket_enqueue(asocket *s, apacket *p) in local_socket_enqueue()
183 static void local_socket_ready(asocket *s) in local_socket_ready()
191 static void local_socket_close(asocket *s) in local_socket_close()
199 static void local_socket_destroy(asocket *s) in local_socket_destroy()
227 static void local_socket_close_locked(asocket *s) in local_socket_close_locked()
265 asocket *s = _s; in local_socket_event_func() local
395 asocket *s = calloc(1, sizeof(asocket)); in create_local_socket() local
412 asocket *s; in create_local_service_socket() local
444 asocket *s; in create_host_service_socket() local
465 static int remote_socket_enqueue(asocket *s, apacket *p) in remote_socket_enqueue()
477 static void remote_socket_ready(asocket *s) in remote_socket_ready()
488 static void remote_socket_close(asocket *s) in remote_socket_close()
510 asocket* s = _s; in remote_socket_disconnect() local
524 asocket *s = calloc(1, sizeof(aremotesocket)); in create_remote_socket() local
541 void connect_to_remote(asocket *s, const char *destination) in connect_to_remote()
562 static void local_socket_ready_notify(asocket *s) in local_socket_ready_notify()
573 static void local_socket_close_notify(asocket *s) in local_socket_close_notify()
581 unsigned unhex(unsigned char *s, int len) in unhex()
655 static int smart_socket_enqueue(asocket *s, apacket *p) in smart_socket_enqueue()
828 static void smart_socket_ready(asocket *s) in smart_socket_ready()
833 static void smart_socket_close(asocket *s) in smart_socket_close()
847 asocket *create_smart_socket(void (*action_cb)(asocket *s, const char *act)) in create_smart_socket()
850 asocket *s = calloc(1, sizeof(asocket)); in create_smart_socket() local
861 void smart_socket_action(asocket *s, const char *act) in smart_socket_action()
866 void connect_to_smartsocket(asocket *s) in connect_to_smartsocket()