summaryrefslogtreecommitdiffstats
path: root/include/rpc/svc_auth.h
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-08-07 18:41:02 +0000
committerwollman <wollman@FreeBSD.org>1994-08-07 18:41:02 +0000
commit2914d85c79d650debf4fe19c5230232d57f15912 (patch)
treede69a93c1a8200600a73fd75094947ae1f3c766f /include/rpc/svc_auth.h
parent39d367d32ed8e86a00d841b572a4544dc7ca339e (diff)
downloadFreeBSD-src-2914d85c79d650debf4fe19c5230232d57f15912.zip
FreeBSD-src-2914d85c79d650debf4fe19c5230232d57f15912.tar.gz
Use the header files that are compatible with the code just moved over
from 1.1.5.
Diffstat (limited to 'include/rpc/svc_auth.h')
-rw-r--r--include/rpc/svc_auth.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/include/rpc/svc_auth.h b/include/rpc/svc_auth.h
index a36a01a..c6db440 100644
--- a/include/rpc/svc_auth.h
+++ b/include/rpc/svc_auth.h
@@ -1,4 +1,3 @@
-/* @(#)svc_auth.h 2.1 88/07/29 4.0 RPCSRC */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
* unrestricted use provided that this legend is included on all tape
@@ -26,8 +25,11 @@
* Sun Microsystems, Inc.
* 2550 Garcia Avenue
* Mountain View, California 94043
+ *
+ * from: @(#)svc_auth.h 1.6 86/07/16 SMI
+ * from: @(#)svc_auth.h 2.1 88/07/29 4.0 RPCSRC
+ * $Id: svc_auth.h,v 1.1 1993/10/27 05:40:57 paul Exp $
*/
-/* @(#)svc_auth.h 1.6 86/07/16 SMI */
/*
* svc_auth.h, Service side of rpc authentication.
@@ -35,8 +37,14 @@
* Copyright (C) 1984, Sun Microsystems, Inc.
*/
+#ifndef _RPC_SVCAUTH_H
+#define _RPC_SVCAUTH_H
/*
* Server side authenticator
*/
-extern enum auth_stat _authenticate();
+__BEGIN_DECLS
+extern enum auth_stat _authenticate __P((struct svc_req *, struct rpc_msg *));
+__END_DECLS
+
+#endif /* !_RPC_SVCAUTH_H */
OpenPOWER on IntegriCloud