summaryrefslogtreecommitdiff
path: root/usr.sbin/amd/rpcx/nfs_prot.ed
blob: 0cc7b7e2f9a95d61890e9da4aa7ab0375741a813 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/^const NFS_FHSIZE/a
const NFSX_V2FH		= 32;
const NFSX_V3FHMAX	= 64;
.
/^enum nfsstat /i
#ifdef RPC_HDR
%typedef int nfsstat;
%#define xdr_nfsstat xdr_int
#define nfsstat int
.
+1s/^enum nfsstat /enum /
.,/^};/s/^/\%/
a
#elif RPC_XDR
#define nfsstat int
#else
typedef int nfsstat;
#endif
.
/^enum ftype /i
#ifdef RPC_HDR
%typedef int ftype;
#define ftype int
.
+1s/^enum ftype /enum /
.,/^};/s/^/\%/
a
#elif RPC_XDR
#define ftype int
#else
typedef int ftype;
#endif
.
wq