Defines |
| #define | PR_SOCK_STREAM SOCK_STREAM |
| #define | PR_SOCK_DGRAM SOCK_DGRAM |
Typedefs |
| typedef PRInt32 | PROsfd |
Functions |
| const PRIOMethods * | PR_GetFileMethods (void) |
| const PRIOMethods * | PR_GetTCPMethods (void) |
| const PRIOMethods * | PR_GetUDPMethods (void) |
| const PRIOMethods * | PR_GetPipeMethods (void) |
| PROsfd | PR_FileDesc2NativeHandle (PRFileDesc *) |
| void | PR_ChangeFileDescNativeHandle (PRFileDesc *, PROsfd) |
| PRFileDesc * | PR_AllocFileDesc (PROsfd osfd, const PRIOMethods *methods) |
| void | PR_FreeFileDesc (PRFileDesc *fd) |
| PRFileDesc * | PR_ImportFile (PROsfd osfd) |
| PRFileDesc * | PR_ImportPipe (PROsfd osfd) |
| PRFileDesc * | PR_ImportTCPSocket (PROsfd osfd) |
| PRFileDesc * | PR_ImportUDPSocket (PROsfd osfd) |
| PRFileDesc * | PR_CreateSocketPollFd (PROsfd osfd) |
| PRStatus | PR_DestroySocketPollFd (PRFileDesc *fd) |
| PRFileDesc * | PR_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) |