Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Enumerations | Functions | Variables
prio.h File Reference
#include "prlong.h"
#include "prtime.h"
#include "prinrval.h"
#include "prinet.h"

Go to the source code of this file.

Classes

struct  PRFileDesc
struct  PRIPv6Addr
union  PRNetAddr
struct  PRLinger
struct  PRMcastRequest
struct  PRSocketOptionData
struct  PRIOVec
struct  PRIOMethods
struct  PRFileInfo
struct  PRFileInfo64
struct  PRDirEntry
struct  PRSendFileData
struct  PRPollDesc
union  PRIPv6Addr._S6_un
struct  PRNetAddr.raw
struct  PRNetAddr.inet
struct  PRNetAddr.ipv6
union  PRSocketOptionData.value

Defines

#define PR_AF_INET   AF_INET
#define PR_AF_LOCAL   AF_UNIX
#define PR_INADDR_ANY   INADDR_ANY
#define PR_INADDR_LOOPBACK   INADDR_LOOPBACK
#define PR_INADDR_BROADCAST   INADDR_BROADCAST
#define PR_AF_INET6   100
#define PR_AF_UNSPEC   0
#define pr_s6_addr   _S6_un._S6_u8
#define pr_s6_addr16   _S6_un._S6_u16
#define pr_s6_addr32   _S6_un._S6_u32
#define pr_s6_addr64   _S6_un._S6_u64
#define PR_STDIN   PR_GetSpecialFD(PR_StandardInput)
#define PR_STDOUT   PR_GetSpecialFD(PR_StandardOutput)
#define PR_STDERR   PR_GetSpecialFD(PR_StandardError)
#define PR_IO_LAYER_HEAD   (PRDescIdentity)-3
#define PR_INVALID_IO_LAYER   (PRDescIdentity)-1
#define PR_TOP_IO_LAYER   (PRDescIdentity)-2
#define PR_NSPR_IO_LAYER   (PRDescIdentity)0
#define PR_RDONLY   0x01
#define PR_WRONLY   0x02
#define PR_RDWR   0x04
#define PR_CREATE_FILE   0x08
#define PR_APPEND   0x10
#define PR_TRUNCATE   0x20
#define PR_SYNC   0x40
#define PR_EXCL   0x80
#define PR_IRWXU   00700 /* read, write, execute/search by owner */
#define PR_IRUSR   00400 /* read permission, owner */
#define PR_IWUSR   00200 /* write permission, owner */
#define PR_IXUSR   00100 /* execute/search permission, owner */
#define PR_IRWXG   00070 /* read, write, execute/search by group */
#define PR_IRGRP   00040 /* read permission, group */
#define PR_IWGRP   00020 /* write permission, group */
#define PR_IXGRP   00010 /* execute/search permission, group */
#define PR_IRWXO   00007 /* read, write, execute/search by others */
#define PR_IROTH   00004 /* read permission, others */
#define PR_IWOTH   00002 /* write permission, others */
#define PR_IXOTH   00001 /* execute/search permission, others */
#define PR_MAX_IOVECTOR_SIZE   16 /* 'iov_size' must be <= */
#define PR_DirName(dirEntry)   (dirEntry->name)
#define PR_MSG_PEEK   0x2
#define PR_ACCEPT_READ_BUF_OVERHEAD   (32+(2*sizeof(PRNetAddr)))
#define PR_POLL_READ   0x1
#define PR_POLL_WRITE   0x2
#define PR_POLL_EXCEPT   0x4
#define PR_POLL_ERR   0x8 /* only in out_flags */
#define PR_POLL_NVAL   0x10 /* only in out_flags when fd is bad */
#define PR_POLL_HUP   0x20 /* only in out_flags */

Typedefs

