Lines Matching refs:__P

135 #ifndef __P
136 #define __P(x) x macro
142 typedef res_sendhookact (*res_send_qhook)__P((struct sockaddr * const *ns,
149 typedef res_sendhookact (*res_send_rhook)__P((const struct sockaddr *ns,
325 void fp_nquery __P((const uchar_t *, int, FILE *));
326 void fp_query __P((const uchar_t *, FILE *));
327 const char *hostalias __P((const char *));
328 void p_query __P((const uchar_t *));
329 void res_close __P((void));
330 int res_init __P((void));
331 int res_isourserver __P((const struct sockaddr_in *));
332 int res_mkquery __P((int, const char *, int, int, const uchar_t *,
334 int res_query __P((const char *, int, int, uchar_t *, int));
335 int res_querydomain __P((const char *, const char *, int, int,
337 int res_search __P((const char *, int, int, uchar_t *, int));
338 int res_send __P((const uchar_t *, int, uchar_t *, int));
339 int res_sendsigned __P((const uchar_t *, int, ns_tsig_key *,
349 int res_hnok __P((const char *));
350 int res_ownok __P((const char *));
351 int res_mailok __P((const char *));
352 int res_dnok __P((const char *));
353 int sym_ston __P((const struct res_sym *, const char *, int *));
354 const char *sym_ntos __P((const struct res_sym *, int, int *));
355 const char *sym_ntop __P((const struct res_sym *, int, int *));
356 int b64_ntop __P((uchar_t const *, size_t, char *, size_t));
357 int b64_pton __P((char const *, uchar_t *, size_t));
358 int loc_aton __P((const char *ascii, uchar_t *binary));
359 const char *loc_ntoa __P((const uchar_t *binary, char *ascii));
360 int dn_skipname __P((const uchar_t *, const uchar_t *));
361 void putlong __P((unsigned int, uchar_t *));
362 void putshort __P((unsigned short, uchar_t *));
363 const char *p_class __P((int));
364 const char *p_time __P((unsigned int));
365 const char *p_type __P((int));
366 const char *p_rcode __P((int));
367 const char *p_sockun __P((union res_sockaddr_union, char *, size_t));
368 const uchar_t *p_cdnname __P((const uchar_t *, const uchar_t *, int,
370 const uchar_t *p_cdname __P((const uchar_t *, const uchar_t *, FILE *));
371 const uchar_t *p_fqnname __P((const uchar_t *cp, const uchar_t *msg,
373 const uchar_t *p_fqname __P((const uchar_t *, const uchar_t *, FILE *));
374 const char *p_option __P((uint_t option));
375 char *p_secstodate __P((uint_t));
376 int dn_count_labels __P((const char *));
377 int dn_comp __P((const char *, uchar_t *, int,
379 int dn_expand __P((const uchar_t *, const uchar_t *,
381 void res_rndinit __P((res_state));
382 uint_t res_randomid __P((void));
383 uint_t res_nrandomid __P((res_state));
384 int res_nameinquery __P((const char *, int, int,
386 int res_queriesmatch __P((const uchar_t *, const uchar_t *,
388 const char *p_section __P((int section, int opcode));
392 int res_ninit __P((res_state));
393 int res_nisourserver __P((const res_state,
395 void fp_resstat __P((const res_state, FILE *));
396 void res_pquery __P((const res_state, const uchar_t *, int, FILE *));
397 const char *res_hostalias __P((const res_state, const char *,
399 int res_nquery __P((res_state,
401 int res_nsearch __P((res_state, const char *, int,
403 int res_nquerydomain __P((res_state,
406 int res_nmkquery __P((res_state,
409 int res_nsend __P((res_state, const uchar_t *, int, uchar_t *,
411 int res_nsendsigned __P((res_state, const uchar_t *, int,
413 int res_findzonecut __P((res_state, const char *, ns_class, int,
415 int res_findzonecut2 __P((res_state, const char *, ns_class, int,
418 void res_nclose __P((res_state));
419 int res_nopt __P((res_state, int, uchar_t *, int, int));
420 int res_nopt_rdata __P((res_state, int, uchar_t *, int, uchar_t *,
422 void res_send_setqhook __P((res_send_qhook hook));
423 void res_send_setrhook __P((res_send_rhook hook));
424 int __res_vinit __P((res_state, int));
425 void res_destroyservicelist __P((void));
426 const char *res_servicename __P((uint16_t port, const char *proto));
427 const char *res_protocolname __P((int num));
428 void res_destroyprotolist __P((void));
429 void res_buildprotolist __P((void));
430 const char *res_get_nibblesuffix __P((res_state));
431 const char *res_get_nibblesuffix2 __P((res_state));
432 void res_ndestroy __P((res_state));
433 uint16_t res_nametoclass __P((const char *buf, int *success));
434 uint16_t res_nametotype __P((const char *buf, int *success));
435 void res_setservers __P((res_state,
437 int res_getservers __P((res_state,