summaryrefslogtreecommitdiffstats
path: root/include/rpc/auth_unix.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/auth_unix.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/auth_unix.h')
-rw-r--r--include/rpc/auth_unix.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/include/rpc/auth_unix.h b/include/rpc/auth_unix.h
index 705741e..e9da264 100644
--- a/include/rpc/auth_unix.h
+++ b/include/rpc/auth_unix.h
@@ -1,4 +1,3 @@
-/* @(#)auth_unix.h 2.2 88/07/29 4.0 RPCSRC; from 1.8 88/02/08 SMI */
/*
* 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: @(#)auth_unix.h 1.8 88/02/08 SMI
+ * from: @(#)auth_unix.h 2.2 88/07/29 4.0 RPCSRC
+ * $Id: auth_unix.h,v 1.1 1993/10/27 05:40:12 paul Exp $
*/
-/* @(#)auth_unix.h 1.5 86/07/16 SMI */
/*
* auth_unix.h, Protocol for UNIX style authentication parameters for RPC
@@ -42,6 +44,10 @@
* for the credentials.
*/
+#ifndef _RPC_AUTH_UNIX_H
+#define _RPC_AUTH_UNIX_H
+#include <sys/cdefs.h>
+
/* The machine name is part of a credential; it may not exceed 255 bytes */
#define MAX_MACHINE_NAME 255
@@ -60,7 +66,9 @@ struct authunix_parms {
int *aup_gids;
};
-extern bool_t xdr_authunix_parms();
+__BEGIN_DECLS
+extern bool_t xdr_authunix_parms __P((XDR *, struct authunix_parms *));
+__END_DECLS
/*
* If a response verifier has flavor AUTH_SHORT,
@@ -70,3 +78,5 @@ extern bool_t xdr_authunix_parms();
struct short_hand_verf {
struct opaque_auth new_cred;
};
+
+#endif /* !_RPC_AUTH_UNIX_H */
OpenPOWER on IntegriCloud