Bugzilla bug 326110: declare PR_SetSysfdTableSize and PR_GetSysfdTableMax NSPR_4_6_BRANCH
Mon, 06 Feb 2006 23:20:19 +0000
changeset 3558 37d4780385c9726dbd7c8a54a86f80ad4ed36446
parent 3550 85b4dbf03ef763bdae4b0f33ede7e6cf9618045d
child 3561 32d19fe87bea700e409c1265aa96e2f9063e1885
push idunknown
push userunknown
push dateunknown
Bugzilla bug 326110: declare PR_SetSysfdTableSize and PR_GetSysfdTableMax with NSPR_API in a public header file so that they can be exported from the NSPR shared library/DLL. r=kengert,jpierre. Thanks to Noriko Hosoi <nhosoi@redhat.com> for the bug report. Tag: NSPR_4_6_BRANCH
--- a/pr/include/obsolete/probslet.h
+++ b/pr/include/obsolete/probslet.h
@@ -153,16 +153,25 @@ NSPR_API(PRInt32) PR_Select(
 NSPR_API(void)        PR_FD_ZERO(PR_fd_set *set);
 NSPR_API(void)        PR_FD_SET(PRFileDesc *fd, PR_fd_set *set);
 NSPR_API(void)        PR_FD_CLR(PRFileDesc *fd, PR_fd_set *set);
 NSPR_API(PRInt32)     PR_FD_ISSET(PRFileDesc *fd, PR_fd_set *set);
 NSPR_API(void)        PR_FD_NSET(PRInt32 osfd, PR_fd_set *set);
 NSPR_API(void)        PR_FD_NCLR(PRInt32 osfd, PR_fd_set *set);
 NSPR_API(PRInt32)     PR_FD_NISSET(PRInt32 osfd, PR_fd_set *set);
+** The next two entry points should not be in the API, but they are
+** declared here for historical reasons.
+NSPR_API(PRInt32) PR_GetSysfdTableMax(void);
+NSPR_API(PRInt32) PR_SetSysfdTableSize(PRIntn table_size);
 #ifndef NO_NSPR_10_SUPPORT
 #ifdef XP_MAC
 #include <stat.h>
 #include <sys/stat.h>
 NSPR_API(PRInt32) PR_Stat(const char *path, struct stat *buf);