Searched defs:serv (Results 1 - 2 of 2) sorted by relevance
/systemd/src/libsystemd/sd-resolve/ |
H A D | test-resolve.c | 58 static int getnameinfo_handler(sd_resolve_query *q, int ret, const char *host, const char *serv, void *userdata) { argument 66 printf("Host: %s -- Serv: %s\n", strna(host), strna(serv));
|
H A D | sd-resolve.c | 104 char *serv, *host; member in struct:sd_resolve_query 287 const char *serv, 305 sl = serv ? strlen(serv)+1 : 0; 314 iov[2] = (struct iovec) { .iov_base = (void*) serv, .iov_len = sl }; 830 q->serv = strndup((const char*) ni_resp + sizeof(NameInfoResponse) + ni_resp->hostlen, ni_resp->servlen-1); 831 if (!q->serv) { 1074 return q->getnameinfo_handler(q, q->ret, q->host, q->serv, q->userdata); 1132 free(q->serv); 282 send_nameinfo_reply( int out_fd, unsigned id, int ret, const char *host, const char *serv, int _errno, int _h_errno) argument
|
Completed in 13 milliseconds