2 * Please do not edit this file.
3 * It was generated using rpcgen.
6 #ifndef _MOUNT_H_RPCGEN
7 #define _MOUNT_H_RPCGEN
12 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
13 * unrestricted use provided that this legend is included on all tape
14 * media and as a part of the software program in whole or part. Users
15 * may copy or modify Sun RPC without charge, but are not authorized
16 * to license or distribute it to anyone else except as part of a product or
17 * program developed by the user or with the express written consent of
18 * Sun Microsystems, Inc.
20 * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
21 * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
22 * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
24 * Sun RPC is provided with no support and without any obligation on the
25 * part of Sun Microsystems, Inc. to assist in its use, correction,
26 * modification or enhancement.
28 * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
29 * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
30 * OR ANY PART THEREOF.
32 * In no event will Sun Microsystems, Inc. be liable for any lost revenue
33 * or profits or other special, indirect and consequential damages, even if
34 * Sun has been advised of the possibility of such damages.
36 * Sun Microsystems, Inc.
38 * Mountain View, California 94043
41 * Copyright (c) 1985, 1990 by Sun Microsystems, Inc.
44 /* from @(#)mount.x 1.3 91/03/11 TIRPC 1.0 */
45 #ifndef _rpcsvc_mount_h
46 #define _rpcsvc_mount_h
47 #define MNTPATHLEN 1024
51 typedef char fhandle
[FHSIZE
];
53 extern "C" bool_t
xdr_fhandle(XDR
*, fhandle
);
55 extern bool_t
xdr_fhandle(XDR
*, fhandle
);
56 #else /* Old Style C */
58 #endif /* Old Style C */
67 typedef struct fhstatus fhstatus
;
69 extern "C" bool_t
xdr_fhstatus(XDR
*, fhstatus
*);
71 extern bool_t
xdr_fhstatus(XDR
*, fhstatus
*);
72 #else /* Old Style C */
73 bool_t
xdr_fhstatus();
74 #endif /* Old Style C */
77 typedef char *dirpath
;
79 extern "C" bool_t
xdr_dirpath(XDR
*, dirpath
*);
81 extern bool_t
xdr_dirpath(XDR
*, dirpath
*);
82 #else /* Old Style C */
84 #endif /* Old Style C */
89 extern "C" bool_t
xdr_name(XDR
*, name
*);
91 extern bool_t
xdr_name(XDR
*, name
*);
92 #else /* Old Style C */
94 #endif /* Old Style C */
97 typedef struct mountbody
*mountlist
;
99 extern "C" bool_t
xdr_mountlist(XDR
*, mountlist
*);
101 extern bool_t
xdr_mountlist(XDR
*, mountlist
*);
102 #else /* Old Style C */
103 bool_t
xdr_mountlist();
104 #endif /* Old Style C */
109 dirpath ml_directory
;
112 typedef struct mountbody mountbody
;
114 extern "C" bool_t
xdr_mountbody(XDR
*, mountbody
*);
116 extern bool_t
xdr_mountbody(XDR
*, mountbody
*);
117 #else /* Old Style C */
118 bool_t
xdr_mountbody();
119 #endif /* Old Style C */
122 typedef struct groupnode
*groups
;
124 extern "C" bool_t
xdr_groups(XDR
*, groups
*);
126 extern bool_t
xdr_groups(XDR
*, groups
*);
127 #else /* Old Style C */
129 #endif /* Old Style C */
136 typedef struct groupnode groupnode
;
138 extern "C" bool_t
xdr_groupnode(XDR
*, groupnode
*);
140 extern bool_t
xdr_groupnode(XDR
*, groupnode
*);
141 #else /* Old Style C */
142 bool_t
xdr_groupnode();
143 #endif /* Old Style C */
146 typedef struct exportnode
*exports
;
148 extern "C" bool_t
xdr_exports(XDR
*, exports
*);
150 extern bool_t
xdr_exports(XDR
*, exports
*);
151 #else /* Old Style C */
152 bool_t
xdr_exports();
153 #endif /* Old Style C */
161 typedef struct exportnode exportnode
;
163 extern "C" bool_t
xdr_exportnode(XDR
*, exportnode
*);
165 extern bool_t
xdr_exportnode(XDR
*, exportnode
*);
166 #else /* Old Style C */
167 bool_t
xdr_exportnode();
168 #endif /* Old Style C */
182 typedef struct ppathcnf ppathcnf
;
184 extern "C" bool_t
xdr_ppathcnf(XDR
*, ppathcnf
*);
186 extern bool_t
xdr_ppathcnf(XDR
*, ppathcnf
*);
187 #else /* Old Style C */
188 bool_t
xdr_ppathcnf();
189 #endif /* Old Style C */
191 #endif /*!_rpcsvc_mount_h*/
193 #define MOUNTPROG ((u_long)100005)
194 #define MOUNTVERS ((u_long)1)
197 #define MOUNTPROC_NULL ((u_long)0)
198 extern "C" void * mountproc_null_1(void *, CLIENT
*);
199 extern "C" void * mountproc_null_1_svc(void *, struct svc_req
*);
200 #define MOUNTPROC_MNT ((u_long)1)
201 extern "C" fhstatus
* mountproc_mnt_1(dirpath
*, CLIENT
*);
202 extern "C" fhstatus
* mountproc_mnt_1_svc(dirpath
*, struct svc_req
*);
203 #define MOUNTPROC_DUMP ((u_long)2)
204 extern "C" mountlist
* mountproc_dump_1(void *, CLIENT
*);
205 extern "C" mountlist
* mountproc_dump_1_svc(void *, struct svc_req
*);
206 #define MOUNTPROC_UMNT ((u_long)3)
207 extern "C" void * mountproc_umnt_1(dirpath
*, CLIENT
*);
208 extern "C" void * mountproc_umnt_1_svc(dirpath
*, struct svc_req
*);
209 #define MOUNTPROC_UMNTALL ((u_long)4)
210 extern "C" void * mountproc_umntall_1(void *, CLIENT
*);
211 extern "C" void * mountproc_umntall_1_svc(void *, struct svc_req
*);
212 #define MOUNTPROC_EXPORT ((u_long)5)
213 extern "C" exports
* mountproc_export_1(void *, CLIENT
*);
214 extern "C" exports
* mountproc_export_1_svc(void *, struct svc_req
*);
215 #define MOUNTPROC_EXPORTALL ((u_long)6)
216 extern "C" exports
* mountproc_exportall_1(void *, CLIENT
*);
217 extern "C" exports
* mountproc_exportall_1_svc(void *, struct svc_req
*);
220 #define MOUNTPROC_NULL ((u_long)0)
221 extern void * mountproc_null_1(void *, CLIENT
*);
222 extern void * mountproc_null_1_svc(void *, struct svc_req
*);
223 #define MOUNTPROC_MNT ((u_long)1)
224 extern fhstatus
* mountproc_mnt_1(dirpath
*, CLIENT
*);
225 extern fhstatus
* mountproc_mnt_1_svc(dirpath
*, struct svc_req
*);
226 #define MOUNTPROC_DUMP ((u_long)2)
227 extern mountlist
* mountproc_dump_1(void *, CLIENT
*);
228 extern mountlist
* mountproc_dump_1_svc(void *, struct svc_req
*);
229 #define MOUNTPROC_UMNT ((u_long)3)
230 extern void * mountproc_umnt_1(dirpath
*, CLIENT
*);
231 extern void * mountproc_umnt_1_svc(dirpath
*, struct svc_req
*);
232 #define MOUNTPROC_UMNTALL ((u_long)4)
233 extern void * mountproc_umntall_1(void *, CLIENT
*);
234 extern void * mountproc_umntall_1_svc(void *, struct svc_req
*);
235 #define MOUNTPROC_EXPORT ((u_long)5)
236 extern exports
* mountproc_export_1(void *, CLIENT
*);
237 extern exports
* mountproc_export_1_svc(void *, struct svc_req
*);
238 #define MOUNTPROC_EXPORTALL ((u_long)6)
239 extern exports
* mountproc_exportall_1(void *, CLIENT
*);
240 extern exports
* mountproc_exportall_1_svc(void *, struct svc_req
*);
242 #else /* Old Style C */
243 #define MOUNTPROC_NULL ((u_long)0)
244 extern void * mountproc_null_1();
245 extern void * mountproc_null_1_svc();
246 #define MOUNTPROC_MNT ((u_long)1)
247 extern fhstatus
* mountproc_mnt_1();
248 extern fhstatus
* mountproc_mnt_1_svc();
249 #define MOUNTPROC_DUMP ((u_long)2)
250 extern mountlist
* mountproc_dump_1();
251 extern mountlist
* mountproc_dump_1_svc();
252 #define MOUNTPROC_UMNT ((u_long)3)
253 extern void * mountproc_umnt_1();
254 extern void * mountproc_umnt_1_svc();
255 #define MOUNTPROC_UMNTALL ((u_long)4)
256 extern void * mountproc_umntall_1();
257 extern void * mountproc_umntall_1_svc();
258 #define MOUNTPROC_EXPORT ((u_long)5)
259 extern exports
* mountproc_export_1();
260 extern exports
* mountproc_export_1_svc();
261 #define MOUNTPROC_EXPORTALL ((u_long)6)
262 extern exports
* mountproc_exportall_1();
263 extern exports
* mountproc_exportall_1_svc();
264 #endif /* Old Style C */
265 #define MOUNTVERS_POSIX ((u_long)2)
268 extern "C" void * mountproc_null_2(void *, CLIENT
*);
269 extern "C" void * mountproc_null_2_svc(void *, struct svc_req
*);
270 extern "C" fhstatus
* mountproc_mnt_2(dirpath
*, CLIENT
*);
271 extern "C" fhstatus
* mountproc_mnt_2_svc(dirpath
*, struct svc_req
*);
272 extern "C" mountlist
* mountproc_dump_2(void *, CLIENT
*);
273 extern "C" mountlist
* mountproc_dump_2_svc(void *, struct svc_req
*);
274 extern "C" void * mountproc_umnt_2(dirpath
*, CLIENT
*);
275 extern "C" void * mountproc_umnt_2_svc(dirpath
*, struct svc_req
*);
276 extern "C" void * mountproc_umntall_2(void *, CLIENT
*);
277 extern "C" void * mountproc_umntall_2_svc(void *, struct svc_req
*);
278 extern "C" exports
* mountproc_export_2(void *, CLIENT
*);
279 extern "C" exports
* mountproc_export_2_svc(void *, struct svc_req
*);
280 extern "C" exports
* mountproc_exportall_2(void *, CLIENT
*);
281 extern "C" exports
* mountproc_exportall_2_svc(void *, struct svc_req
*);
282 #define MOUNTPROC_PATHCONF ((u_long)7)
283 extern "C" ppathcnf
* mountproc_pathconf_2(dirpath
*, CLIENT
*);
284 extern "C" ppathcnf
* mountproc_pathconf_2_svc(dirpath
*, struct svc_req
*);
287 extern void * mountproc_null_2(void *, CLIENT
*);
288 extern void * mountproc_null_2_svc(void *, struct svc_req
*);
289 extern fhstatus
* mountproc_mnt_2(dirpath
*, CLIENT
*);
290 extern fhstatus
* mountproc_mnt_2_svc(dirpath
*, struct svc_req
*);
291 extern mountlist
* mountproc_dump_2(void *, CLIENT
*);
292 extern mountlist
* mountproc_dump_2_svc(void *, struct svc_req
*);
293 extern void * mountproc_umnt_2(dirpath
*, CLIENT
*);
294 extern void * mountproc_umnt_2_svc(dirpath
*, struct svc_req
*);
295 extern void * mountproc_umntall_2(void *, CLIENT
*);
296 extern void * mountproc_umntall_2_svc(void *, struct svc_req
*);
297 extern exports
* mountproc_export_2(void *, CLIENT
*);
298 extern exports
* mountproc_export_2_svc(void *, struct svc_req
*);
299 extern exports
* mountproc_exportall_2(void *, CLIENT
*);
300 extern exports
* mountproc_exportall_2_svc(void *, struct svc_req
*);
301 #define MOUNTPROC_PATHCONF ((u_long)7)
302 extern ppathcnf
* mountproc_pathconf_2(dirpath
*, CLIENT
*);
303 extern ppathcnf
* mountproc_pathconf_2_svc(dirpath
*, struct svc_req
*);
305 #else /* Old Style C */
306 extern void * mountproc_null_2();
307 extern void * mountproc_null_2_svc();
308 extern fhstatus
* mountproc_mnt_2();
309 extern fhstatus
* mountproc_mnt_2_svc();
310 extern mountlist
* mountproc_dump_2();
311 extern mountlist
* mountproc_dump_2_svc();
312 extern void * mountproc_umnt_2();
313 extern void * mountproc_umnt_2_svc();
314 extern void * mountproc_umntall_2();
315 extern void * mountproc_umntall_2_svc();
316 extern exports
* mountproc_export_2();
317 extern exports
* mountproc_export_2_svc();
318 extern exports
* mountproc_exportall_2();
319 extern exports
* mountproc_exportall_2_svc();
320 #define MOUNTPROC_PATHCONF ((u_long)7)
321 extern ppathcnf
* mountproc_pathconf_2();
322 extern ppathcnf
* mountproc_pathconf_2_svc();
323 #endif /* Old Style C */
325 #endif /* !_MOUNT_H_RPCGEN */