summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>1997-07-13 18:14:22 +0000
committerchristos <christos@NetBSD.org>1997-07-13 18:14:22 +0000
commit7e34a0b230e823c659109f1d1981accd36816ef5 (patch)
tree7863e0869f575795a2488e28d534ae947a027059 /include
parent2b322cb844929be022f96b0dc1dba2bda329a908 (diff)
Add missing authentication prototypes _svcauth_{null,short,unix} and
xdr_opaque_auth
Diffstat (limited to 'include')
-rw-r--r--include/rpc/auth.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/rpc/auth.h b/include/rpc/auth.h
index 7f7f0c70f36..35d84d54636 100644
--- a/include/rpc/auth.h
+++ b/include/rpc/auth.h
@@ -1,4 +1,4 @@
-/* $NetBSD: auth.h,v 1.7 1995/04/29 05:27:55 cgd Exp $ */
+/* $NetBSD: auth.h,v 1.8 1997/07/13 18:14:22 christos Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -173,6 +173,13 @@ extern AUTH *authunix_create_default __P((void));
extern AUTH *authnone_create __P((void));
extern AUTH *authdes_create __P((char *, u_int,
struct sockaddr_in *, des_block *));
+extern bool_t xdr_opaque_auth __P((XDR *, struct opaque_auth *));
+
+struct svc_req;
+struct rpc_msg;
+enum auth_stat _svcauth_null __P((struct svc_req *, struct rpc_msg *));
+enum auth_stat _svcauth_short __P((struct svc_req *, struct rpc_msg *));
+enum auth_stat _svcauth_unix __P((struct svc_req *, struct rpc_msg *));
__END_DECLS
#define AUTH_NONE 0 /* no authentication */