typedef
typedefPR_BEGIN_EXTERN_C
struct 
PRDir
typedef struct PRDirEntry
typedef struct PRFileDesc
typedef struct PRFileInfo
typedef struct PRFileInfo64
typedef union PRNetAddr
typedef struct PRIOMethods
typedef struct PRPollDesc
typedef struct PRFilePrivate
typedef struct PRSendFileData
typedef PRIntn PRDescIdentity
typedef enum PRTransmitFileFlags PRTransmitFileFlags
typedef struct PRIPv6Addr
typedef enum PRSockOption PRSockOption
typedef struct PRLinger PRLinger
typedef struct PRMcastRequest PRMcastRequest
typedef struct PRSocketOptionData PRSocketOptionData
typedef struct PRIOVec PRIOVec
typedef enum PRDescType PRDescType
typedef enum PRSeekWhence PRSeekWhence
typedef PRStatus(PR_CALLBACKPRCloseFN )(PRFileDesc *fd)
typedef PRInt32(PR_CALLBACKPRReadFN )(PRFileDesc *fd, void *buf, PRInt32 amount)
typedef PRInt32(PR_CALLBACKPRWriteFN )(PRFileDesc *fd, const void *buf, PRInt32 amount)
typedef PRInt32(PR_CALLBACKPRAvailableFN )(PRFileDesc *fd)
typedef PRInt64(PR_CALLBACKPRAvailable64FN )(PRFileDesc *fd)
typedef PRStatus(PR_CALLBACKPRFsyncFN )(PRFileDesc *fd)
typedef PROffset32(PR_CALLBACKPRSeekFN )(PRFileDesc *fd, PROffset32 offset, PRSeekWhence how)
typedef PROffset64(PR_CALLBACKPRSeek64FN )(PRFileDesc *fd, PROffset64 offset, PRSeekWhence how)
typedef PRStatus(PR_CALLBACKPRFileInfoFN )(PRFileDesc *fd, PRFileInfo *info)
typedef PRStatus(PR_CALLBACKPRFileInfo64FN )(PRFileDesc *fd, PRFileInfo64 *info)
typedef PRInt32(PR_CALLBACKPRWritevFN )(PRFileDesc *fd, const PRIOVec *iov, PRInt32 iov_size, PRIntervalTime timeout)
typedef PRStatus(PR_CALLBACKPRConnectFN )(PRFileDesc *fd, const PRNetAddr *addr, PRIntervalTime timeout)
typedef PRFileDesc *PR_CALLBACKPRAcceptFN (PRFileDesc *fd, PRNetAddr *addr, PRIntervalTime timeout)
typedef PRStatus(PR_CALLBACKPRBindFN )(PRFileDesc *fd, const PRNetAddr *addr)
typedef PRStatus(PR_CALLBACKPRListenFN )(PRFileDesc *fd, PRIntn backlog)
typedef PRStatus(PR_CALLBACKPRShutdownFN )(PRFileDesc *fd, PRIntn how)
typedef PRInt32(PR_CALLBACKPRRecvFN )(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRIntervalTime timeout)
typedef const voidbuf
typedef const void PRInt32 amount
typedef const void PRInt32 PRIntn flags
typedef const void PRInt32
PRIntn PRIntervalTime 
timeout
typedef PRInt32(PR_CALLBACKPRRecvfromFN )(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRNetAddr *addr, PRIntervalTime timeout)
typedef PRInt32(PR_CALLBACKPRSendtoFN )(PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, const PRNetAddr *addr, PRIntervalTime timeout)
typedef PRInt16(PR_CALLBACKPRPollFN )(PRFileDesc *fd, PRInt16 in_flags, PRInt16 *out_flags)
typedef PRInt32(PR_CALLBACKPRAcceptreadFN )(PRFileDesc *sd, PRFileDesc **nd, PRNetAddr **raddr, void *buf, PRInt32 amount, PRIntervalTime t)
typedef PRInt32(PR_CALLBACKPRTransmitfileFN )(PRFileDesc *sd, PRFileDesc *fd, const void *headers, PRInt32 hlen, PRTransmitFileFlags flags, PRIntervalTime t)
typedef PRStatus(PR_CALLBACKPRGetsocknameFN )(PRFileDesc *fd, PRNetAddr *addr)
typedef PRStatus(PR_CALLBACKPRGetpeernameFN )(PRFileDesc *fd, PRNetAddr *addr)
typedef PRStatus(PR_CALLBACKPRGetsocketoptionFN )(PRFileDesc *fd, PRSocketOptionData *data)
typedef PRStatus(PR_CALLBACKPRSetsocketoptionFN )(PRFileDesc *fd, const PRSocketOptionData *data)
typedef PRInt32(PR_CALLBACKPRSendfileFN )(PRFileDesc *networkSocket, PRSendFileData *sendData, PRTransmitFileFlags flags, PRIntervalTime timeout)
typedef PRStatus(PR_CALLBACKPRConnectcontinueFN )(PRFileDesc *fd, PRInt16 out_flags)
typedef PRIntn(PR_CALLBACKPRReservedFN )(PRFileDesc *fd)
typedef enum PRSpecialFD PRSpecialFD
typedef enum PRFileType PRFileType
typedef enum PRAccessHow PRAccessHow
typedef enum PRDirFlags PRDirFlags
typedef enum PRShutdownHow PRShutdownHow
typedef struct PRFileMap
typedef enum PRFileMapProtect PRFileMapProtect

