Back to index

lightning-sunbird  0.9+nobinonly
Classes | Typedefs | Enumerations | Functions | Variables
prmwait.h File Reference
#include "prio.h"
#include "prtypes.h"
#include "prclist.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  PRMemoryDescriptor
struct  PRRecvWait

Typedefs

typedef
typedefPR_BEGIN_EXTERN_C
struct 
PRWaitGroup
typedef enum PRMWStatus PRMWStatus
typedef struct PRMemoryDescriptor PRMemoryDescriptor
typedef struct PRMWaitClientData
typedef struct PRRecvWait PRRecvWait
typedef struct PRMWaitEnumerator

Enumerations

enum  PRMWStatus {
  PR_MW_PENDING = 1, PR_MW_SUCCESS = 0, PR_MW_FAILURE = -1, PR_MW_TIMEOUT = -2,
  PR_MW_INTERRUPT = -3
}

Functions

 NSPR_API (PRStatus) PR_AddWaitFileDesc(PRWaitGroup *group
 NSPR_API (PRRecvWait *) PR_WaitRecvReady(PRWaitGroup *group)
 NSPR_API (PRWaitGroup *) PR_CreateWaitGroup(PRInt32 size)
 NSPR_API (PRMWaitEnumerator *) PR_CreateMWaitEnumerator(PRWaitGroup *group)

Variables

PRRecvWaitdesc
const PRRecvWaitprevious

Class Documentation

struct PRMemoryDescriptor

Definition at line 109 of file prmwait.h.

Class Members
PRSize length
void * start
struct PRRecvWait

Definition at line 140 of file prmwait.h.

Collaboration diagram for PRRecvWait:
Class Members
PRMemoryDescriptor buffer
PRInt32 bytesRecv
PRMWaitClientData * client
PRFileDesc * fd
PRCList internal
PRMWStatus outcome
PRIntervalTime timeout

Typedef Documentation

typedef struct PRMWaitClientData

Definition at line 122 of file prmwait.h.

typedef struct PRMWaitEnumerator

Definition at line 162 of file prmwait.h.

typedef enum PRMWStatus PRMWStatus
typedef struct PRRecvWait PRRecvWait
typedef typedefPR_BEGIN_EXTERN_C struct PRWaitGroup

Definition at line 69 of file prmwait.h.


Enumeration Type Documentation

enum PRMWStatus
Enumerator:
PR_MW_PENDING 
PR_MW_SUCCESS 
PR_MW_FAILURE 
PR_MW_TIMEOUT 
PR_MW_INTERRUPT 

Definition at line 93 of file prmwait.h.


Function Documentation


Variable Documentation

Definition at line 196 of file prmwait.h.

Definition at line 406 of file prmwait.h.