diff options
Diffstat (limited to 'include/rpc')
-rw-r--r-- | include/rpc/auth.h | 9 | ||||
-rw-r--r-- | include/rpc/clnt.h | 22 | ||||
-rw-r--r-- | include/rpc/svc.h | 17 | ||||
-rw-r--r-- | include/rpc/svc_auth.h | 4 |
4 files changed, 50 insertions, 2 deletions
diff --git a/include/rpc/auth.h b/include/rpc/auth.h index bc19049291..9bfde8331b 100644 --- a/include/rpc/auth.h +++ b/include/rpc/auth.h @@ -19,4 +19,13 @@ DECLARE_NSS_PROTOTYPES (nisplus) extern bool_t xdr_des_block_internal (XDR *__xdrs, des_block *__blkp); extern bool_t xdr_opaque_auth_internal (XDR *, struct opaque_auth *); +extern AUTH *authunix_create_internal (char *__machname, __uid_t __uid, + __gid_t __gid, int __len, + __gid_t *__aup_gids) attribute_hidden; +extern AUTH *authunix_create_default_internal (void) attribute_hidden; +extern AUTH *authnone_create_internal (void) attribute_hidden; +extern AUTH *authdes_pk_create_internal (const char *, netobj *, u_int, + struct sockaddr *, + des_block *) attribute_hidden; + #endif diff --git a/include/rpc/clnt.h b/include/rpc/clnt.h index 071c008eb6..13844962be 100644 --- a/include/rpc/clnt.h +++ b/include/rpc/clnt.h @@ -4,4 +4,26 @@ /* Now define the internal interfaces. */ extern int _openchild (const char *command, FILE **fto, FILE **ffrom); +extern CLIENT *clnt_create_internal (__const char *__host, + __const u_long __prog, + __const u_long __vers, + __const char *__prot) attribute_hidden; +extern CLIENT *clnttcp_create_internal (struct sockaddr_in *__raddr, + u_long __prog, u_long __version, + int *__sockp, u_int __sendsz, + u_int __recvsz) attribute_hidden; +extern CLIENT *clntudp_create_internal (struct sockaddr_in *__raddr, + u_long __program, u_long __version, + struct timeval __wait_resend, + int *__sockp) attribute_hidden; +extern CLIENT *clntudp_bufcreate_internal (struct sockaddr_in *__raddr, + u_long __program, u_long __version, + struct timeval __wait_resend, + int *__sockp, u_int __sendsz, + u_int __recvsz) attribute_hidden; +extern CLIENT *clntunix_create_internal (struct sockaddr_un *__raddr, + u_long __program, u_long __version, + int *__sockp, u_int __sendsz, + u_int __recvsz) attribute_hidden; + #endif diff --git a/include/rpc/svc.h b/include/rpc/svc.h index bf948d51e2..063e6f3976 100644 --- a/include/rpc/svc.h +++ b/include/rpc/svc.h @@ -10,5 +10,22 @@ extern SVCXPRT *svcfd_create (int fd, u_int sendsize, u_int recvsize); extern int svcudp_enablecache (SVCXPRT *transp, u_long size); extern SVCXPRT *svcunixfd_create (int fd, u_int sendsize, u_int recvsize); +extern bool_t svc_sendreply_internal (SVCXPRT *xprt, xdrproc_t __xdr_results, + caddr_t __xdr_location) attribute_hidden; +extern void svcerr_decode_internal (SVCXPRT *__xprt) attribute_hidden; +extern void svc_getreq_internal (int __rdfds) attribute_hidden; +extern void svc_getreq_common_internal (const int __fd) attribute_hidden; +extern void svc_getreqset_internal (fd_set *__readfds) attribute_hidden; +extern void svc_getreq_poll_internal (struct pollfd *, + const int) attribute_hidden; +extern bool_t svc_register_internal (SVCXPRT *__xprt, rpcprog_t __prog, + rpcvers_t __vers, + __dispatch_fn_t __dispatch, + rpcprot_t __protocol) attribute_hidden; +extern void svc_unregister_internal (rpcprog_t __prog, + rpcvers_t __vers) attribute_hidden; +extern SVCXPRT *svcudp_create_internal (int __sock) attribute_hidden; +extern SVCXPRT *svcudp_bufcreate_internal (int __sock, u_int __sendsz, + u_int __recvsz) attribute_hidden; #endif diff --git a/include/rpc/svc_auth.h b/include/rpc/svc_auth.h index 9d2462bacb..bf5ce91b68 100644 --- a/include/rpc/svc_auth.h +++ b/include/rpc/svc_auth.h @@ -6,7 +6,7 @@ extern enum auth_stat _svcauth_unix (struct svc_req *rqst, struct rpc_msg *msg); extern enum auth_stat _svcauth_short (struct svc_req *rqst, struct rpc_msg *msg); - - +extern enum auth_stat _authenticate_internal (struct svc_req *__rqst, + struct rpc_msg *__msg) attribute_hidden; #endif |