res_send_setqhook man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



RES_SEND_SETQHOOK(3C)					 RES_SEND_SETQHOOK(3C)

NAME
     res_send_setqhook, res_send_setrhook - interface to resolver hooks

SYNOPSIS
     int res_send_setqhook(char *proc);

     int res_send_setrhook(char *proc);

DESCRIPTION
     res_send_setqhook , ( res_send_setrhook ) allow for a function hook to be
     implemented at the beginning (end) of the resolution query process,
     res_send(3).  The hook function takes the form:

     res_sendhookact proc(struct sockaddr_in **nsap, char **buf, int *buflen,
     char *ans, int anssiz, int *resplen)

     where res_sendhookact is a typedef: (see /usr/include/resolv.h)

     typedef enum { res_goahead, res_nextns, res_modified, res_done, res_error
     } res_sendhookact;

     The resolver library will walk through the current list of name servers,
     as argument nsap.	buf, buflen, ans and anssiz are the four arguments
     found in res_send(3) , and resplen is the length of the reply message
     (returned by res_send.)

FILES
     /usr/include/resolv.h

SEE ALSO
     res_send(3), resolver(4).

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net