summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/netdb.h5
-rw-r--r--include/rpc/rpc.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/include/netdb.h b/include/netdb.h
index fe3da8239..bcae666e6 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -444,6 +444,11 @@ extern int getnetgrent_r (char **__restrict __hostp,
#endif /* misc */
+/* ruserpass - remote password check.
+ This function also exists in glibc but is undocumented */
+extern int ruserpass(const char *host, const char **aname, const char **apass);
+
+
#ifdef __USE_BSD
/* Call `rshd' at port RPORT on remote machine *AHOST to execute CMD.
The local user is LOCUSER, on the remote machine the command is
diff --git a/include/rpc/rpc.h b/include/rpc/rpc.h
index 9236e7205..8194ffee3 100644
--- a/include/rpc/rpc.h
+++ b/include/rpc/rpc.h
@@ -105,6 +105,9 @@ extern struct pollfd **__rpc_thread_svc_pollfd (void)
extern int *__rpc_thread_svc_max_pollfd (void) __attribute__ ((__const__));
#define svc_max_pollfd (*__rpc_thread_svc_max_pollfd ())
+extern bool_t xdr_accepted_reply (XDR *xdrs, struct accepted_reply *ar);
+extern bool_t xdr_rejected_reply (XDR *xdrs, struct rejected_reply *rr);
+
__END_DECLS
#endif /* rpc/rpc.h */