#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/nameser.h>
#include <resolv.h>
int dn_find(unsigned char *expanded_domain_name,
unsigned char *message_pointer,
unsigned char **domain_name_pointers,
unsigned char **last_domain_name)
The dn_find() function is used to search for an expanded domain name in a list of compressed domain names.
None.
dn_find() returns an integer. Possible values are:
When the dn_find() function fails, it does not set specific errno or h_errno values. An error occurs under the following conditions:
| Top | UNIX-Type APIs | APIs by category |