Home | History | Annotate | Download | only in minadbd

Lines Matching defs:asocket

43 typedef struct asocket asocket;
69 /* An asocket represents one half of a connection between a local and
70 ** remote entity. A local asocket is bound to a file descriptor. A
71 ** remote asocket is bound to the protocol engine.
73 struct asocket {
75 ** asockets that this asocket lives in
77 asocket *next;
78 asocket *prev;
80 /* the unique identifier for this asocket
89 /* the asocket we are connected to
92 asocket *peer;
112 int (*enqueue)(asocket *s, apacket *pkt);
117 void (*ready)(asocket *s);
123 void (*close)(asocket *s);
198 asocket *find_local_socket(unsigned id);
199 void install_local_socket(asocket *s);
200 void remove_socket(asocket *s);
205 asocket *create_local_socket(int fd);
206 asocket *create_local_service_socket(const char *destination);
208 asocket *create_remote_socket(unsigned id, atransport *t);
209 void connect_to_remote(asocket *s, const char *destination);
210 void connect_to_smartsocket(asocket *s);
230 asocket* create_device_tracker(void);
268 asocket *host_service_to_socket(const char* name, const char *serial);
422 int handle_host_request(char *service, transport_type ttype, char* serial, int reply_fd, asocket *s);