Defines | Typedefs | Functions

pprio.h File Reference

#include "prtypes.h"
#include "prio.h"
Include dependency graph for nspr/private/pprio.h:

Defines

#define PR_SOCK_STREAM   SOCK_STREAM
#define PR_SOCK_DGRAM   SOCK_DGRAM

Typedefs

typedef PRInt32 PROsfd

Functions

const PRIOMethodsPR_GetFileMethods (void)
const PRIOMethodsPR_GetTCPMethods (void)
const PRIOMethodsPR_GetUDPMethods (void)
const PRIOMethodsPR_GetPipeMethods (void)
PROsfd PR_FileDesc2NativeHandle (PRFileDesc *)
void PR_ChangeFileDescNativeHandle (PRFileDesc *, PROsfd)
PRFileDescPR_AllocFileDesc (PROsfd osfd, const PRIOMethods *methods)
void PR_FreeFileDesc (PRFileDesc *fd)
PRFileDescPR_ImportFile (PROsfd osfd)
PRFileDescPR_ImportPipe (PROsfd osfd)
PRFileDescPR_ImportTCPSocket (PROsfd osfd)
PRFileDescPR_ImportUDPSocket (PROsfd osfd)
PRFileDescPR_CreateSocketPollFd (PROsfd osfd)
PRStatus PR_DestroySocketPollFd (PRFileDesc *fd)
PRFileDescPR_Socket (PRInt32 domain, PRInt32 type, PRInt32 proto)
PRStatus PR_LockFile (PRFileDesc *fd)
PRStatus PR_TLockFile (PRFileDesc *fd)
PRStatus PR_UnlockFile (PRFileDesc *fd)
PRInt32 PR_EmulateAcceptRead (PRFileDesc *sd, PRFileDesc **nd, PRNetAddr **raddr, void *buf, PRInt32 amount, PRIntervalTime timeout)
PRInt32 PR_EmulateSendFile (PRFileDesc *networkSocket, PRSendFileData *sendData, PRTransmitFileFlags flags, PRIntervalTime timeout)

Define Documentation

#define PR_SOCK_DGRAM   SOCK_DGRAM
#define PR_SOCK_STREAM   SOCK_STREAM

Typedef Documentation

typedef PRInt32 PROsfd

Function Documentation

PRFileDesc* PR_AllocFileDesc ( PROsfd  osfd,
const PRIOMethods methods 
)
void PR_ChangeFileDescNativeHandle ( PRFileDesc ,
PROsfd   
)
PRFileDesc* PR_CreateSocketPollFd ( PROsfd  osfd  ) 
PRStatus PR_DestroySocketPollFd ( PRFileDesc fd  ) 
PRInt32 PR_EmulateAcceptRead ( PRFileDesc sd,
PRFileDesc **  nd,
PRNetAddr **  raddr,
void *  buf,
PRInt32  amount,
PRIntervalTime  timeout 
)
PRInt32 PR_EmulateSendFile ( PRFileDesc networkSocket,
PRSendFileData sendData,
PRTransmitFileFlags  flags,
PRIntervalTime  timeout 
)
PROsfd PR_FileDesc2NativeHandle ( PRFileDesc  ) 
void PR_FreeFileDesc ( PRFileDesc fd  ) 
const PRIOMethods* PR_GetFileMethods ( void   ) 
const PRIOMethods* PR_GetPipeMethods ( void   ) 
const PRIOMethods* PR_GetTCPMethods ( void   ) 
const PRIOMethods* PR_GetUDPMethods ( void   ) 
PRFileDesc* PR_ImportFile ( PROsfd  osfd  ) 
PRFileDesc* PR_ImportPipe ( PROsfd  osfd  ) 
PRFileDesc* PR_ImportTCPSocket ( PROsfd  osfd  ) 
PRFileDesc* PR_ImportUDPSocket ( PROsfd  osfd  ) 
PRStatus PR_LockFile ( PRFileDesc fd  ) 
PRFileDesc* PR_Socket ( PRInt32  domain,
PRInt32  type,
PRInt32  proto 
)
PRStatus PR_TLockFile ( PRFileDesc fd  ) 
PRStatus PR_UnlockFile ( PRFileDesc fd  )