AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database

Declaration for 

dn_comp from NetLib:h.resolv

(#define)

#define     dn_comp          __dn_comp



(Function prototype)
/*
* Compress domain name 'exp_dn' into 'comp_dn'.
* Return the size of the compressed name or -1.
* 'length' is the size of the array pointed to by 'comp_dn'.
* 'dnptrs' is a list of pointers to previous compressed names. dnptrs[0]
* is a pointer to the beginning of the message. The list ends with NULL.
* 'lastdnptr' is a pointer to the end of the arrary pointed to
* by 'dnptrs'. Side effect is to update the list of pointers for
* labels inserted into the message as we compress the name.
* If 'dnptr' is NULL, we don't try to compress names. If 'lastdnptr'
* is NULL, we don't update the list.
*/

extern int dn_comp (const char /*exp_dn*/, u_char /*comp_dn*/, int /*length*/,
     u_char */*dnptrs*/, u_char */*lastdnptr*/);



(Function prototype)

extern int          dn_comp(const char *, u_char *, int,
                    u_char **, u_char **);



Open original source file

See header files's help page


[sh-index] Back to list of manuals