prnetdb.h File Reference


Classes

struct  PRHostEnt
struct  PRProtoEnt

Typedefs

typedef struct PRAddrInfo PRAddrInfo

Enumerations

enum  PRNetAddrValue { PR_IpAddrNull, PR_IpAddrAny, PR_IpAddrLoopback, PR_IpAddrV4Mapped }

Functions

PR_BEGIN_EXTERN_C NSPR_API (PRStatus) PR_StringToNetAddr(const char *string
 NSPR_API (PRIntn) PR_EnumerateHostEnt(PRIntn enumIndex
 NSPR_API (PRBool) PR_IsNetAddrType(const PRNetAddr *addr
 NSPR_API (void) PR_ConvertIPv4AddrToIPv6(PRUint32 v4addr
 Prototypes for machine dependent function implementations.
 NSPR_API (PRAddrInfo *) PR_GetAddrInfoByName(const char *hostname
 NSPR_API (void *) PR_EnumerateAddrInfo(void *enumPtr
 NSPR_API (const char *) PR_GetCanonNameFromAddrInfo(const PRAddrInfo *addrInfo)
 NSPR_API (PRUint16) PR_ntohs(PRUint16)
 NSPR_API (PRUint32) PR_ntohl(PRUint32)
 NSPR_API (PRUint64) PR_ntohll(PRUint64)

Variables

PR_BEGIN_EXTERN_C PRNetAddraddr
charstring
char PRUint32 size
charbuf
char PRIntn bufsize
char PRIntn PRHostEnthostentry
PRUint16 af
PRUint16 PRIntn flags
const PRHostEnthostEnt
const PRHostEnt PRUint16 port
const PRHostEnt PRUint16
PRNetAddr
address
PRNetAddrValue val
PRIPv6Addrv6addr
charbuffer
char PRInt32 PRProtoEntresult
const PRAddrInfoaddrInfo


Typedef Documentation

typedef struct PRAddrInfo PRAddrInfo


Enumeration Type Documentation

Enumerator:
PR_IpAddrNull 
PR_IpAddrAny 
PR_IpAddrLoopback 
PR_IpAddrV4Mapped 


Function Documentation

PR_BEGIN_EXTERN_C NSPR_API ( PRStatus   )  const

NSPR_API ( PRIntn   ) 

NSPR_API ( PRBool   )  const

NSPR_API ( void   ) 

(Too bad NSPR's MD system blows so much that we have to reiterate every stinking thing we implement here in our MD header file.)

NSPR_API ( PRAddrInfo  )  const

NSPR_API ( void *   ) 

NSPR_API ( const char  )  const

NSPR_API ( PRUint16   ) 

NSPR_API ( PRUint32   )  [read]

NSPR_API ( PRUint64   ) 


Variable Documentation

char PRInt32 bufsize

PRUint16 PRIntn flags


Generated Mozilla by doxygen 1.5.6