summaryrefslogtreecommitdiffstats
path: root/contrib/amd/conf
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1998-08-27 07:33:23 +0000
committerobrien <obrien@FreeBSD.org>1998-08-27 07:33:23 +0000
commit95469232de2431c2ea73f7788417474d48fc0ba9 (patch)
tree489195f8bd77930ebbbaf53cba2870050d8f1832 /contrib/amd/conf
parent3cad3a2af8cd46053db15c6c6abcc0f2ea3e8b5d (diff)
downloadFreeBSD-src-95469232de2431c2ea73f7788417474d48fc0ba9.zip
FreeBSD-src-95469232de2431c2ea73f7788417474d48fc0ba9.tar.gz
rpcgen our own mount.h, nfs_prot.h, mount_xdr.c, and nfs_prot_x.c
for NFSv3 support
Diffstat (limited to 'contrib/amd/conf')
-rw-r--r--contrib/amd/conf/nfs_prot/nfs_prot_freebsd2.h5
-rw-r--r--contrib/amd/conf/nfs_prot/nfs_prot_freebsd3.h10
2 files changed, 13 insertions, 2 deletions
diff --git a/contrib/amd/conf/nfs_prot/nfs_prot_freebsd2.h b/contrib/amd/conf/nfs_prot/nfs_prot_freebsd2.h
index e55e114..e39ff1b 100644
--- a/contrib/amd/conf/nfs_prot/nfs_prot_freebsd2.h
+++ b/contrib/amd/conf/nfs_prot/nfs_prot_freebsd2.h
@@ -38,16 +38,19 @@
*
* %W% (Berkeley) %G%
*
- * $Id: nfs_prot_freebsd2.h,v 1.1 1996/01/13 23:23:39 ezk Exp ezk $
+ * $Id: nfs_prot_freebsd2.h,v 1.1.1.1 1998/08/23 22:07:20 obrien Exp $
*
*/
#ifndef _AMU_NFS_PROT_H
#define _AMU_NFS_PROT_H
+#ifdef COMMENT_OUT
#ifdef HAVE_RPCSVC_NFS_PROT_H
# include <rpcsvc/nfs_prot.h>
#endif /* HAVE_RPCSVC_NFS_PROT_H */
+#endif /* COMMENT_OUT */
+# include "nfs_prot.h"
/*
* MACROS:
diff --git a/contrib/amd/conf/nfs_prot/nfs_prot_freebsd3.h b/contrib/amd/conf/nfs_prot/nfs_prot_freebsd3.h
index 915f014..a9acf5b 100644
--- a/contrib/amd/conf/nfs_prot/nfs_prot_freebsd3.h
+++ b/contrib/amd/conf/nfs_prot/nfs_prot_freebsd3.h
@@ -38,16 +38,20 @@
*
* %W% (Berkeley) %G%
*
- * $Id: nfs_prot_freebsd3.h,v 1.1 1996/01/13 23:23:39 ezk Exp ezk $
+ * $Id: nfs_prot_freebsd3.h,v 1.1.1.1 1998/08/23 22:07:20 obrien Exp $
*
*/
#ifndef _AMU_NFS_PROT_H
#define _AMU_NFS_PROT_H
+#ifdef COMMENT_OUT
#ifdef HAVE_RPCSVC_NFS_PROT_H
# include <rpcsvc/nfs_prot.h>
#endif /* HAVE_RPCSVC_NFS_PROT_H */
+#endif /* COMMENT_OUT */
+# include "nfs_prot.h"
+
#ifdef HAVE_NFS_RPCV2_H
# include <nfs/rpcv2.h>
#endif /* HAVE_NFS_RPCV2_H */
@@ -154,11 +158,14 @@ typedef writeargs nfswriteargs;
# define MOUNT_NFS3 MOUNT_NFS
# define MNTOPT_NFS3 "nfs"
+#ifdef COMMENT_OUT
#define FHSIZE3 64 /* size in bytes of a file handle (v3) */
+#endif /* COMMENT_OUT */
#define NFS3_FHSIZE 64
#define MOUNTVERS3 ((unsigned long)(3))
#define NFS_V3 ((unsigned long)(3))
+#ifdef COMMENT_OUT
typedef struct {
u_int fhandle3_len;
char *fhandle3_val;
@@ -194,6 +201,7 @@ struct mountres3 {
} mountres3_u;
};
typedef struct mountres3 mountres3;
+#endif /* COMMENT_OUT */
struct nfs_fh3 {
u_int fh3_length;
OpenPOWER on IntegriCloud