summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtchang%redhat.com <devnull@localhost>2006-02-06 23:16:29 +0000
committerwtchang%redhat.com <devnull@localhost>2006-02-06 23:16:29 +0000
commite7dc7adda4822041f3f20ee36b66e7495ac5bc50 (patch)
tree1aa497f6d25363686100f3337f9d3d768742182a
parent7a45c5160d1504cddf7d6da2afc7487153bf2cce (diff)
downloadnspr-hg-e7dc7adda4822041f3f20ee36b66e7495ac5bc50.tar.gz
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
-rw-r--r--pr/include/obsolete/probslet.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/pr/include/obsolete/probslet.h b/pr/include/obsolete/probslet.h
index efc67f61..98bed4d5 100644
--- a/pr/include/obsolete/probslet.h
+++ b/pr/include/obsolete/probslet.h
@@ -159,6 +159,15 @@ 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>