Bugzilla bug 326110: declare PR_SetSysfdTableSize and PR_GetSysfdTableMax NSPRPUB_PRE_4_2_CLIENT_BRANCH
Mon, 06 Feb 2006 23:16:29 +0000
changeset 3557 6b758676d588cdaef46fdba621668d422a59cf77
parent 3552 e19eca39e5a948e605795a87fdca0574e5c3cb83
child 3560 46fcc0294b51d612bc273f93bd0b70cf7adf96b7
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: NSPRPUB_PRE_4_2_CLIENT_BRANCH
--- a/pr/include/obsolete/probslet.h
+++ b/pr/include/obsolete/probslet.h
@@ -154,16 +154,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(PROsfd osfd, PR_fd_set *set);
 NSPR_API(void)        PR_FD_NCLR(PROsfd osfd, PR_fd_set *set);
 NSPR_API(PRInt32)     PR_FD_NISSET(PROsfd 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);