4 * Copyright (c) 1997-2009 Erez Zadok
5 * Copyright (c) 1990 Jan-Simon Pendry
6 * Copyright (c) 1990 Imperial College of Science, Technology & Medicine
7 * Copyright (c) 1990 The Regents of the University of California.
10 * This code is derived from software contributed to Berkeley by
11 * Jan-Simon Pendry at Imperial College, London.
13 * Redistribution and use in source and binary forms, with or without
14 * modification, are permitted provided that the following conditions
16 * 1. Redistributions of source code must retain the above copyright
17 * notice, this list of conditions and the following disclaimer.
18 * 2. Redistributions in binary form must reproduce the above copyright
19 * notice, this list of conditions and the following disclaimer in the
20 * documentation and/or other materials provided with the distribution.
21 * 3. All advertising materials mentioning features or use of this software
22 * must display the following acknowledgment:
23 * This product includes software developed by the University of
24 * California, Berkeley and its contributors.
25 * 4. Neither the name of the University nor the names of its contributors
26 * may be used to endorse or promote products derived from this software
27 * without specific prior written permission.
29 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
30 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
31 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
32 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
33 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
34 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
35 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
36 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
37 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
38 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
42 * File: am-utils/conf/nfs_prot/nfs_prot_default.h
46 #ifndef _AMU_NFS_PROT_H
47 #define _AMU_NFS_PROT_H
49 #ifdef HAVE_RPCSVC_NFS_PROT_H
50 # include <rpcsvc/nfs_prot.h>
51 #endif /* HAVE_RPCSVC_NFS_PROT_H */
57 #define dr_drok_u diropres
58 #define ca_attributes attributes
59 #define ca_where where
60 #define da_fhandle dir
62 #define dl_entries entries
64 #define dr_status status
65 #define dr_u diropres_u
66 #define drok_attributes attributes
67 #define drok_fhandle file
69 #define la_fhandle from
71 #define na_atime atime
72 #define na_blocks blocks
73 #define na_blocksize blocksize
74 #define na_ctime ctime
75 #define na_fileid fileid
79 #define na_mtime mtime
80 #define na_nlink nlink
85 #define ne_cookie cookie
86 #define ne_fileid fileid
88 #define ne_nextentry nextentry
89 #define ns_attr_u attributes
90 #define ns_status status
91 #define ns_u attrstat_u
92 #define nt_seconds seconds
93 #define nt_useconds useconds
94 #define ra_count count
95 #define ra_fhandle file
96 #define ra_offset offset
97 #define ra_totalcount totalcount
98 #define raok_attributes attributes
99 #define raok_len_u data_len
101 #define raok_val_u data_val
102 #define rda_cookie cookie
103 #define rda_count count
104 #define rda_fhandle dir
105 #define rdr_reply_u reply
106 #define rdr_status status
107 #define rdr_u readdirres_u
108 #define rlr_data_u data
109 #define rlr_status status
110 #define rlr_u readlinkres_u
111 #define rna_from from
113 #define rr_reply_u reply
114 #define rr_status status
115 #define rr_u readres_u
116 #define sa_atime atime
119 #define sa_mtime mtime
122 #define sag_attributes attributes
123 #define sag_fhandle file
124 #define sfr_reply_u reply
125 #define sfr_status status
126 #define sfr_u statfsres_u
127 #define sfrok_bavail bavail
128 #define sfrok_bfree bfree
129 #define sfrok_blocks blocks
130 #define sfrok_bsize bsize
131 #define sfrok_tsize tsize
132 #define sla_attributes attributes
133 #define sla_from from
135 #define wra_beginoffset beginoffset
136 #define wra_fhandle file
137 #define wra_len_u data_len
138 #define wra_offset offset
139 #define wra_totalcount totalcount
141 #define wra_val_u data_val
147 typedef attrstat nfsattrstat
;
148 typedef createargs nfscreateargs
;
149 typedef dirlist nfsdirlist
;
150 typedef diropargs nfsdiropargs
;
151 typedef diropokres nfsdiropokres
;
152 typedef diropres nfsdiropres
;
153 typedef entry nfsentry
;
154 typedef fattr nfsfattr
;
155 typedef ftype nfsftype
;
156 typedef linkargs nfslinkargs
;
157 typedef readargs nfsreadargs
;
158 typedef readdirargs nfsreaddirargs
;
159 typedef readdirres nfsreaddirres
;
160 typedef readlinkres nfsreadlinkres
;
161 typedef readokres nfsreadokres
;
162 typedef readres nfsreadres
;
163 typedef renameargs nfsrenameargs
;
164 typedef sattr nfssattr
;
165 typedef sattrargs nfssattrargs
;
166 typedef statfsokres nfsstatfsokres
;
167 typedef statfsres nfsstatfsres
;
168 typedef symlinkargs nfssymlinkargs
;
169 typedef writeargs nfswriteargs
;
172 #endif /* not _AMU_NFS_PROT_H */