netdb.h File Reference

Go to the source code of this file.

Defines

#define _NETDB_H_
#define NETDB_INTERNAL   -1
#define NETDB_SUCCESS   0
#define HOST_NOT_FOUND   1
#define TRY_AGAIN   2
#define NO_RECOVERY   3
#define NO_DATA   4
#define NO_ADDRESS   NO_DATA

Functions

__END_DECLS void NutDnsConfig2 (u_char *hostname, u_char *domain, u_long pdnsip, u_long sdnsip)
 Set DNS configuration.
void NutDnsGetConfig2 (char **hostname, char **domain, u_long *pdnsip, u_long *sdnsip)
void NutDnsConfig (CONST u_char *hostname, CONST u_char *domain, u_long dnsip)
u_long NutDnsGetHostByName (CONST u_char *hostname)
u_long NutDnsGetMxByDomain (CONST u_char *hostname)


Define Documentation

#define _NETDB_H_

Definition at line 126 of file netdb.h.

#define NETDB_INTERNAL   -1

Definition at line 134 of file netdb.h.

#define NETDB_SUCCESS   0

Definition at line 135 of file netdb.h.

#define HOST_NOT_FOUND   1

Definition at line 136 of file netdb.h.

#define TRY_AGAIN   2

Definition at line 137 of file netdb.h.

#define NO_RECOVERY   3

Definition at line 138 of file netdb.h.

#define NO_DATA   4

Definition at line 139 of file netdb.h.

#define NO_ADDRESS   NO_DATA

Definition at line 140 of file netdb.h.


Function Documentation

void NutDnsConfig ( CONST u_char hostname,
CONST u_char domain,
u_long  dnsip 
)

Examples:
inetq/inetq.c.

Referenced by main().


© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/