Home | History | Annotate | Download | only in c-ares

Lines Matching defs:arg

63   void *arg;
71 static void host_callback(void *arg, int status, int timeouts,
76 ares_host_callback callback, void *arg);
88 ares_host_callback callback, void *arg)
100 callback(arg, ARES_ENOTIMP, 0, NULL);
104 if (fake_hostent(name, family, callback, arg))
111 callback(arg, ARES_ENOMEM, 0, NULL);
120 callback(arg, ARES_ENOMEM, 0, NULL);
124 hquery->arg = arg;
178 static void host_callback(void *arg, int status, int timeouts,
181 struct host_query *hquery = (struct host_query *) arg;
230 hquery->callback(hquery->arg, status, hquery->timeouts, host);
241 ares_host_callback callback, void *arg)
296 callback(arg, ARES_ENOMEM, 0, NULL);
305 callback(arg, ARES_SUCCESS, 0, &hostent);