summaryrefslogtreecommitdiff
path: root/pr/include/md/_unixos.h
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>1998-12-09 16:37:26 +0000
committerwtc%netscape.com <devnull@localhost>1998-12-09 16:37:26 +0000
commit7fe2fa921cdd716afa2d5c54f7e8de94879f0993 (patch)
tree1873fd232abdcc7b08d6c023daa8de7af4b59dae /pr/include/md/_unixos.h
parent44b2a1483226959769305464c0e11ee7a0851503 (diff)
downloadnspr-hg-7fe2fa921cdd716afa2d5c54f7e8de94879f0993.tar.gz
This checkin consists on three things:
1. File descriptor inheritance 2. Set thread->md.handle on Win32 for attached native threads. 3. Miscellaneous code cleanup.
Diffstat (limited to 'pr/include/md/_unixos.h')
-rw-r--r--pr/include/md/_unixos.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/pr/include/md/_unixos.h b/pr/include/md/_unixos.h
index 4b9a429b..284b76b6 100644
--- a/pr/include/md/_unixos.h
+++ b/pr/include/md/_unixos.h
@@ -268,6 +268,9 @@ extern void _MD_Wakeup_CPUs(void);
/************************************************************************/
+extern void _MD_InitFileDesc(PRFileDesc *fd);
+#define _MD_INIT_FILEDESC _MD_InitFileDesc
+
extern void _MD_MakeNonblock(PRFileDesc *fd);
#define _MD_MAKE_NONBLOCK _MD_MakeNonblock
@@ -427,6 +430,9 @@ extern PRStatus _MD_setsockopt(PRFileDesc *fd, PRInt32 level,
PRInt32 optname, const char* optval, PRInt32 optlen);
#define _MD_SETSOCKOPT _MD_setsockopt
+extern PRStatus _MD_set_fd_inheritable(PRFileDesc *fd, PRBool inheritable);
+#define _MD_SET_FD_INHERITABLE _MD_set_fd_inheritable
+
extern PRStatus _MD_gethostname(char *name, PRUint32 namelen);
#define _MD_GETHOSTNAME _MD_gethostname