Moved SocketPollFD functions from public header(prio.h) to the private

header pprio.h.
This commit is contained in:
wtc%netscape.com 1999-04-01 05:10:59 +00:00
parent 11797f5191
commit ea6c2f51ce

View File

@ -277,8 +277,7 @@ typedef enum PRDescType
PR_DESC_FILE = 1,
PR_DESC_SOCKET_TCP = 2,
PR_DESC_SOCKET_UDP = 3,
PR_DESC_LAYERED = 4,
PR_DESC_SOCKET_POLL = 5
PR_DESC_LAYERED = 4
} PRDescType;
typedef enum PRSeekWhence {
@ -1079,44 +1078,6 @@ PR_EXTERN(PRFileDesc*) PR_NewUDPSocket(void);
PR_EXTERN(PRFileDesc*) PR_NewTCPSocket(void);
/*
*************************************************************************
* FUNCTION: PR_CreateSocketPollFd
* DESCRIPTION:
* Create a PRFileDesc wrapper for a native socket handle, for use with
* PR_Poll only
* INPUTS:
* None
* OUTPUTS:
* None
* RETURN: PRFileDesc*
* Upon successful completion, PR_CreateSocketPollFd returns a pointer
* to the PRFileDesc created for the native socket handle
* Returns a NULL pointer if the create of a new PRFileDesc failed
*
**************************************************************************
*/
PR_EXTERN(PRFileDesc*) PR_CreateSocketPollFd(PRInt32 osfd);
/*
*************************************************************************
* FUNCTION: PR_DestroySocketPollFd
* DESCRIPTION:
* Destroy the PRFileDesc wrapper created by PR_CreateSocketPollFd
* INPUTS:
* None
* OUTPUTS:
* None
* RETURN: PRFileDesc*
* Upon successful completion, PR_DestroySocketPollFd returns
* PR_SUCCESS, else PR_FAILURE
*
**************************************************************************
*/
PR_EXTERN(PRStatus) PR_DestroySocketPollFd(PRFileDesc *fd);
/*
*************************************************************************
* FUNCTION: PR_Connect