Searched defs:getnameinfo_handler (Results 1 - 2 of 2) sorted by relevance

/systemd/src/libsystemd/sd-resolve/
H A Dtest-resolve.c58 static int getnameinfo_handler(sd_resolve_query *q, int ret, const char *host, const char *serv, void *userdata) { function
98 r = sd_resolve_getnameinfo(resolve, &q2, (struct sockaddr*) &sa, sizeof(sa), 0, SD_RESOLVE_GET_BOTH, getnameinfo_handler, NULL);
H A Dsd-resolve.c108 sd_resolve_getnameinfo_handler_t getnameinfo_handler; member in union:sd_resolve_query::__anon162
1034 q->getnameinfo_handler = callback;
1069 assert(q->getnameinfo_handler);
1074 return q->getnameinfo_handler(q, q->ret, q->host, q->serv, q->userdata);

Completed in 29 milliseconds