Home
last modified time | relevance | path

Searched refs:getaddrinfo_handler (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/libsystemd/sd-resolve/
Dtest-resolve.c20 static int getaddrinfo_handler(sd_resolve_query *q, int ret, const struct addrinfo *ai, void *userd… in getaddrinfo_handler() function
73 … r = sd_resolve_getaddrinfo(resolve, NULL, "redhat.com", "http", NULL, getaddrinfo_handler, NULL); in main()
78 …rinfo(resolve, &q1, argc >= 2 ? argv[1] : "www.heise.de", NULL, &hints, getaddrinfo_handler, NULL); in main()
Dsd-resolve.c94 sd_resolve_getaddrinfo_handler_t getaddrinfo_handler; member
948 q->getaddrinfo_handler = callback; in resolve_getaddrinfo_with_destroy_callback()
1006 assert(q->getaddrinfo_handler); in getaddrinfo_done()
1011 return q->getaddrinfo_handler(q, q->ret, q->addrinfo, q->userdata); in getaddrinfo_done()