Enumerations

enum  PRTransmitFileFlags { PR_TRANSMITFILE_KEEP_OPEN = 0, PR_TRANSMITFILE_CLOSE_SOCKET = 1 }
enum  PRSockOption {
  PR_SockOpt_Nonblocking, PR_SockOpt_Linger, PR_SockOpt_Reuseaddr, PR_SockOpt_Keepalive,
  PR_SockOpt_RecvBufferSize, PR_SockOpt_SendBufferSize, PR_SockOpt_IpTimeToLive, PR_SockOpt_IpTypeOfService,
  PR_SockOpt_AddMember, PR_SockOpt_DropMember, PR_SockOpt_McastInterface, PR_SockOpt_McastTimeToLive,
  PR_SockOpt_McastLoopback, PR_SockOpt_NoDelay, PR_SockOpt_MaxSegment, PR_SockOpt_Broadcast,
  PR_SockOpt_Last
}
enum  PRDescType {
  PR_DESC_FILE = 1, PR_DESC_SOCKET_TCP = 2, PR_DESC_SOCKET_UDP = 3, PR_DESC_LAYERED = 4,
  PR_DESC_PIPE = 5
}
enum  PRSeekWhence { PR_SEEK_SET = 0, PR_SEEK_CUR = 1, PR_SEEK_END = 2 }
enum  PRSpecialFD { PR_StandardInput, PR_StandardOutput, PR_StandardError }
enum  PRFileType { PR_FILE_FILE = 1, PR_FILE_DIRECTORY = 2, PR_FILE_OTHER = 3 }
enum  PRAccessHow { PR_ACCESS_EXISTS = 1, PR_ACCESS_WRITE_OK = 2, PR_ACCESS_READ_OK = 3 }
enum  PRDirFlags {
  PR_SKIP_NONE = 0x0, PR_SKIP_DOT = 0x1, PR_SKIP_DOT_DOT = 0x2, PR_SKIP_BOTH = 0x3,
  PR_SKIP_HIDDEN = 0x4
}
enum  PRShutdownHow { PR_SHUTDOWN_RCV = 0, PR_SHUTDOWN_SEND = 1, PR_SHUTDOWN_BOTH = 2 }
enum  PRFileMapProtect { PR_PROT_READONLY, PR_PROT_READWRITE, PR_PROT_WRITECOPY }

Functions

 NSPR_API (PRDescType) PR_GetDescType(PRFileDesc *file)
