Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions | Variables
netdb.h File Reference
#include <sys/cdefs.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  hostent
struct  servent
struct  protoent

Defines

#define _PATH_HEQUIV   "/etc/hosts.equiv"
#define _PATH_HOSTS   "/etc/hosts"
#define _PATH_NETWORKS   "/etc/networks"
#define _PATH_PROTOCOLS   "/etc/protocols"
#define _PATH_SERVICES   "/etc/services"
#define h_addr   h_addr_list[0] /* address, for backward compatiblity */
#define HOST_NOT_FOUND   1 /* Authoritative Answer Host not found */
#define TRY_AGAIN   2 /* Non-Authoritive Host not found, or SERVERFAIL */
#define NO_RECOVERY   3 /* Non recoverable errors, FORMERR, REFUSED, NOTIMP */
#define NO_DATA   4 /* Valid name, no data record of requested type */
#define NO_ADDRESS   NO_DATA /* no address, look for MX record */

Functions

__BEGIN_DECLS void endhostent __P ((void))
struct hostent *gethostbyaddr __P ((const void *, size_t, int))
struct hostent *gethostbyname __P ((const char *))
struct protoent *getprotobynumber __P ((int))
struct servent *getservbyname __P ((const char *, const char *))
struct servent *getservbyport __P ((int, const char *))

Variables

int h_errno

Class Documentation

struct hostent

Definition at line 85 of file macsocket.h.

Collaboration diagram for hostent:
Class Members
char ** h_addr_list
int h_addrtype
char ** h_aliases
int h_length
char * h_name
struct servent

Definition at line 81 of file netdb.h.

Collaboration diagram for servent:
Class Members
char ** s_aliases
char * s_name
int s_port
char * s_proto
struct protoent

Definition at line 203 of file _beos.h.

Collaboration diagram for protoent:
Class Members
char ** p_aliases
char * p_name
int p_proto

Define Documentation

#define _PATH_HEQUIV   "/etc/hosts.equiv"

Definition at line 61 of file netdb.h.

#define _PATH_HOSTS   "/etc/hosts"

Definition at line 62 of file netdb.h.

#define _PATH_NETWORKS   "/etc/networks"

Definition at line 63 of file netdb.h.

#define _PATH_PROTOCOLS   "/etc/protocols"

Definition at line 64 of file netdb.h.

#define _PATH_SERVICES   "/etc/services"

Definition at line 65 of file netdb.h.

#define h_addr   h_addr_list[0] /* address, for backward compatiblity */

Definition at line 78 of file netdb.h.

#define HOST_NOT_FOUND   1 /* Authoritative Answer Host not found */

Definition at line 101 of file netdb.h.

#define NO_ADDRESS   NO_DATA /* no address, look for MX record */

Definition at line 105 of file netdb.h.

#define NO_DATA   4 /* Valid name, no data record of requested type */

Definition at line 104 of file netdb.h.

#define NO_RECOVERY   3 /* Non recoverable errors, FORMERR, REFUSED, NOTIMP */

Definition at line 103 of file netdb.h.

#define TRY_AGAIN   2 /* Non-Authoritive Host not found, or SERVERFAIL */

Definition at line 102 of file netdb.h.


Function Documentation

pid_t vfork __P ( (void ) [read]
struct hostent* gethostbyaddr __P ( (const void *, size_t, int ) [read]
struct hostent* gethostbyname __P ( (const char *)  ) [read]
void sethostid __P ( (int ) [read]
int symlink __P ( (const char *, const char *)  ) [read]
struct servent* getservbyport __P ( (int, const char *)  ) [read]

Variable Documentation