sd_resolve_query 28 src/libsystemd/sd-resolve/resolve-util.h DEFINE_TRIVIAL_CLEANUP_FUNC(sd_resolve_query*, sd_resolve_query_unref); sd_resolve_query 89 src/libsystemd/sd-resolve/sd-resolve.c sd_resolve_query* query_array[QUERIES_MAX]; sd_resolve_query 95 src/libsystemd/sd-resolve/sd-resolve.c sd_resolve_query *current; sd_resolve_query 100 src/libsystemd/sd-resolve/sd-resolve.c LIST_HEAD(sd_resolve_query, queries); sd_resolve_query 128 src/libsystemd/sd-resolve/sd-resolve.c LIST_FIELDS(sd_resolve_query, queries); sd_resolve_query 204 src/libsystemd/sd-resolve/sd-resolve.c static int getaddrinfo_done(sd_resolve_query* q); sd_resolve_query 205 src/libsystemd/sd-resolve/sd-resolve.c static int getnameinfo_done(sd_resolve_query *q); sd_resolve_query 206 src/libsystemd/sd-resolve/sd-resolve.c static int res_query_done(sd_resolve_query* q); sd_resolve_query 208 src/libsystemd/sd-resolve/sd-resolve.c static void resolve_query_disconnect(sd_resolve_query *q); sd_resolve_query 640 src/libsystemd/sd-resolve/sd-resolve.c sd_resolve_query *q; sd_resolve_query 731 src/libsystemd/sd-resolve/sd-resolve.c static sd_resolve_query *lookup_query(sd_resolve *resolve, unsigned id) { sd_resolve_query 732 src/libsystemd/sd-resolve/sd-resolve.c sd_resolve_query *q; sd_resolve_query 744 src/libsystemd/sd-resolve/sd-resolve.c static int complete_query(sd_resolve *resolve, sd_resolve_query *q) { sd_resolve_query 842 src/libsystemd/sd-resolve/sd-resolve.c sd_resolve_query *q; sd_resolve_query 1016 src/libsystemd/sd-resolve/sd-resolve.c static int alloc_query(sd_resolve *resolve, bool floating, sd_resolve_query **_q) { sd_resolve_query 1017 src/libsystemd/sd-resolve/sd-resolve.c sd_resolve_query *q; sd_resolve_query 1033 src/libsystemd/sd-resolve/sd-resolve.c q = resolve->query_array[resolve->current_id % QUERIES_MAX] = new0(sd_resolve_query, 1); sd_resolve_query 1054 src/libsystemd/sd-resolve/sd-resolve.c sd_resolve_query **_q, sd_resolve_query 1062 src/libsystemd/sd-resolve/sd-resolve.c sd_resolve_query *q; sd_resolve_query 1113 src/libsystemd/sd-resolve/sd-resolve.c static int getaddrinfo_done(sd_resolve_query* q) { sd_resolve_query 1126 src/libsystemd/sd-resolve/sd-resolve.c sd_resolve_query**_q, sd_resolve_query 1136 src/libsystemd/sd-resolve/sd-resolve.c sd_resolve_query *q; sd_resolve_query 1183 src/libsystemd/sd-resolve/sd-resolve.c static int getnameinfo_done(sd_resolve_query *q) { sd_resolve_query 1197 src/libsystemd/sd-resolve/sd-resolve.c sd_resolve_query **_q, sd_resolve_query 1206 src/libsystemd/sd-resolve/sd-resolve.c sd_resolve_query *q; sd_resolve_query 1249 src/libsystemd/sd-resolve/sd-resolve.c _public_ int sd_resolve_res_query(sd_resolve *resolve, sd_resolve_query** q, const char *dname, int class, int type, sd_resolve_res_handler_t callback, void *userdata) { sd_resolve_query 1253 src/libsystemd/sd-resolve/sd-resolve.c _public_ int sd_resolve_res_search(sd_resolve *resolve, sd_resolve_query** q, const char *dname, int class, int type, sd_resolve_res_handler_t callback, void *userdata) { sd_resolve_query 1257 src/libsystemd/sd-resolve/sd-resolve.c static int res_query_done(sd_resolve_query* q) { sd_resolve_query 1268 src/libsystemd/sd-resolve/sd-resolve.c _public_ sd_resolve_query* sd_resolve_query_ref(sd_resolve_query *q) { sd_resolve_query 1288 src/libsystemd/sd-resolve/sd-resolve.c static void resolve_query_disconnect(sd_resolve_query *q) { sd_resolve_query 1316 src/libsystemd/sd-resolve/sd-resolve.c static void resolve_query_free(sd_resolve_query *q) { sd_resolve_query 1328 src/libsystemd/sd-resolve/sd-resolve.c _public_ sd_resolve_query* sd_resolve_query_unref(sd_resolve_query* q) { sd_resolve_query 1341 src/libsystemd/sd-resolve/sd-resolve.c _public_ int sd_resolve_query_is_done(sd_resolve_query *q) { sd_resolve_query 1348 src/libsystemd/sd-resolve/sd-resolve.c _public_ void* sd_resolve_query_set_userdata(sd_resolve_query *q, void *userdata) { sd_resolve_query 1360 src/libsystemd/sd-resolve/sd-resolve.c _public_ void* sd_resolve_query_get_userdata(sd_resolve_query *q) { sd_resolve_query 1367 src/libsystemd/sd-resolve/sd-resolve.c _public_ sd_resolve *sd_resolve_query_get_resolve(sd_resolve_query *q) { sd_resolve_query 70 src/socket-proxy/socket-proxyd.c sd_resolve_query *resolve_query; sd_resolve_query 386 src/socket-proxy/socket-proxyd.c static int resolve_cb(sd_resolve_query *q, int ret, const struct addrinfo *ai, void *userdata) { sd_resolve_query 38 src/systemd/sd-resolve.h typedef struct sd_resolve_query sd_resolve_query; sd_resolve_query 41 src/systemd/sd-resolve.h typedef int (*sd_resolve_getaddrinfo_handler_t)(sd_resolve_query *q, int ret, const struct addrinfo *ai, void *userdata); sd_resolve_query 42 src/systemd/sd-resolve.h typedef int (*sd_resolve_getnameinfo_handler_t)(sd_resolve_query *q, int ret, const char *host, const char *serv, void *userdata); sd_resolve_query 43 src/systemd/sd-resolve.h typedef int (*sd_resolve_res_handler_t)(sd_resolve_query* q, int ret, unsigned char *answer, void *userdata); sd_resolve_query 92 src/systemd/sd-resolve.h 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); sd_resolve_query 100 src/systemd/sd-resolve.h 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); sd_resolve_query 106 src/systemd/sd-resolve.h int sd_resolve_res_query(sd_resolve *resolve, sd_resolve_query **q, const char *dname, int clazz, int type, sd_resolve_res_handler_t callback, void *userdata); sd_resolve_query 112 src/systemd/sd-resolve.h int sd_resolve_res_search(sd_resolve *resolve, sd_resolve_query **q, const char *dname, int clazz, int type, sd_resolve_res_handler_t callback, void *userdata); sd_resolve_query 114 src/systemd/sd-resolve.h sd_resolve_query *sd_resolve_query_ref(sd_resolve_query* q); sd_resolve_query 115 src/systemd/sd-resolve.h sd_resolve_query *sd_resolve_query_unref(sd_resolve_query* q); sd_resolve_query 118 src/systemd/sd-resolve.h int sd_resolve_query_is_done(sd_resolve_query*q); sd_resolve_query 120 src/systemd/sd-resolve.h void *sd_resolve_query_get_userdata(sd_resolve_query *q); sd_resolve_query 121 src/systemd/sd-resolve.h void *sd_resolve_query_set_userdata(sd_resolve_query *q, void *userdata); sd_resolve_query 123 src/systemd/sd-resolve.h sd_resolve *sd_resolve_query_get_resolve(sd_resolve_query *q); sd_resolve_query 794 src/timesync/timesyncd-manager.c static int manager_resolve_handler(sd_resolve_query *q, int ret, const struct addrinfo *ai, void *userdata) { sd_resolve_query 51 src/timesync/timesyncd-manager.h sd_resolve_query *resolve_query;