typedef PRInt32 (PR_CALLBACK *PRSendFN)(PRFileDesc *fd
 NSPR_API (PRFileDesc *) PR_GetSpecialFD(PRSpecialFD id)
 NSPR_API (PRDescIdentity) PR_GetUniqueIdentity(const char *layer_name)
 NSPR_API (const char *) PR_GetNameForIdentity(PRDescIdentity ident)
 NSPR_API (const PRIOMethods *) PR_GetDefaultIOMethods(void)
 NSPR_API (PRStatus) PR_PushIOLayer(PRFileDesc *fd_stack
 NSPR_API (PRInt32) PR_Read(PRFileDesc *fd
 NSPR_API (PROffset64) PR_Seek64(PRFileDesc *fd
 NSPR_API (PRDir *) PR_OpenDir(const char *name)
 NSPR_API (PRDirEntry *) PR_ReadDir(PRDir *dir
 NSPR_API (PRFileMap *) PR_CreateFileMap(PRFileDesc *fd
 NSPR_API (void *) PR_MemMap(PRFileMap *fmap

Variables

PRDescIdentity id
const PRIOMethodsmethods
PRDescIdentity PRFileDesclayer
PRIntn PRIntn mode
const PRIOVeciov
const PRIOVec PRInt32 iov_size
PRFileInfoinfo
const char * to
PRAccessHow how
PROffset32 offset
PROffset32 PRSeekWhence whence
const PRNetAddraddr
PRInt16 out_flags
PRIntn backlog
PRFileDescsourceFile
PRFileDesc const voidheaders
PRFileDesc const void PRInt32 hlen
PRSendFileDatasendData
PRFileDesc ** acceptedSock
PRFileDesc PRNetAddr ** peerAddr
PRSocketOptionDatadata
PRBool inheritable
PRInt64 size
PRInt64 PRFileMapProtect prot
PROffset64 PRUint32 len
PRFileDesc ** writePipe
PRIntn npds

Class Documentation

struct PRIPv6Addr

Definition at line 159 of file prio.h.

Class Members
union PRIPv6Addr _S6_un
union PRNetAddr

Definition at line 174 of file prio.h.

Class Members
struct PRNetAddr inet
struct PRNetAddr ipv6
struct PRNetAddr raw
struct PRLinger

Definition at line 246 of file prio.h.

Class Members
PRIntervalTime linger
PRBool polarity
struct PRMcastRequest

Definition at line 251 of file prio.h.

Class Members
PRNetAddr ifaddr
PRNetAddr mcaddr
struct PRSocketOptionData

Definition at line 256 of file prio.h.

Class Members
PRSockOption option
union PRSocketOptionData value
struct PRIOVec

Definition at line 288 of file prio.h.

Collaboration diagram for PRIOVec:
Class Members
char * iov_base
int iov_len
struct PRIOMethods

Definition at line 384 of file prio.h.

Collaboration diagram for PRIOMethods:
Class Members
PRAcceptFN accept
PRAcceptreadFN acceptread
PRAvailableFN available
PRAvailable64FN available64
PRBindFN bind
PRCloseFN close
PRConnectFN connect
PRConnectcontinueFN connectcontinue
PRDescType file_type
PRFileInfoFN fileInfo
PRFileInfo64FN fileInfo64
PRFsyncFN fsync
PRGetpeernameFN getpeername
PRGetsocketoptionFN getsocketoption
PRGetsocknameFN getsockname
PRListenFN listen
PRPollFN poll
PRReadFN read
PRRecvFN recv
PRRecvfromFN recvfrom
PRReservedFN reserved_fn_0
PRReservedFN reserved_fn_1
PRReservedFN reserved_fn_2
PRReservedFN reserved_fn_3
PRReservedFN reserved_fn_5
PRReservedFN reserved_fn_6
PRSeekFN seek
PRSeek64FN seek64
PRSendFN send
PRSendfileFN sendfile
PRSendtoFN sendto
PRSetsocketoptionFN setsocketoption
PRShutdownFN shutdown
PRTransmitfileFN transmitfile
PRWriteFN write
PRWritevFN writev
struct PRFileInfo

Definition at line 822 of file prio.h.

Collaboration diagram for PRFileInfo:
Class Members
PRTime creationTime
PRTime modifyTime
PROffset32 size
PRFileType type
struct PRFileInfo64

Definition at line 829 of file prio.h.

Collaboration diagram for PRFileInfo64:
Class Members
PRTime creationTime
PRTime modifyTime
PROffset64 size
PRFileType type
struct PRDirEntry

Definition at line 1014 of file prio.h.

Class Members
const char * name
struct PRSendFileData

Definition at line 1653 of file prio.h.

Collaboration diagram for PRSendFileData:
Class Members
PRFileDesc * fd
PRSize file_nbytes
PRUint32 file_offset
const void * header
PRInt32 hlen
PRInt32 tlen
const void * trailer
struct PRPollDesc

Definition at line 1904 of file prio.h.

Collaboration diagram for PRPollDesc:
Class Members
PRFileDesc * fd
PRInt16 in_flags
PRInt16 out_flags
union PRIPv6Addr._S6_un

Definition at line 160 of file prio.h.

Class Members
PRUint16 _S6_u16
PRUint32 _S6_u32
PRUint64 _S6_u64
PRUint8 _S6_u8
struct PRNetAddr.raw

Definition at line 175 of file prio.h.

Class Members
char data
PRUint16 family
struct PRNetAddr.inet

Definition at line 183 of file prio.h.

Class Members
PRUint16 family
PRUint32 ip
char pad
PRUint16 port
struct PRNetAddr.ipv6

Definition at line 193 of file prio.h.

Class Members
PRUint16 family
PRUint32 flowinfo
PRIPv6Addr ip
PRUint16 port
PRUint32 scope_id
union PRSocketOptionData.value

Definition at line 259 of file prio.h.

Class Members
PRMcastRequest add_member
PRBool broadcast
PRMcastRequest drop_member
PRUintn ip_ttl
PRBool keep_alive
PRLinger linger
PRSize max_segment
PRNetAddr mcast_if
PRBool mcast_loopback
PRUintn mcast_ttl
PRBool no_delay
PRBool non_blocking
PRSize recv_buffer_size
PRBool reuse_addr
PRSize send_buffer_size
PRUintn tos

Define Documentation

Definition at line 1718 of file prio.h.

Definition at line 128 of file prio.h.

#define PR_AF_INET6   100

Definition at line 142 of file prio.h.

Definition at line 129 of file prio.h.

Definition at line 146 of file prio.h.

#define PR_APPEND   0x10

Definition at line 617 of file prio.h.

#define PR_CREATE_FILE   0x08

Definition at line 616 of file prio.h.

#define PR_DirName (   dirEntry)    (dirEntry->name)

Definition at line 1026 of file prio.h.

#define PR_EXCL   0x80

Definition at line 620 of file prio.h.

Definition at line 130 of file prio.h.

Definition at line 132 of file prio.h.

Definition at line 131 of file prio.h.

Definition at line 488 of file prio.h.

Definition at line 487 of file prio.h.

#define PR_IRGRP   00040 /* read permission, group */

Definition at line 658 of file prio.h.

#define PR_IROTH   00004 /* read permission, others */

Definition at line 662 of file prio.h.

#define PR_IRUSR   00400 /* read permission, owner */

Definition at line 654 of file prio.h.

#define PR_IRWXG   00070 /* read, write, execute/search by group */

Definition at line 657 of file prio.h.

#define PR_IRWXO   00007 /* read, write, execute/search by others */

Definition at line 661 of file prio.h.

#define PR_IRWXU   00700 /* read, write, execute/search by owner */

Definition at line 653 of file prio.h.

#define PR_IWGRP   00020 /* write permission, group */

Definition at line 659 of file prio.h.

#define PR_IWOTH   00002 /* write permission, others */

Definition at line 663 of file prio.h.

#define PR_IWUSR   00200 /* write permission, owner */

Definition at line 655 of file prio.h.

#define PR_IXGRP   00010 /* execute/search permission, group */

Definition at line 660 of file prio.h.

#define PR_IXOTH   00001 /* execute/search permission, others */

Definition at line 664 of file prio.h.

#define PR_IXUSR   00100 /* execute/search permission, owner */

Definition at line 656 of file prio.h.

#define PR_MAX_IOVECTOR_SIZE   16 /* 'iov_size' must be <= */

Definition at line 788 of file prio.h.

#define PR_MSG_PEEK   0x2

Definition at line 1473 of file prio.h.

Definition at line 490 of file prio.h.

#define PR_POLL_ERR   0x8 /* only in out_flags */

Definition at line 1930 of file prio.h.

Definition at line 1929 of file prio.h.

#define PR_POLL_HUP   0x20 /* only in out_flags */

Definition at line 1932 of file prio.h.

#define PR_POLL_NVAL   0x10 /* only in out_flags when fd is bad */

Definition at line 1931 of file prio.h.

#define PR_POLL_READ   0x1

Definition at line 1927 of file prio.h.

#define PR_POLL_WRITE   0x2

Definition at line 1928 of file prio.h.

#define PR_RDONLY   0x01

Definition at line 613 of file prio.h.

#define PR_RDWR   0x04

Definition at line 615 of file prio.h.

#define pr_s6_addr   _S6_un._S6_u8

Definition at line 167 of file prio.h.

#define pr_s6_addr16   _S6_un._S6_u16

Definition at line 168 of file prio.h.

#define pr_s6_addr32   _S6_un._S6_u32

Definition at line 169 of file prio.h.

#define pr_s6_addr64   _S6_un._S6_u64

Definition at line 170 of file prio.h.

#define PR_STDERR   PR_GetSpecialFD(PR_StandardError)

Definition at line 456 of file prio.h.

#define PR_STDIN   PR_GetSpecialFD(PR_StandardInput)

Definition at line 454 of file prio.h.

#define PR_STDOUT   PR_GetSpecialFD(PR_StandardOutput)

Definition at line 455 of file prio.h.

#define PR_SYNC   0x40

Definition at line 619 of file prio.h.

Definition at line 489 of file prio.h.

#define PR_TRUNCATE   0x20

Definition at line 618 of file prio.h.

#define PR_WRONLY   0x02

Definition at line 614 of file prio.h.


Typedef Documentation

Definition at line 355 of file prio.h.

Definition at line 355 of file prio.h.

Definition at line 355 of file prio.h.

Definition at line 346 of file prio.h.

Definition at line 365 of file prio.h.

typedef enum PRAccessHow PRAccessHow

Definition at line 335 of file prio.h.

Definition at line 334 of file prio.h.

Definition at line 348 of file prio.h.

Definition at line 331 of file prio.h.

Definition at line 380 of file prio.h.

Definition at line 344 of file prio.h.

typedef PRIntn PRDescIdentity

Definition at line 82 of file prio.h.

typedef enum PRDescType PRDescType
typedef typedefPR_BEGIN_EXTERN_C struct PRDir

Definition at line 56 of file prio.h.

typedef struct PRDirEntry

Definition at line 57 of file prio.h.

typedef enum PRDirFlags PRDirFlags
typedef struct PRFileDesc

Definition at line 62 of file prio.h.

typedef struct PRFileInfo

Definition at line 63 of file prio.h.

typedef struct PRFileInfo64

Definition at line 64 of file prio.h.

Definition at line 340 of file prio.h.

Definition at line 339 of file prio.h.

typedef struct PRFileMap

Definition at line 1851 of file prio.h.

typedef struct PRFilePrivate

Definition at line 68 of file prio.h.

typedef enum PRFileType PRFileType

Definition at line 336 of file prio.h.

Definition at line 372 of file prio.h.

Definition at line 373 of file prio.h.

Definition at line 371 of file prio.h.

typedef struct PRIOMethods

Definition at line 66 of file prio.h.

typedef struct PRIOVec PRIOVec
typedef struct PRIPv6Addr

Definition at line 172 of file prio.h.

typedef struct PRLinger PRLinger

Definition at line 349 of file prio.h.

typedef union PRNetAddr

Definition at line 65 of file prio.h.

typedef struct PRPollDesc

Definition at line 67 of file prio.h.

Definition at line 363 of file prio.h.

Definition at line 332 of file prio.h.

Definition at line 351 of file prio.h.

Definition at line 357 of file prio.h.

typedef PRIntn(PR_CALLBACK * PRReservedFN)(PRFileDesc *fd)

Definition at line 382 of file prio.h.

Definition at line 338 of file prio.h.

Definition at line 337 of file prio.h.

typedef enum PRSeekWhence PRSeekWhence
typedef struct PRSendFileData

Definition at line 69 of file prio.h.

Definition at line 377 of file prio.h.

Definition at line 360 of file prio.h.

Definition at line 375 of file prio.h.

Definition at line 350 of file prio.h.

typedef enum PRSockOption PRSockOption
typedef enum PRSpecialFD PRSpecialFD

Definition at line 368 of file prio.h.

Definition at line 333 of file prio.h.

Definition at line 341 of file prio.h.

Definition at line 355 of file prio.h.


Enumeration Type Documentation

Enumerator:
PR_ACCESS_EXISTS 
PR_ACCESS_WRITE_OK 
PR_ACCESS_READ_OK 

Definition at line 926 of file prio.h.

enum PRDescType
Enumerator:
PR_DESC_FILE 
PR_DESC_SOCKET_TCP 
PR_DESC_SOCKET_UDP 
PR_DESC_LAYERED 
PR_DESC_PIPE 

Definition at line 298 of file prio.h.

enum PRDirFlags
Enumerator:
PR_SKIP_NONE 
PR_SKIP_DOT 
PR_SKIP_DOT_DOT 
PR_SKIP_BOTH 
PR_SKIP_HIDDEN 

Definition at line 1081 of file prio.h.

Enumerator:
PR_PROT_READONLY 
PR_PROT_READWRITE 
PR_PROT_WRITECOPY 

Definition at line 1856 of file prio.h.

                              {
    PR_PROT_READONLY,     /* read only */
    PR_PROT_READWRITE,    /* readable, and write is shared */
    PR_PROT_WRITECOPY     /* readable, and write is private (copy-on-write) */
} PRFileMapProtect;
enum PRFileType
Enumerator:
PR_FILE_FILE 
PR_FILE_DIRECTORY 
PR_FILE_OTHER 

Definition at line 815 of file prio.h.

Enumerator:
PR_SEEK_SET 
PR_SEEK_CUR 
PR_SEEK_END 

Definition at line 307 of file prio.h.

Enumerator:
PR_SHUTDOWN_RCV 
PR_SHUTDOWN_SEND 
PR_SHUTDOWN_BOTH 

Definition at line 1435 of file prio.h.

{
    PR_SHUTDOWN_RCV = 0,      /* disallow further receives */
    PR_SHUTDOWN_SEND = 1,     /* disallow further sends */
    PR_SHUTDOWN_BOTH = 2      /* disallow further receives and sends */
} PRShutdownHow;
Enumerator:
PR_SockOpt_Nonblocking 
PR_SockOpt_Linger 
PR_SockOpt_Reuseaddr 
PR_SockOpt_Keepalive 
PR_SockOpt_RecvBufferSize 
PR_SockOpt_SendBufferSize 
PR_SockOpt_IpTimeToLive 
PR_SockOpt_IpTypeOfService 
PR_SockOpt_AddMember 
PR_SockOpt_DropMember 
PR_SockOpt_McastInterface 
PR_SockOpt_McastTimeToLive 
PR_SockOpt_McastLoopback 
PR_SockOpt_NoDelay 
PR_SockOpt_MaxSegment 
PR_SockOpt_Broadcast 
PR_SockOpt_Last 

Definition at line 222 of file prio.h.

{
    PR_SockOpt_Nonblocking,     /* nonblocking io */
    PR_SockOpt_Linger,          /* linger on close if data present */
    PR_SockOpt_Reuseaddr,       /* allow local address reuse */
    PR_SockOpt_Keepalive,       /* keep connections alive */
    PR_SockOpt_RecvBufferSize,  /* send buffer size */
    PR_SockOpt_SendBufferSize,  /* receive buffer size */

    PR_SockOpt_IpTimeToLive,    /* time to live */
    PR_SockOpt_IpTypeOfService, /* type of service and precedence */

    PR_SockOpt_AddMember,       /* add an IP group membership */
    PR_SockOpt_DropMember,      /* drop an IP group membership */
    PR_SockOpt_McastInterface,  /* multicast interface address */
    PR_SockOpt_McastTimeToLive, /* multicast timetolive */
    PR_SockOpt_McastLoopback,   /* multicast loopback */

    PR_SockOpt_NoDelay,         /* don't delay send to coalesce packets */
    PR_SockOpt_MaxSegment,      /* maximum segment size */
    PR_SockOpt_Broadcast,       /* enable broadcast */
    PR_SockOpt_Last
} PRSockOption;
Enumerator:
PR_StandardInput 
PR_StandardOutput 
PR_StandardError 

Definition at line 445 of file prio.h.

{
    PR_StandardInput,          /* standard input */
    PR_StandardOutput,         /* standard output */
    PR_StandardError           /* standard error */
} PRSpecialFD;
Enumerator:
PR_TRANSMITFILE_KEEP_OPEN 
PR_TRANSMITFILE_CLOSE_SOCKET 

Definition at line 102 of file prio.h.

                                 {
    PR_TRANSMITFILE_KEEP_OPEN = 0,    /* socket is left open after file
                                       * is transmitted. */
    PR_TRANSMITFILE_CLOSE_SOCKET = 1  /* socket is closed after file
                                       * is transmitted. */
} PRTransmitFileFlags;

Function Documentation

NSPR_API ( PRDescIdentity  ) const
NSPR_API ( const char *  )
NSPR_API ( PRDir ) const
NSPR_API ( void )
typedef PRInt32 ( PR_CALLBACK PRSendFN)

Variable Documentation

Definition at line 1721 of file prio.h.

Definition at line 1279 of file prio.h.

PRIntn backlog

Definition at line 1411 of file prio.h.

Definition at line 1789 of file prio.h.

Definition at line 1615 of file prio.h.

Definition at line 1615 of file prio.h.

Definition at line 932 of file prio.h.

Definition at line 495 of file prio.h.

Definition at line 854 of file prio.h.

Definition at line 1823 of file prio.h.

Definition at line 791 of file prio.h.

Definition at line 791 of file prio.h.

Definition at line 550 of file prio.h.

Definition at line 1874 of file prio.h.

Definition at line 517 of file prio.h.

PRIntn mode

Definition at line 640 of file prio.h.

PRIntn npds

Definition at line 1977 of file prio.h.

Definition at line 967 of file prio.h.

Definition at line 1313 of file prio.h.

Definition at line 1721 of file prio.h.

Definition at line 1864 of file prio.h.

Definition at line 1667 of file prio.h.

Definition at line 1864 of file prio.h.

Definition at line 1615 of file prio.h.

const char* to

Definition at line 900 of file prio.h.

Definition at line 967 of file prio.h.

Definition at line 1898 of file prio.h.