Searched refs:sd_resolve_query (Results 1 - 6 of 6) sorted by relevance

/systemd/src/systemd/
H A Dsd-resolve.h38 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 Dtest-resolve.c36 static int getaddrinfo_handler(sd_resolve_query *q, int ret, const struct addrinfo *ai, void *userdata) {
58 static int getnameinfo_handler(sd_resolve_query *q, int ret, const char *host, const char *serv, void *userdata) {
71 _cleanup_(sd_resolve_query_unrefp) sd_resolve_query *q1 = NULL, *q2 = NULL;
H A Dsd-resolve.c76 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...]
/systemd/src/timesync/
H A Dtimesyncd-manager.h49 sd_resolve_query *resolve_query;
H A Dtimesyncd-manager.c793 static int manager_resolve_handler(sd_resolve_query *q, int ret, const struct addrinfo *ai, void *userdata) {
/systemd/src/socket-proxy/
H A Dsocket-proxyd.c69 sd_resolve_query *resolve_query;
373 static int resolve_cb(sd_resolve_query *q, int ret, const struct addrinfo *ai, void *userdata) {

Completed in 50 milliseconds