Searched defs:sd_resolve_query (Results 1 - 2 of 2) sorted by relevance
/systemd/src/systemd/ |
H A D | sd-resolve.h | 38 typedef struct sd_resolve_query sd_resolve_query; typedef in typeref:struct:sd_resolve_query 41 typedef int (*sd_resolve_getaddrinfo_handler_t)(sd_resolve_query *q, int ret, const struct addrinfo *ai, void *userdata); 42 typedef int (*sd_resolve_getnameinfo_handler_t)(sd_resolve_query *q, int ret, const char *host, const char *serv, void *userdata); 56 * sd_resolve_query objects automatically. */ 91 int sd_resolve_getaddrinfo(sd_resolve *resolve, sd_resolve_query **q, const char *node, const char *service, const struct addrinfo *hints, sd_resolve_getaddrinfo_handler_t callback, void *userdata); 99 int sd_resolve_getnameinfo(sd_resolve *resolve, sd_resolve_query **q, const struct sockaddr *sa, socklen_t salen, int flags, uint64_t get, sd_resolve_getnameinfo_handler_t callback, void *userdata); 101 sd_resolve_query *sd_resolve_query_ref(sd_resolve_query* q); 102 sd_resolve_query *sd_resolve_query_unre [all...] |
/systemd/src/libsystemd/sd-resolve/ |
H A D | sd-resolve.c | 76 sd_resolve_query* query_array[QUERIES_MAX]; 82 sd_resolve_query *current; 87 LIST_HEAD(sd_resolve_query, queries); 90 struct sd_resolve_query { struct 113 LIST_FIELDS(sd_resolve_query, queries); 173 static int getaddrinfo_done(sd_resolve_query* q); 174 static int getnameinfo_done(sd_resolve_query *q); 176 static void resolve_query_disconnect(sd_resolve_query *q); 553 sd_resolve_query *q; 640 static sd_resolve_query *lookup_quer [all...] |
Completed in 45 milliseconds