summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorshin <shin@FreeBSD.org>2000-01-13 15:09:48 +0000
committershin <shin@FreeBSD.org>2000-01-13 15:09:48 +0000
commit16085f42949d88bd0ba1801e6647b2c8777e30ba (patch)
tree3044ff81791eccd3209a757b144f64151f00275b /include
parent8813e718dc87a6dcf42bd2743686c7a74df222ca (diff)
downloadFreeBSD-src-16085f42949d88bd0ba1801e6647b2c8777e30ba.zip
FreeBSD-src-16085f42949d88bd0ba1801e6647b2c8777e30ba.tar.gz
libc rcmd update for IPv6.
A new function bindresvport2(), AF independent version of bindresvport() is also added. Reviewed by: sumikawa Obtained from: KAME project
Diffstat (limited to 'include')
-rw-r--r--include/rpc/rpc.h1
-rw-r--r--include/unistd.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/include/rpc/rpc.h b/include/rpc/rpc.h
index 5a2948d..ccfa30f 100644
--- a/include/rpc/rpc.h
+++ b/include/rpc/rpc.h
@@ -87,6 +87,7 @@ extern void setrpcent __P((int));
extern void endrpcent __P((void));
extern int bindresvport __P((int, struct sockaddr_in *));
+extern int bindresvport2 __P((int, struct sockaddr *, int addrlen));
extern int get_myaddress __P((struct sockaddr_in *));
__END_DECLS
diff --git a/include/unistd.h b/include/unistd.h
index 02bc2d3..ff7fc01 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -147,6 +147,7 @@ char *getusershell __P((void));
char *getwd __P((char *)); /* obsoleted by getcwd() */
int initgroups __P((const char *, int));
int iruserok __P((unsigned long, int, const char *, const char *));
+int iruserok_af __P((void *, int, const char *, const char *, int));
int issetugid __P((void));
int lchown __P((const char *, uid_t, gid_t));
int lockf __P((int, int, off_t));
@@ -203,6 +204,9 @@ int unwhiteout __P((const char *));
int usleep __P((unsigned int));
void *valloc __P((size_t)); /* obsoleted by malloc() */
pid_t vfork __P((void));
+int rresvport_af __P((int *, int));
+int ruserok_af __P((const char *, int, const char *, const char *, int));
+int iruserok_af __P((void *, int, const char *, const char *, int));
extern char *suboptarg; /* getsubopt(3) external variable */
int getsubopt __P((char **, char * const *, char **));
OpenPOWER on IntegriCloud