Commit | Line | Data |
---|---|---|
763cd6e3 RS |
1 | /* |
2 | * Please do not edit this file. | |
3 | * It was generated using rpcgen. | |
4 | */ | |
5 | ||
6 | #ifndef _NFS_H_RPCGEN | |
7 | #define _NFS_H_RPCGEN | |
e803ae57 | 8 | #include <nfsc/libnfs-zdr.h> |
763cd6e3 | 9 | |
cd954dd5 RS |
10 | |
11 | ||
12 | ||
763cd6e3 RS |
13 | #ifdef __cplusplus |
14 | extern "C" { | |
15 | #endif | |
16 | ||
17 | #define NFS3_FHSIZE 64 | |
18 | #define NFS3_WRITEVERFSIZE 8 | |
19 | #define NFS3_CREATEVERFSIZE 8 | |
20 | #define NFS3_COOKIEVERFSIZE 8 | |
21 | ||
252aa90d CF |
22 | #if defined(ANDROID) |
23 | typedef long long int quad_t; | |
24 | typedef long long unsigned u_quad_t; | |
25 | #endif | |
67a9f57e RS |
26 | #if defined(WIN32) |
27 | typedef long long int quad_t; | |
28 | typedef long long unsigned u_quad_t; | |
29 | #endif | |
252aa90d | 30 | |
763cd6e3 RS |
31 | typedef char cookieverf3[NFS3_COOKIEVERFSIZE]; |
32 | ||
33 | typedef u_quad_t uint64; | |
34 | ||
35 | typedef uint64 cookie3; | |
36 | ||
37 | struct nfs_fh3 { | |
38 | struct { | |
39 | u_int data_len; | |
40 | char *data_val; | |
41 | } data; | |
42 | }; | |
43 | typedef struct nfs_fh3 nfs_fh3; | |
44 | ||
45 | typedef char *filename3; | |
46 | ||
47 | struct diropargs3 { | |
48 | nfs_fh3 dir; | |
49 | filename3 name; | |
50 | }; | |
51 | typedef struct diropargs3 diropargs3; | |
52 | ||
53 | enum ftype3 { | |
54 | NF3REG = 1, | |
55 | NF3DIR = 2, | |
56 | NF3BLK = 3, | |
57 | NF3CHR = 4, | |
58 | NF3LNK = 5, | |
59 | NF3SOCK = 6, | |
60 | NF3FIFO = 7, | |
61 | }; | |
62 | typedef enum ftype3 ftype3; | |
63 | ||
64 | typedef u_int mode3; | |
65 | ||
66 | typedef u_int uid3; | |
67 | ||
68 | typedef u_int gid3; | |
69 | ||
70 | typedef uint64 size3; | |
71 | ||
72 | typedef uint64 fileid3; | |
73 | ||
74 | struct specdata3 { | |
75 | u_int specdata1; | |
76 | u_int specdata2; | |
77 | }; | |
78 | typedef struct specdata3 specdata3; | |
79 | ||
80 | struct nfstime3 { | |
81 | u_int seconds; | |
82 | u_int nseconds; | |
83 | }; | |
84 | typedef struct nfstime3 nfstime3; | |
85 | ||
86 | struct fattr3 { | |
87 | ftype3 type; | |
88 | mode3 mode; | |
89 | u_int nlink; | |
90 | uid3 uid; | |
91 | gid3 gid; | |
92 | size3 size; | |
93 | size3 used; | |
94 | specdata3 rdev; | |
95 | uint64 fsid; | |
96 | fileid3 fileid; | |
97 | nfstime3 atime; | |
98 | nfstime3 mtime; | |
99 | nfstime3 ctime; | |
100 | }; | |
101 | typedef struct fattr3 fattr3; | |
102 | ||
103 | struct post_op_attr { | |
104 | bool_t attributes_follow; | |
105 | union { | |
106 | fattr3 attributes; | |
107 | } post_op_attr_u; | |
108 | }; | |
109 | typedef struct post_op_attr post_op_attr; | |
110 | ||
111 | enum nfsstat3 { | |
112 | NFS3_OK = 0, | |
113 | NFS3ERR_PERM = 1, | |
114 | NFS3ERR_NOENT = 2, | |
115 | NFS3ERR_IO = 5, | |
116 | NFS3ERR_NXIO = 6, | |
117 | NFS3ERR_ACCES = 13, | |
118 | NFS3ERR_EXIST = 17, | |
119 | NFS3ERR_XDEV = 18, | |
120 | NFS3ERR_NODEV = 19, | |
121 | NFS3ERR_NOTDIR = 20, | |
122 | NFS3ERR_ISDIR = 21, | |
123 | NFS3ERR_INVAL = 22, | |
124 | NFS3ERR_FBIG = 27, | |
125 | NFS3ERR_NOSPC = 28, | |
126 | NFS3ERR_ROFS = 30, | |
127 | NFS3ERR_MLINK = 31, | |
128 | NFS3ERR_NAMETOOLONG = 63, | |
129 | NFS3ERR_NOTEMPTY = 66, | |
130 | NFS3ERR_DQUOT = 69, | |
131 | NFS3ERR_STALE = 70, | |
132 | NFS3ERR_REMOTE = 71, | |
133 | NFS3ERR_BADHANDLE = 10001, | |
134 | NFS3ERR_NOT_SYNC = 10002, | |
135 | NFS3ERR_BAD_COOKIE = 10003, | |
136 | NFS3ERR_NOTSUPP = 10004, | |
137 | NFS3ERR_TOOSMALL = 10005, | |
138 | NFS3ERR_SERVERFAULT = 10006, | |
139 | NFS3ERR_BADTYPE = 10007, | |
140 | NFS3ERR_JUKEBOX = 10008, | |
141 | }; | |
142 | typedef enum nfsstat3 nfsstat3; | |
143 | ||
144 | enum stable_how { | |
145 | UNSTABLE = 0, | |
146 | DATA_SYNC = 1, | |
147 | FILE_SYNC = 2, | |
148 | }; | |
149 | typedef enum stable_how stable_how; | |
150 | ||
151 | typedef uint64 offset3; | |
152 | ||
153 | typedef u_int count3; | |
154 | ||
155 | struct wcc_attr { | |
156 | size3 size; | |
157 | nfstime3 mtime; | |
158 | nfstime3 ctime; | |
159 | }; | |
160 | typedef struct wcc_attr wcc_attr; | |
161 | ||
162 | struct pre_op_attr { | |
163 | bool_t attributes_follow; | |
164 | union { | |
165 | wcc_attr attributes; | |
166 | } pre_op_attr_u; | |
167 | }; | |
168 | typedef struct pre_op_attr pre_op_attr; | |
169 | ||
170 | struct wcc_data { | |
171 | pre_op_attr before; | |
172 | post_op_attr after; | |
173 | }; | |
174 | typedef struct wcc_data wcc_data; | |
175 | ||
176 | struct WRITE3args { | |
177 | nfs_fh3 file; | |
178 | offset3 offset; | |
179 | count3 count; | |
180 | stable_how stable; | |
181 | struct { | |
182 | u_int data_len; | |
183 | char *data_val; | |
184 | } data; | |
185 | }; | |
186 | typedef struct WRITE3args WRITE3args; | |
187 | ||
188 | typedef char writeverf3[NFS3_WRITEVERFSIZE]; | |
189 | ||
190 | struct WRITE3resok { | |
191 | wcc_data file_wcc; | |
192 | count3 count; | |
193 | stable_how committed; | |
194 | writeverf3 verf; | |
195 | }; | |
196 | typedef struct WRITE3resok WRITE3resok; | |
197 | ||
198 | struct WRITE3resfail { | |
199 | wcc_data file_wcc; | |
200 | }; | |
201 | typedef struct WRITE3resfail WRITE3resfail; | |
202 | ||
203 | struct WRITE3res { | |
204 | nfsstat3 status; | |
205 | union { | |
206 | WRITE3resok resok; | |
207 | WRITE3resfail resfail; | |
208 | } WRITE3res_u; | |
209 | }; | |
210 | typedef struct WRITE3res WRITE3res; | |
211 | ||
212 | struct LOOKUP3args { | |
213 | diropargs3 what; | |
214 | }; | |
215 | typedef struct LOOKUP3args LOOKUP3args; | |
216 | ||
217 | struct LOOKUP3resok { | |
218 | nfs_fh3 object; | |
219 | post_op_attr obj_attributes; | |
220 | post_op_attr dir_attributes; | |
221 | }; | |
222 | typedef struct LOOKUP3resok LOOKUP3resok; | |
223 | ||
224 | struct LOOKUP3resfail { | |
225 | post_op_attr dir_attributes; | |
226 | }; | |
227 | typedef struct LOOKUP3resfail LOOKUP3resfail; | |
228 | ||
229 | struct LOOKUP3res { | |
230 | nfsstat3 status; | |
231 | union { | |
232 | LOOKUP3resok resok; | |
233 | LOOKUP3resfail resfail; | |
234 | } LOOKUP3res_u; | |
235 | }; | |
236 | typedef struct LOOKUP3res LOOKUP3res; | |
237 | ||
238 | struct COMMIT3args { | |
239 | nfs_fh3 file; | |
240 | offset3 offset; | |
241 | count3 count; | |
242 | }; | |
243 | typedef struct COMMIT3args COMMIT3args; | |
244 | ||
245 | struct COMMIT3resok { | |
246 | wcc_data file_wcc; | |
247 | writeverf3 verf; | |
248 | }; | |
249 | typedef struct COMMIT3resok COMMIT3resok; | |
250 | ||
251 | struct COMMIT3resfail { | |
252 | wcc_data file_wcc; | |
253 | }; | |
254 | typedef struct COMMIT3resfail COMMIT3resfail; | |
255 | ||
256 | struct COMMIT3res { | |
257 | nfsstat3 status; | |
258 | union { | |
259 | COMMIT3resok resok; | |
260 | COMMIT3resfail resfail; | |
261 | } COMMIT3res_u; | |
262 | }; | |
263 | typedef struct COMMIT3res COMMIT3res; | |
264 | #define ACCESS3_READ 0x0001 | |
265 | #define ACCESS3_LOOKUP 0x0002 | |
266 | #define ACCESS3_MODIFY 0x0004 | |
267 | #define ACCESS3_EXTEND 0x0008 | |
268 | #define ACCESS3_DELETE 0x0010 | |
269 | #define ACCESS3_EXECUTE 0x0020 | |
270 | ||
271 | struct ACCESS3args { | |
272 | nfs_fh3 object; | |
273 | u_int access; | |
274 | }; | |
275 | typedef struct ACCESS3args ACCESS3args; | |
276 | ||
277 | struct ACCESS3resok { | |
278 | post_op_attr obj_attributes; | |
279 | u_int access; | |
280 | }; | |
281 | typedef struct ACCESS3resok ACCESS3resok; | |
282 | ||
283 | struct ACCESS3resfail { | |
284 | post_op_attr obj_attributes; | |
285 | }; | |
286 | typedef struct ACCESS3resfail ACCESS3resfail; | |
287 | ||
288 | struct ACCESS3res { | |
289 | nfsstat3 status; | |
290 | union { | |
291 | ACCESS3resok resok; | |
292 | ACCESS3resfail resfail; | |
293 | } ACCESS3res_u; | |
294 | }; | |
295 | typedef struct ACCESS3res ACCESS3res; | |
296 | ||
297 | struct GETATTR3args { | |
298 | nfs_fh3 object; | |
299 | }; | |
300 | typedef struct GETATTR3args GETATTR3args; | |
301 | ||
302 | struct GETATTR3resok { | |
303 | fattr3 obj_attributes; | |
304 | }; | |
305 | typedef struct GETATTR3resok GETATTR3resok; | |
306 | ||
307 | struct GETATTR3res { | |
308 | nfsstat3 status; | |
309 | union { | |
310 | GETATTR3resok resok; | |
311 | } GETATTR3res_u; | |
312 | }; | |
313 | typedef struct GETATTR3res GETATTR3res; | |
314 | ||
315 | enum time_how { | |
316 | DONT_CHANGE = 0, | |
317 | SET_TO_SERVER_TIME = 1, | |
318 | SET_TO_CLIENT_TIME = 2, | |
319 | }; | |
320 | typedef enum time_how time_how; | |
321 | ||
322 | struct set_mode3 { | |
323 | bool_t set_it; | |
324 | union { | |
325 | mode3 mode; | |
326 | } set_mode3_u; | |
327 | }; | |
328 | typedef struct set_mode3 set_mode3; | |
329 | ||
330 | struct set_uid3 { | |
331 | bool_t set_it; | |
332 | union { | |
333 | uid3 uid; | |
334 | } set_uid3_u; | |
335 | }; | |
336 | typedef struct set_uid3 set_uid3; | |
337 | ||
338 | struct set_gid3 { | |
339 | bool_t set_it; | |
340 | union { | |
341 | gid3 gid; | |
342 | } set_gid3_u; | |
343 | }; | |
344 | typedef struct set_gid3 set_gid3; | |
345 | ||
346 | struct set_size3 { | |
347 | bool_t set_it; | |
348 | union { | |
349 | size3 size; | |
350 | } set_size3_u; | |
351 | }; | |
352 | typedef struct set_size3 set_size3; | |
353 | ||
354 | struct set_atime { | |
355 | time_how set_it; | |
356 | union { | |
357 | nfstime3 atime; | |
358 | } set_atime_u; | |
359 | }; | |
360 | typedef struct set_atime set_atime; | |
361 | ||
362 | struct set_mtime { | |
363 | time_how set_it; | |
364 | union { | |
365 | nfstime3 mtime; | |
366 | } set_mtime_u; | |
367 | }; | |
368 | typedef struct set_mtime set_mtime; | |
369 | ||
370 | struct sattr3 { | |
371 | set_mode3 mode; | |
372 | set_uid3 uid; | |
373 | set_gid3 gid; | |
374 | set_size3 size; | |
375 | set_atime atime; | |
376 | set_mtime mtime; | |
377 | }; | |
378 | typedef struct sattr3 sattr3; | |
379 | ||
380 | enum createmode3 { | |
381 | UNCHECKED = 0, | |
382 | GUARDED = 1, | |
383 | EXCLUSIVE = 2, | |
384 | }; | |
385 | typedef enum createmode3 createmode3; | |
386 | ||
387 | typedef char createverf3[NFS3_CREATEVERFSIZE]; | |
388 | ||
389 | struct createhow3 { | |
390 | createmode3 mode; | |
391 | union { | |
392 | sattr3 obj_attributes; | |
393 | sattr3 g_obj_attributes; | |
394 | createverf3 verf; | |
395 | } createhow3_u; | |
396 | }; | |
397 | typedef struct createhow3 createhow3; | |
398 | ||
399 | struct CREATE3args { | |
400 | diropargs3 where; | |
401 | createhow3 how; | |
402 | }; | |
403 | typedef struct CREATE3args CREATE3args; | |
404 | ||
405 | struct post_op_fh3 { | |
406 | bool_t handle_follows; | |
407 | union { | |
408 | nfs_fh3 handle; | |
409 | } post_op_fh3_u; | |
410 | }; | |
411 | typedef struct post_op_fh3 post_op_fh3; | |
412 | ||
413 | struct CREATE3resok { | |
414 | post_op_fh3 obj; | |
415 | post_op_attr obj_attributes; | |
416 | wcc_data dir_wcc; | |
417 | }; | |
418 | typedef struct CREATE3resok CREATE3resok; | |
419 | ||
420 | struct CREATE3resfail { | |
421 | wcc_data dir_wcc; | |
422 | }; | |
423 | typedef struct CREATE3resfail CREATE3resfail; | |
424 | ||
425 | struct CREATE3res { | |
426 | nfsstat3 status; | |
427 | union { | |
428 | CREATE3resok resok; | |
429 | CREATE3resfail resfail; | |
430 | } CREATE3res_u; | |
431 | }; | |
432 | typedef struct CREATE3res CREATE3res; | |
433 | ||
434 | struct REMOVE3args { | |
435 | diropargs3 object; | |
436 | }; | |
437 | typedef struct REMOVE3args REMOVE3args; | |
438 | ||
439 | struct REMOVE3resok { | |
440 | wcc_data dir_wcc; | |
441 | }; | |
442 | typedef struct REMOVE3resok REMOVE3resok; | |
443 | ||
444 | struct REMOVE3resfail { | |
445 | wcc_data dir_wcc; | |
446 | }; | |
447 | typedef struct REMOVE3resfail REMOVE3resfail; | |
448 | ||
449 | struct REMOVE3res { | |
450 | nfsstat3 status; | |
451 | union { | |
452 | REMOVE3resok resok; | |
453 | REMOVE3resfail resfail; | |
454 | } REMOVE3res_u; | |
455 | }; | |
456 | typedef struct REMOVE3res REMOVE3res; | |
457 | ||
458 | struct READ3args { | |
459 | nfs_fh3 file; | |
460 | offset3 offset; | |
461 | count3 count; | |
462 | }; | |
463 | typedef struct READ3args READ3args; | |
464 | ||
465 | struct READ3resok { | |
466 | post_op_attr file_attributes; | |
467 | count3 count; | |
468 | bool_t eof; | |
469 | struct { | |
470 | u_int data_len; | |
471 | char *data_val; | |
472 | } data; | |
473 | }; | |
474 | typedef struct READ3resok READ3resok; | |
475 | ||
476 | struct READ3resfail { | |
477 | post_op_attr file_attributes; | |
478 | }; | |
479 | typedef struct READ3resfail READ3resfail; | |
480 | ||
481 | struct READ3res { | |
482 | nfsstat3 status; | |
483 | union { | |
484 | READ3resok resok; | |
485 | READ3resfail resfail; | |
486 | } READ3res_u; | |
487 | }; | |
488 | typedef struct READ3res READ3res; | |
489 | #define FSF3_LINK 0x0001 | |
490 | #define FSF3_SYMLINK 0x0002 | |
491 | #define FSF3_HOMOGENEOUS 0x0008 | |
492 | #define FSF3_CANSETTIME 0x0010 | |
493 | ||
494 | struct FSINFO3args { | |
495 | nfs_fh3 fsroot; | |
496 | }; | |
497 | typedef struct FSINFO3args FSINFO3args; | |
498 | ||
499 | struct FSINFO3resok { | |
500 | post_op_attr obj_attributes; | |
501 | u_int rtmax; | |
502 | u_int rtpref; | |
503 | u_int rtmult; | |
504 | u_int wtmax; | |
505 | u_int wtpref; | |
506 | u_int wtmult; | |
507 | u_int dtpref; | |
508 | size3 maxfilesize; | |
509 | nfstime3 time_delta; | |
510 | u_int properties; | |
511 | }; | |
512 | typedef struct FSINFO3resok FSINFO3resok; | |
513 | ||
514 | struct FSINFO3resfail { | |
515 | post_op_attr obj_attributes; | |
516 | }; | |
517 | typedef struct FSINFO3resfail FSINFO3resfail; | |
518 | ||
519 | struct FSINFO3res { | |
520 | nfsstat3 status; | |
521 | union { | |
522 | FSINFO3resok resok; | |
523 | FSINFO3resfail resfail; | |
524 | } FSINFO3res_u; | |
525 | }; | |
526 | typedef struct FSINFO3res FSINFO3res; | |
527 | ||
528 | struct FSSTAT3args { | |
529 | nfs_fh3 fsroot; | |
530 | }; | |
531 | typedef struct FSSTAT3args FSSTAT3args; | |
532 | ||
533 | struct FSSTAT3resok { | |
534 | post_op_attr obj_attributes; | |
535 | size3 tbytes; | |
536 | size3 fbytes; | |
537 | size3 abytes; | |
538 | size3 tfiles; | |
539 | size3 ffiles; | |
540 | size3 afiles; | |
541 | u_int invarsec; | |
542 | }; | |
543 | typedef struct FSSTAT3resok FSSTAT3resok; | |
544 | ||
545 | struct FSSTAT3resfail { | |
546 | post_op_attr obj_attributes; | |
547 | }; | |
548 | typedef struct FSSTAT3resfail FSSTAT3resfail; | |
549 | ||
550 | struct FSSTAT3res { | |
551 | nfsstat3 status; | |
552 | union { | |
553 | FSSTAT3resok resok; | |
554 | FSSTAT3resfail resfail; | |
555 | } FSSTAT3res_u; | |
556 | }; | |
557 | typedef struct FSSTAT3res FSSTAT3res; | |
558 | ||
559 | struct PATHCONF3args { | |
560 | nfs_fh3 object; | |
561 | }; | |
562 | typedef struct PATHCONF3args PATHCONF3args; | |
563 | ||
564 | struct PATHCONF3resok { | |
565 | post_op_attr obj_attributes; | |
566 | u_int linkmax; | |
567 | u_int name_max; | |
568 | bool_t no_trunc; | |
569 | bool_t chown_restricted; | |
570 | bool_t case_insensitive; | |
571 | bool_t case_preserving; | |
572 | }; | |
573 | typedef struct PATHCONF3resok PATHCONF3resok; | |
574 | ||
575 | struct PATHCONF3resfail { | |
576 | post_op_attr obj_attributes; | |
577 | }; | |
578 | typedef struct PATHCONF3resfail PATHCONF3resfail; | |
579 | ||
580 | struct PATHCONF3res { | |
581 | nfsstat3 status; | |
582 | union { | |
583 | PATHCONF3resok resok; | |
584 | PATHCONF3resfail resfail; | |
585 | } PATHCONF3res_u; | |
586 | }; | |
587 | typedef struct PATHCONF3res PATHCONF3res; | |
588 | ||
589 | typedef char *nfspath3; | |
590 | ||
591 | struct symlinkdata3 { | |
592 | sattr3 symlink_attributes; | |
593 | nfspath3 symlink_data; | |
594 | }; | |
595 | typedef struct symlinkdata3 symlinkdata3; | |
596 | ||
597 | struct SYMLINK3args { | |
598 | diropargs3 where; | |
599 | symlinkdata3 symlink; | |
600 | }; | |
601 | typedef struct SYMLINK3args SYMLINK3args; | |
602 | ||
603 | struct SYMLINK3resok { | |
604 | post_op_fh3 obj; | |
605 | post_op_attr obj_attributes; | |
606 | wcc_data dir_wcc; | |
607 | }; | |
608 | typedef struct SYMLINK3resok SYMLINK3resok; | |
609 | ||
610 | struct SYMLINK3resfail { | |
611 | wcc_data dir_wcc; | |
612 | }; | |
613 | typedef struct SYMLINK3resfail SYMLINK3resfail; | |
614 | ||
615 | struct SYMLINK3res { | |
616 | nfsstat3 status; | |
617 | union { | |
618 | SYMLINK3resok resok; | |
619 | SYMLINK3resfail resfail; | |
620 | } SYMLINK3res_u; | |
621 | }; | |
622 | typedef struct SYMLINK3res SYMLINK3res; | |
623 | ||
624 | struct READLINK3args { | |
625 | nfs_fh3 symlink; | |
626 | }; | |
627 | typedef struct READLINK3args READLINK3args; | |
628 | ||
629 | struct READLINK3resok { | |
630 | post_op_attr symlink_attributes; | |
631 | nfspath3 data; | |
632 | }; | |
633 | typedef struct READLINK3resok READLINK3resok; | |
634 | ||
635 | struct READLINK3resfail { | |
636 | post_op_attr symlink_attributes; | |
637 | }; | |
638 | typedef struct READLINK3resfail READLINK3resfail; | |
639 | ||
640 | struct READLINK3res { | |
641 | nfsstat3 status; | |
642 | union { | |
643 | READLINK3resok resok; | |
644 | READLINK3resfail resfail; | |
645 | } READLINK3res_u; | |
646 | }; | |
647 | typedef struct READLINK3res READLINK3res; | |
648 | ||
649 | struct devicedata3 { | |
650 | sattr3 dev_attributes; | |
651 | specdata3 spec; | |
652 | }; | |
653 | typedef struct devicedata3 devicedata3; | |
654 | ||
655 | struct mknoddata3 { | |
656 | ftype3 type; | |
657 | union { | |
658 | devicedata3 chr_device; | |
659 | devicedata3 blk_device; | |
660 | sattr3 sock_attributes; | |
661 | sattr3 pipe_attributes; | |
662 | } mknoddata3_u; | |
663 | }; | |
664 | typedef struct mknoddata3 mknoddata3; | |
665 | ||
666 | struct MKNOD3args { | |
667 | diropargs3 where; | |
668 | mknoddata3 what; | |
669 | }; | |
670 | typedef struct MKNOD3args MKNOD3args; | |
671 | ||
672 | struct MKNOD3resok { | |
673 | post_op_fh3 obj; | |
674 | post_op_attr obj_attributes; | |
675 | wcc_data dir_wcc; | |
676 | }; | |
677 | typedef struct MKNOD3resok MKNOD3resok; | |
678 | ||
679 | struct MKNOD3resfail { | |
680 | wcc_data dir_wcc; | |
681 | }; | |
682 | typedef struct MKNOD3resfail MKNOD3resfail; | |
683 | ||
684 | struct MKNOD3res { | |
685 | nfsstat3 status; | |
686 | union { | |
687 | MKNOD3resok resok; | |
688 | MKNOD3resfail resfail; | |
689 | } MKNOD3res_u; | |
690 | }; | |
691 | typedef struct MKNOD3res MKNOD3res; | |
692 | ||
693 | struct MKDIR3args { | |
694 | diropargs3 where; | |
695 | sattr3 attributes; | |
696 | }; | |
697 | typedef struct MKDIR3args MKDIR3args; | |
698 | ||
699 | struct MKDIR3resok { | |
700 | post_op_fh3 obj; | |
701 | post_op_attr obj_attributes; | |
702 | wcc_data dir_wcc; | |
703 | }; | |
704 | typedef struct MKDIR3resok MKDIR3resok; | |
705 | ||
706 | struct MKDIR3resfail { | |
707 | wcc_data dir_wcc; | |
708 | }; | |
709 | typedef struct MKDIR3resfail MKDIR3resfail; | |
710 | ||
711 | struct MKDIR3res { | |
712 | nfsstat3 status; | |
713 | union { | |
714 | MKDIR3resok resok; | |
715 | MKDIR3resfail resfail; | |
716 | } MKDIR3res_u; | |
717 | }; | |
718 | typedef struct MKDIR3res MKDIR3res; | |
719 | ||
720 | struct RMDIR3args { | |
721 | diropargs3 object; | |
722 | }; | |
723 | typedef struct RMDIR3args RMDIR3args; | |
724 | ||
725 | struct RMDIR3resok { | |
726 | wcc_data dir_wcc; | |
727 | }; | |
728 | typedef struct RMDIR3resok RMDIR3resok; | |
729 | ||
730 | struct RMDIR3resfail { | |
731 | wcc_data dir_wcc; | |
732 | }; | |
733 | typedef struct RMDIR3resfail RMDIR3resfail; | |
734 | ||
735 | struct RMDIR3res { | |
736 | nfsstat3 status; | |
737 | union { | |
738 | RMDIR3resok resok; | |
739 | RMDIR3resfail resfail; | |
740 | } RMDIR3res_u; | |
741 | }; | |
742 | typedef struct RMDIR3res RMDIR3res; | |
743 | ||
744 | struct RENAME3args { | |
745 | diropargs3 from; | |
746 | diropargs3 to; | |
747 | }; | |
748 | typedef struct RENAME3args RENAME3args; | |
749 | ||
750 | struct RENAME3resok { | |
751 | wcc_data fromdir_wcc; | |
752 | wcc_data todir_wcc; | |
753 | }; | |
754 | typedef struct RENAME3resok RENAME3resok; | |
755 | ||
756 | struct RENAME3resfail { | |
757 | wcc_data fromdir_wcc; | |
758 | wcc_data todir_wcc; | |
759 | }; | |
760 | typedef struct RENAME3resfail RENAME3resfail; | |
761 | ||
762 | struct RENAME3res { | |
763 | nfsstat3 status; | |
764 | union { | |
765 | RENAME3resok resok; | |
766 | RENAME3resfail resfail; | |
767 | } RENAME3res_u; | |
768 | }; | |
769 | typedef struct RENAME3res RENAME3res; | |
770 | ||
771 | struct READDIRPLUS3args { | |
772 | nfs_fh3 dir; | |
773 | cookie3 cookie; | |
774 | cookieverf3 cookieverf; | |
775 | count3 dircount; | |
776 | count3 maxcount; | |
777 | }; | |
778 | typedef struct READDIRPLUS3args READDIRPLUS3args; | |
779 | ||
780 | struct entryplus3 { | |
781 | fileid3 fileid; | |
782 | filename3 name; | |
783 | cookie3 cookie; | |
784 | post_op_attr name_attributes; | |
785 | post_op_fh3 name_handle; | |
786 | struct entryplus3 *nextentry; | |
787 | }; | |
788 | typedef struct entryplus3 entryplus3; | |
789 | ||
790 | struct dirlistplus3 { | |
791 | entryplus3 *entries; | |
792 | bool_t eof; | |
793 | }; | |
794 | typedef struct dirlistplus3 dirlistplus3; | |
795 | ||
796 | struct READDIRPLUS3resok { | |
797 | post_op_attr dir_attributes; | |
798 | cookieverf3 cookieverf; | |
799 | dirlistplus3 reply; | |
800 | }; | |
801 | typedef struct READDIRPLUS3resok READDIRPLUS3resok; | |
802 | ||
803 | struct READDIRPLUS3resfail { | |
804 | post_op_attr dir_attributes; | |
805 | }; | |
806 | typedef struct READDIRPLUS3resfail READDIRPLUS3resfail; | |
807 | ||
808 | struct READDIRPLUS3res { | |
809 | nfsstat3 status; | |
810 | union { | |
811 | READDIRPLUS3resok resok; | |
812 | READDIRPLUS3resfail resfail; | |
813 | } READDIRPLUS3res_u; | |
814 | }; | |
815 | typedef struct READDIRPLUS3res READDIRPLUS3res; | |
816 | ||
817 | struct READDIR3args { | |
818 | nfs_fh3 dir; | |
819 | cookie3 cookie; | |
820 | cookieverf3 cookieverf; | |
821 | count3 count; | |
822 | }; | |
823 | typedef struct READDIR3args READDIR3args; | |
824 | ||
825 | struct entry3 { | |
826 | fileid3 fileid; | |
827 | filename3 name; | |
828 | cookie3 cookie; | |
829 | struct entry3 *nextentry; | |
830 | }; | |
831 | typedef struct entry3 entry3; | |
832 | ||
833 | struct dirlist3 { | |
834 | entry3 *entries; | |
835 | bool_t eof; | |
836 | }; | |
837 | typedef struct dirlist3 dirlist3; | |
838 | ||
839 | struct READDIR3resok { | |
840 | post_op_attr dir_attributes; | |
841 | cookieverf3 cookieverf; | |
842 | dirlist3 reply; | |
843 | }; | |
844 | typedef struct READDIR3resok READDIR3resok; | |
845 | ||
846 | struct READDIR3resfail { | |
847 | post_op_attr dir_attributes; | |
848 | }; | |
849 | typedef struct READDIR3resfail READDIR3resfail; | |
850 | ||
851 | struct READDIR3res { | |
852 | nfsstat3 status; | |
853 | union { | |
854 | READDIR3resok resok; | |
855 | READDIR3resfail resfail; | |
856 | } READDIR3res_u; | |
857 | }; | |
858 | typedef struct READDIR3res READDIR3res; | |
859 | ||
860 | struct LINK3args { | |
861 | nfs_fh3 file; | |
862 | diropargs3 link; | |
863 | }; | |
864 | typedef struct LINK3args LINK3args; | |
865 | ||
866 | struct LINK3resok { | |
867 | post_op_attr file_attributes; | |
868 | wcc_data linkdir_wcc; | |
869 | }; | |
870 | typedef struct LINK3resok LINK3resok; | |
871 | ||
872 | struct LINK3resfail { | |
873 | post_op_attr file_attributes; | |
874 | wcc_data linkdir_wcc; | |
875 | }; | |
876 | typedef struct LINK3resfail LINK3resfail; | |
877 | ||
878 | struct LINK3res { | |
879 | nfsstat3 status; | |
880 | union { | |
881 | LINK3resok resok; | |
882 | LINK3resfail resfail; | |
883 | } LINK3res_u; | |
884 | }; | |
885 | typedef struct LINK3res LINK3res; | |
886 | ||
887 | struct sattrguard3 { | |
888 | bool_t check; | |
889 | union { | |
890 | nfstime3 obj_ctime; | |
891 | } sattrguard3_u; | |
892 | }; | |
893 | typedef struct sattrguard3 sattrguard3; | |
894 | ||
895 | struct SETATTR3args { | |
896 | nfs_fh3 object; | |
897 | sattr3 new_attributes; | |
898 | sattrguard3 guard; | |
899 | }; | |
900 | typedef struct SETATTR3args SETATTR3args; | |
901 | ||
902 | struct SETATTR3resok { | |
903 | wcc_data obj_wcc; | |
904 | }; | |
905 | typedef struct SETATTR3resok SETATTR3resok; | |
906 | ||
907 | struct SETATTR3resfail { | |
908 | wcc_data obj_wcc; | |
909 | }; | |
910 | typedef struct SETATTR3resfail SETATTR3resfail; | |
911 | ||
912 | struct SETATTR3res { | |
913 | nfsstat3 status; | |
914 | union { | |
915 | SETATTR3resok resok; | |
916 | SETATTR3resfail resfail; | |
917 | } SETATTR3res_u; | |
918 | }; | |
919 | typedef struct SETATTR3res SETATTR3res; | |
f38aacf8 RS |
920 | #define FHSIZE2 32 |
921 | ||
922 | typedef char fhandle2[FHSIZE2]; | |
923 | ||
924 | enum ftype2 { | |
925 | NF2NON = 0, | |
926 | NF2REG = 1, | |
927 | NF2DIR = 2, | |
928 | NF2BLK = 3, | |
929 | NF2CHR = 4, | |
930 | NF2LNK = 5, | |
931 | }; | |
932 | typedef enum ftype2 ftype2; | |
933 | ||
934 | struct fattr2 { | |
935 | ftype2 type; | |
936 | u_int mode; | |
937 | u_int nlink; | |
938 | u_int uid; | |
939 | u_int gid; | |
940 | u_int size; | |
941 | u_int blocksize; | |
942 | u_int rdev; | |
943 | u_int blocks; | |
944 | u_int fsid; | |
945 | u_int fileid; | |
946 | nfstime3 atime; | |
947 | nfstime3 mtime; | |
948 | nfstime3 ctime; | |
949 | }; | |
950 | typedef struct fattr2 fattr2; | |
951 | ||
952 | struct sattr2 { | |
953 | u_int mode; | |
954 | u_int uid; | |
955 | u_int gid; | |
956 | u_int size; | |
957 | nfstime3 atime; | |
958 | nfstime3 mtime; | |
959 | }; | |
960 | typedef struct sattr2 sattr2; | |
961 | #define MAXNAMLEN2 255 | |
962 | ||
963 | typedef char *filename2; | |
964 | #define MAXPATHLEN2 1024 | |
965 | ||
966 | typedef char *path2; | |
967 | #define NFSMAXDATA2 8192 | |
968 | ||
969 | typedef struct { | |
970 | u_int nfsdata2_len; | |
971 | char *nfsdata2_val; | |
972 | } nfsdata2; | |
973 | #define NFSCOOKIESIZE2 4 | |
974 | ||
975 | typedef char nfscookie2[NFSCOOKIESIZE2]; | |
976 | ||
977 | struct entry2 { | |
978 | u_int fileid; | |
979 | filename2 name; | |
980 | nfscookie2 cookie; | |
981 | struct entry2 *nextentry; | |
982 | }; | |
983 | typedef struct entry2 entry2; | |
984 | ||
985 | struct diropargs2 { | |
986 | fhandle2 dir; | |
987 | filename2 name; | |
988 | }; | |
989 | typedef struct diropargs2 diropargs2; | |
990 | ||
991 | struct GETATTR2args { | |
992 | fhandle2 fhandle; | |
993 | }; | |
994 | typedef struct GETATTR2args GETATTR2args; | |
995 | ||
996 | struct GETATTR2resok { | |
997 | fattr2 attributes; | |
998 | }; | |
999 | typedef struct GETATTR2resok GETATTR2resok; | |
1000 | ||
1001 | struct GETATTR2res { | |
1002 | nfsstat3 status; | |
1003 | union { | |
1004 | GETATTR2resok resok; | |
1005 | } GETATTR2res_u; | |
1006 | }; | |
1007 | typedef struct GETATTR2res GETATTR2res; | |
1008 | ||
1009 | struct SETATTR2args { | |
1010 | fhandle2 fhandle; | |
1011 | sattr2 attributes; | |
1012 | }; | |
1013 | typedef struct SETATTR2args SETATTR2args; | |
1014 | ||
1015 | struct SETATTR2resok { | |
1016 | fattr2 attributes; | |
1017 | }; | |
1018 | typedef struct SETATTR2resok SETATTR2resok; | |
1019 | ||
1020 | struct SETATTR2res { | |
1021 | nfsstat3 status; | |
1022 | union { | |
1023 | SETATTR2resok resok; | |
1024 | } SETATTR2res_u; | |
1025 | }; | |
1026 | typedef struct SETATTR2res SETATTR2res; | |
1027 | ||
1028 | struct LOOKUP2args { | |
1029 | diropargs2 what; | |
1030 | }; | |
1031 | typedef struct LOOKUP2args LOOKUP2args; | |
1032 | ||
1033 | struct LOOKUP2resok { | |
1034 | fhandle2 file; | |
1035 | fattr2 attributes; | |
1036 | }; | |
1037 | typedef struct LOOKUP2resok LOOKUP2resok; | |
1038 | ||
1039 | struct LOOKUP2res { | |
1040 | nfsstat3 status; | |
1041 | union { | |
1042 | LOOKUP2resok resok; | |
1043 | } LOOKUP2res_u; | |
1044 | }; | |
1045 | typedef struct LOOKUP2res LOOKUP2res; | |
1046 | ||
1047 | struct READLINK2args { | |
1048 | fhandle2 file; | |
1049 | }; | |
1050 | typedef struct READLINK2args READLINK2args; | |
1051 | ||
1052 | struct READLINK2resok { | |
1053 | path2 data; | |
1054 | }; | |
1055 | typedef struct READLINK2resok READLINK2resok; | |
1056 | ||
1057 | struct READLINK2res { | |
1058 | nfsstat3 status; | |
1059 | union { | |
1060 | READLINK2resok resok; | |
1061 | } READLINK2res_u; | |
1062 | }; | |
1063 | typedef struct READLINK2res READLINK2res; | |
1064 | ||
1065 | struct READ2args { | |
1066 | fhandle2 file; | |
1067 | u_int offset; | |
1068 | u_int count; | |
1069 | u_int totalcount; | |
1070 | }; | |
1071 | typedef struct READ2args READ2args; | |
1072 | ||
1073 | struct READ2resok { | |
1074 | fattr2 attributes; | |
1075 | nfsdata2 data; | |
1076 | }; | |
1077 | typedef struct READ2resok READ2resok; | |
1078 | ||
1079 | struct READ2res { | |
1080 | nfsstat3 status; | |
1081 | union { | |
1082 | READ2resok resok; | |
1083 | } READ2res_u; | |
1084 | }; | |
1085 | typedef struct READ2res READ2res; | |
1086 | ||
1087 | struct WRITE2args { | |
1088 | fhandle2 file; | |
1089 | u_int beginoffset; | |
1090 | u_int offset; | |
1091 | u_int totalcount; | |
1092 | nfsdata2 data; | |
1093 | }; | |
1094 | typedef struct WRITE2args WRITE2args; | |
1095 | ||
1096 | struct WRITE2resok { | |
1097 | fattr2 attributes; | |
1098 | }; | |
1099 | typedef struct WRITE2resok WRITE2resok; | |
1100 | ||
1101 | struct WRITE2res { | |
1102 | nfsstat3 status; | |
1103 | union { | |
1104 | WRITE2resok resok; | |
1105 | } WRITE2res_u; | |
1106 | }; | |
1107 | typedef struct WRITE2res WRITE2res; | |
1108 | ||
1109 | struct CREATE2args { | |
1110 | diropargs2 where; | |
1111 | sattr2 attributes; | |
1112 | }; | |
1113 | typedef struct CREATE2args CREATE2args; | |
1114 | ||
1115 | struct CREATE2resok { | |
1116 | fhandle2 file; | |
1117 | fattr2 attributes; | |
1118 | }; | |
1119 | typedef struct CREATE2resok CREATE2resok; | |
1120 | ||
1121 | struct CREATE2res { | |
1122 | nfsstat3 status; | |
1123 | union { | |
1124 | CREATE2resok resok; | |
1125 | } CREATE2res_u; | |
1126 | }; | |
1127 | typedef struct CREATE2res CREATE2res; | |
1128 | ||
1129 | struct REMOVE2args { | |
1130 | diropargs2 what; | |
1131 | }; | |
1132 | typedef struct REMOVE2args REMOVE2args; | |
1133 | ||
1134 | struct REMOVE2res { | |
1135 | nfsstat3 status; | |
1136 | }; | |
1137 | typedef struct REMOVE2res REMOVE2res; | |
1138 | ||
1139 | struct RENAME2args { | |
1140 | diropargs2 from; | |
1141 | diropargs2 to; | |
1142 | }; | |
1143 | typedef struct RENAME2args RENAME2args; | |
1144 | ||
1145 | struct RENAME2res { | |
1146 | nfsstat3 status; | |
1147 | }; | |
1148 | typedef struct RENAME2res RENAME2res; | |
1149 | ||
1150 | struct LINK2args { | |
1151 | fhandle2 from; | |
1152 | diropargs2 to; | |
1153 | }; | |
1154 | typedef struct LINK2args LINK2args; | |
1155 | ||
1156 | struct LINK2res { | |
1157 | nfsstat3 status; | |
1158 | }; | |
1159 | typedef struct LINK2res LINK2res; | |
1160 | ||
1161 | struct SYMLINK2args { | |
1162 | diropargs2 from; | |
1163 | path2 to; | |
1164 | sattr2 attributes; | |
1165 | }; | |
1166 | typedef struct SYMLINK2args SYMLINK2args; | |
1167 | ||
1168 | struct SYMLINK2res { | |
1169 | nfsstat3 status; | |
1170 | }; | |
1171 | typedef struct SYMLINK2res SYMLINK2res; | |
1172 | ||
1173 | struct MKDIR2args { | |
1174 | diropargs2 where; | |
1175 | sattr2 attributes; | |
1176 | }; | |
1177 | typedef struct MKDIR2args MKDIR2args; | |
1178 | ||
1179 | struct MKDIR2resok { | |
1180 | fhandle2 file; | |
1181 | fattr2 attributes; | |
1182 | }; | |
1183 | typedef struct MKDIR2resok MKDIR2resok; | |
1184 | ||
1185 | struct MKDIR2res { | |
1186 | nfsstat3 status; | |
1187 | union { | |
1188 | MKDIR2resok resok; | |
1189 | } MKDIR2res_u; | |
1190 | }; | |
1191 | typedef struct MKDIR2res MKDIR2res; | |
1192 | ||
1193 | struct RMDIR2args { | |
1194 | diropargs2 what; | |
1195 | }; | |
1196 | typedef struct RMDIR2args RMDIR2args; | |
1197 | ||
1198 | struct RMDIR2res { | |
1199 | nfsstat3 status; | |
1200 | }; | |
1201 | typedef struct RMDIR2res RMDIR2res; | |
1202 | ||
1203 | struct READDIR2args { | |
1204 | fhandle2 dir; | |
1205 | nfscookie2 cookie; | |
1206 | u_int count; | |
1207 | }; | |
1208 | typedef struct READDIR2args READDIR2args; | |
1209 | ||
1210 | struct READDIR2resok { | |
1211 | entry2 *entries; | |
1212 | bool_t eof; | |
1213 | }; | |
1214 | typedef struct READDIR2resok READDIR2resok; | |
1215 | ||
1216 | struct READDIR2res { | |
1217 | nfsstat3 status; | |
1218 | union { | |
1219 | READDIR2resok resok; | |
1220 | } READDIR2res_u; | |
1221 | }; | |
1222 | typedef struct READDIR2res READDIR2res; | |
1223 | ||
1224 | struct STATFS2args { | |
1225 | fhandle2 dir; | |
1226 | }; | |
1227 | typedef struct STATFS2args STATFS2args; | |
1228 | ||
1229 | struct STATFS2resok { | |
1230 | u_int tsize; | |
1231 | u_int bsize; | |
1232 | u_int blocks; | |
1233 | u_int bfree; | |
1234 | u_int bavail; | |
1235 | }; | |
1236 | typedef struct STATFS2resok STATFS2resok; | |
1237 | ||
1238 | struct STATFS2res { | |
1239 | nfsstat3 status; | |
1240 | union { | |
1241 | STATFS2resok resok; | |
1242 | } STATFS2res_u; | |
1243 | }; | |
1244 | typedef struct STATFS2res STATFS2res; | |
763cd6e3 RS |
1245 | |
1246 | enum nfsacl_type { | |
1247 | NFSACL_TYPE_USER_OBJ = 0x0001, | |
1248 | NFSACL_TYPE_USER = 0x0002, | |
1249 | NFSACL_TYPE_GROUP_OBJ = 0x0004, | |
1250 | NFSACL_TYPE_GROUP = 0x0008, | |
1251 | NFSACL_TYPE_CLASS_OBJ = 0x0010, | |
1252 | NFSACL_TYPE_CLASS = 0x0020, | |
1253 | NFSACL_TYPE_DEFAULT = 0x1000, | |
1254 | NFSACL_TYPE_DEFAULT_USER_OBJ = 0x1001, | |
1255 | NFSACL_TYPE_DEFAULT_USER = 0x1002, | |
1256 | NFSACL_TYPE_DEFAULT_GROUP_OBJ = 0x1004, | |
1257 | NFSACL_TYPE_DEFAULT_GROUP = 0x1008, | |
1258 | NFSACL_TYPE_DEFAULT_CLASS_OBJ = 0x1010, | |
1259 | NFSACL_TYPE_DEFAULT_OTHER_OBJ = 0x1020, | |
1260 | }; | |
1261 | typedef enum nfsacl_type nfsacl_type; | |
1262 | #define NFSACL_PERM_READ 0x04 | |
1263 | #define NFSACL_PERM_WRITE 0x02 | |
1264 | #define NFSACL_PERM_EXEC 0x01 | |
1265 | ||
1266 | struct nfsacl_ace { | |
1267 | enum nfsacl_type type; | |
1268 | u_int id; | |
1269 | u_int perm; | |
1270 | }; | |
1271 | typedef struct nfsacl_ace nfsacl_ace; | |
1272 | #define NFSACL_MASK_ACL_ENTRY 0x0001 | |
1273 | #define NFSACL_MASK_ACL_COUNT 0x0002 | |
1274 | #define NFSACL_MASK_ACL_DEFAULT_ENTRY 0x0004 | |
1275 | #define NFSACL_MASK_ACL_DEFAULT_COUNT 0x0008 | |
1276 | ||
1277 | struct GETACL3args { | |
1278 | nfs_fh3 dir; | |
1279 | u_int mask; | |
1280 | }; | |
1281 | typedef struct GETACL3args GETACL3args; | |
1282 | ||
1283 | struct GETACL3resok { | |
1284 | post_op_attr attr; | |
1285 | u_int mask; | |
1286 | u_int ace_count; | |
1287 | struct { | |
1288 | u_int ace_len; | |
1289 | struct nfsacl_ace *ace_val; | |
1290 | } ace; | |
1291 | u_int default_ace_count; | |
1292 | struct { | |
1293 | u_int default_ace_len; | |
1294 | struct nfsacl_ace *default_ace_val; | |
1295 | } default_ace; | |
1296 | }; | |
1297 | typedef struct GETACL3resok GETACL3resok; | |
1298 | ||
1299 | struct GETACL3res { | |
1300 | nfsstat3 status; | |
1301 | union { | |
1302 | GETACL3resok resok; | |
1303 | } GETACL3res_u; | |
1304 | }; | |
1305 | typedef struct GETACL3res GETACL3res; | |
1306 | ||
1307 | struct SETACL3args { | |
1308 | nfs_fh3 dir; | |
1309 | u_int mask; | |
1310 | u_int ace_count; | |
1311 | struct { | |
1312 | u_int ace_len; | |
1313 | struct nfsacl_ace *ace_val; | |
1314 | } ace; | |
1315 | u_int default_ace_count; | |
1316 | struct { | |
1317 | u_int default_ace_len; | |
1318 | struct nfsacl_ace *default_ace_val; | |
1319 | } default_ace; | |
1320 | }; | |
1321 | typedef struct SETACL3args SETACL3args; | |
1322 | ||
1323 | struct SETACL3resok { | |
1324 | post_op_attr attr; | |
1325 | }; | |
1326 | typedef struct SETACL3resok SETACL3resok; | |
1327 | ||
1328 | struct SETACL3res { | |
1329 | nfsstat3 status; | |
1330 | union { | |
1331 | SETACL3resok resok; | |
1332 | } SETACL3res_u; | |
1333 | }; | |
1334 | typedef struct SETACL3res SETACL3res; | |
1335 | ||
1336 | #define NFS_PROGRAM 100003 | |
f38aacf8 RS |
1337 | #define NFS_V2 2 |
1338 | ||
1339 | #if defined(__STDC__) || defined(__cplusplus) | |
1340 | #define NFS2_NULL 0 | |
1341 | extern void * nfs2_null_2(void *, CLIENT *); | |
1342 | extern void * nfs2_null_2_svc(void *, struct svc_req *); | |
1343 | #define NFS2_GETATTR 1 | |
1344 | extern GETATTR2res * nfs2_getattr_2(GETATTR2args *, CLIENT *); | |
1345 | extern GETATTR2res * nfs2_getattr_2_svc(GETATTR2args *, struct svc_req *); | |
1346 | #define NFS2_SETATTR 2 | |
1347 | extern SETATTR2res * nfs2_setattr_2(SETATTR2args *, CLIENT *); | |
1348 | extern SETATTR2res * nfs2_setattr_2_svc(SETATTR2args *, struct svc_req *); | |
1349 | #define NFS2_LOOKUP 4 | |
1350 | extern LOOKUP2res * nfs2_lookup_2(LOOKUP2args *, CLIENT *); | |
1351 | extern LOOKUP2res * nfs2_lookup_2_svc(LOOKUP2args *, struct svc_req *); | |
1352 | #define NFS2_READLINK 5 | |
1353 | extern READLINK2res * nfs2_readlink_2(READLINK2args *, CLIENT *); | |
1354 | extern READLINK2res * nfs2_readlink_2_svc(READLINK2args *, struct svc_req *); | |
1355 | #define NFS2_READ 6 | |
1356 | extern READ2res * nfs2_read_2(READ2args *, CLIENT *); | |
1357 | extern READ2res * nfs2_read_2_svc(READ2args *, struct svc_req *); | |
1358 | #define NFS2_WRITE 8 | |
1359 | extern WRITE2res * nfs2_write_2(WRITE2args *, CLIENT *); | |
1360 | extern WRITE2res * nfs2_write_2_svc(WRITE2args *, struct svc_req *); | |
1361 | #define NFS2_CREATE 9 | |
1362 | extern CREATE2res * nfs2_create_2(CREATE2args *, CLIENT *); | |
1363 | extern CREATE2res * nfs2_create_2_svc(CREATE2args *, struct svc_req *); | |
1364 | #define NFS2_REMOVE 10 | |
1365 | extern REMOVE2res * nfs2_remove_2(REMOVE2args *, CLIENT *); | |
1366 | extern REMOVE2res * nfs2_remove_2_svc(REMOVE2args *, struct svc_req *); | |
1367 | #define NFS2_RENAME 11 | |
1368 | extern RENAME2res * nfs2_rename_2(RENAME2args *, CLIENT *); | |
1369 | extern RENAME2res * nfs2_rename_2_svc(RENAME2args *, struct svc_req *); | |
1370 | #define NFS2_LINK 12 | |
1371 | extern LINK2res * nfs2_link_2(LINK2args *, CLIENT *); | |
1372 | extern LINK2res * nfs2_link_2_svc(LINK2args *, struct svc_req *); | |
1373 | #define NFS2_SYMLINK 13 | |
1374 | extern SYMLINK2res * nfs2_symlink_2(SYMLINK2args *, CLIENT *); | |
1375 | extern SYMLINK2res * nfs2_symlink_2_svc(SYMLINK2args *, struct svc_req *); | |
1376 | #define NFS2_MKDIR 14 | |
1377 | extern MKDIR2res * nfs2_mkdir_2(MKDIR2args *, CLIENT *); | |
1378 | extern MKDIR2res * nfs2_mkdir_2_svc(MKDIR2args *, struct svc_req *); | |
1379 | #define NFS2_RMDIR 15 | |
1380 | extern RMDIR2res * nfs2_rmdir_2(RMDIR2args *, CLIENT *); | |
1381 | extern RMDIR2res * nfs2_rmdir_2_svc(RMDIR2args *, struct svc_req *); | |
1382 | #define NFS2_READDIR 16 | |
1383 | extern READDIR2res * nfs2_readdir_2(READDIR2args *, CLIENT *); | |
1384 | extern READDIR2res * nfs2_readdir_2_svc(READDIR2args *, struct svc_req *); | |
1385 | #define NFS2_STATFS 17 | |
1386 | extern STATFS2res * nfs2_statfs_2(STATFS2args *, CLIENT *); | |
1387 | extern STATFS2res * nfs2_statfs_2_svc(STATFS2args *, struct svc_req *); | |
1388 | extern int nfs_program_2_freeresult (SVCXPRT *, zdrproc_t, caddr_t); | |
1389 | ||
1390 | #else /* K&R C */ | |
1391 | #define NFS2_NULL 0 | |
1392 | extern void * nfs2_null_2(); | |
1393 | extern void * nfs2_null_2_svc(); | |
1394 | #define NFS2_GETATTR 1 | |
1395 | extern GETATTR2res * nfs2_getattr_2(); | |
1396 | extern GETATTR2res * nfs2_getattr_2_svc(); | |
1397 | #define NFS2_SETATTR 2 | |
1398 | extern SETATTR2res * nfs2_setattr_2(); | |
1399 | extern SETATTR2res * nfs2_setattr_2_svc(); | |
1400 | #define NFS2_LOOKUP 4 | |
1401 | extern LOOKUP2res * nfs2_lookup_2(); | |
1402 | extern LOOKUP2res * nfs2_lookup_2_svc(); | |
1403 | #define NFS2_READLINK 5 | |
1404 | extern READLINK2res * nfs2_readlink_2(); | |
1405 | extern READLINK2res * nfs2_readlink_2_svc(); | |
1406 | #define NFS2_READ 6 | |
1407 | extern READ2res * nfs2_read_2(); | |
1408 | extern READ2res * nfs2_read_2_svc(); | |
1409 | #define NFS2_WRITE 8 | |
1410 | extern WRITE2res * nfs2_write_2(); | |
1411 | extern WRITE2res * nfs2_write_2_svc(); | |
1412 | #define NFS2_CREATE 9 | |
1413 | extern CREATE2res * nfs2_create_2(); | |
1414 | extern CREATE2res * nfs2_create_2_svc(); | |
1415 | #define NFS2_REMOVE 10 | |
1416 | extern REMOVE2res * nfs2_remove_2(); | |
1417 | extern REMOVE2res * nfs2_remove_2_svc(); | |
1418 | #define NFS2_RENAME 11 | |
1419 | extern RENAME2res * nfs2_rename_2(); | |
1420 | extern RENAME2res * nfs2_rename_2_svc(); | |
1421 | #define NFS2_LINK 12 | |
1422 | extern LINK2res * nfs2_link_2(); | |
1423 | extern LINK2res * nfs2_link_2_svc(); | |
1424 | #define NFS2_SYMLINK 13 | |
1425 | extern SYMLINK2res * nfs2_symlink_2(); | |
1426 | extern SYMLINK2res * nfs2_symlink_2_svc(); | |
1427 | #define NFS2_MKDIR 14 | |
1428 | extern MKDIR2res * nfs2_mkdir_2(); | |
1429 | extern MKDIR2res * nfs2_mkdir_2_svc(); | |
1430 | #define NFS2_RMDIR 15 | |
1431 | extern RMDIR2res * nfs2_rmdir_2(); | |
1432 | extern RMDIR2res * nfs2_rmdir_2_svc(); | |
1433 | #define NFS2_READDIR 16 | |
1434 | extern READDIR2res * nfs2_readdir_2(); | |
1435 | extern READDIR2res * nfs2_readdir_2_svc(); | |
1436 | #define NFS2_STATFS 17 | |
1437 | extern STATFS2res * nfs2_statfs_2(); | |
1438 | extern STATFS2res * nfs2_statfs_2_svc(); | |
1439 | extern int nfs_program_2_freeresult (); | |
1440 | #endif /* K&R C */ | |
763cd6e3 RS |
1441 | #define NFS_V3 3 |
1442 | ||
1443 | #if defined(__STDC__) || defined(__cplusplus) | |
1444 | #define NFS3_NULL 0 | |
1445 | extern void * nfs3_null_3(void *, CLIENT *); | |
1446 | extern void * nfs3_null_3_svc(void *, struct svc_req *); | |
1447 | #define NFS3_GETATTR 1 | |
1448 | extern GETATTR3res * nfs3_getattr_3(GETATTR3args *, CLIENT *); | |
1449 | extern GETATTR3res * nfs3_getattr_3_svc(GETATTR3args *, struct svc_req *); | |
1450 | #define NFS3_SETATTR 2 | |
1451 | extern SETATTR3res * nfs3_setattr_3(SETATTR3args *, CLIENT *); | |
1452 | extern SETATTR3res * nfs3_setattr_3_svc(SETATTR3args *, struct svc_req *); | |
1453 | #define NFS3_LOOKUP 3 | |
1454 | extern LOOKUP3res * nfs3_lookup_3(LOOKUP3args *, CLIENT *); | |
1455 | extern LOOKUP3res * nfs3_lookup_3_svc(LOOKUP3args *, struct svc_req *); | |
1456 | #define NFS3_ACCESS 4 | |
1457 | extern ACCESS3res * nfs3_access_3(ACCESS3args *, CLIENT *); | |
1458 | extern ACCESS3res * nfs3_access_3_svc(ACCESS3args *, struct svc_req *); | |
1459 | #define NFS3_READLINK 5 | |
1460 | extern READLINK3res * nfs3_readlink_3(READLINK3args *, CLIENT *); | |
1461 | extern READLINK3res * nfs3_readlink_3_svc(READLINK3args *, struct svc_req *); | |
1462 | #define NFS3_READ 6 | |
1463 | extern READ3res * nfs3_read_3(READ3args *, CLIENT *); | |
1464 | extern READ3res * nfs3_read_3_svc(READ3args *, struct svc_req *); | |
1465 | #define NFS3_WRITE 7 | |
1466 | extern WRITE3res * nfs3_write_3(WRITE3args *, CLIENT *); | |
1467 | extern WRITE3res * nfs3_write_3_svc(WRITE3args *, struct svc_req *); | |
1468 | #define NFS3_CREATE 8 | |
1469 | extern CREATE3res * nfs3_create_3(CREATE3args *, CLIENT *); | |
1470 | extern CREATE3res * nfs3_create_3_svc(CREATE3args *, struct svc_req *); | |
1471 | #define NFS3_MKDIR 9 | |
1472 | extern MKDIR3res * nfs3_mkdir_3(MKDIR3args *, CLIENT *); | |
1473 | extern MKDIR3res * nfs3_mkdir_3_svc(MKDIR3args *, struct svc_req *); | |
1474 | #define NFS3_SYMLINK 10 | |
1475 | extern SYMLINK3res * nfs3_symlink_3(SYMLINK3args *, CLIENT *); | |
1476 | extern SYMLINK3res * nfs3_symlink_3_svc(SYMLINK3args *, struct svc_req *); | |
1477 | #define NFS3_MKNOD 11 | |
1478 | extern MKNOD3res * nfs3_mknod_3(MKNOD3args *, CLIENT *); | |
1479 | extern MKNOD3res * nfs3_mknod_3_svc(MKNOD3args *, struct svc_req *); | |
1480 | #define NFS3_REMOVE 12 | |
1481 | extern REMOVE3res * nfs3_remove_3(REMOVE3args *, CLIENT *); | |
1482 | extern REMOVE3res * nfs3_remove_3_svc(REMOVE3args *, struct svc_req *); | |
1483 | #define NFS3_RMDIR 13 | |
1484 | extern RMDIR3res * nfs3_rmdir_3(RMDIR3args *, CLIENT *); | |
1485 | extern RMDIR3res * nfs3_rmdir_3_svc(RMDIR3args *, struct svc_req *); | |
1486 | #define NFS3_RENAME 14 | |
1487 | extern RENAME3res * nfs3_rename_3(RENAME3args *, CLIENT *); | |
1488 | extern RENAME3res * nfs3_rename_3_svc(RENAME3args *, struct svc_req *); | |
1489 | #define NFS3_LINK 15 | |
1490 | extern LINK3res * nfs3_link_3(LINK3args *, CLIENT *); | |
1491 | extern LINK3res * nfs3_link_3_svc(LINK3args *, struct svc_req *); | |
1492 | #define NFS3_READDIR 16 | |
1493 | extern READDIR3res * nfs3_readdir_3(READDIR3args *, CLIENT *); | |
1494 | extern READDIR3res * nfs3_readdir_3_svc(READDIR3args *, struct svc_req *); | |
1495 | #define NFS3_READDIRPLUS 17 | |
1496 | extern READDIRPLUS3res * nfs3_readdirplus_3(READDIRPLUS3args *, CLIENT *); | |
1497 | extern READDIRPLUS3res * nfs3_readdirplus_3_svc(READDIRPLUS3args *, struct svc_req *); | |
1498 | #define NFS3_FSSTAT 18 | |
1499 | extern FSSTAT3res * nfs3_fsstat_3(FSSTAT3args *, CLIENT *); | |
1500 | extern FSSTAT3res * nfs3_fsstat_3_svc(FSSTAT3args *, struct svc_req *); | |
1501 | #define NFS3_FSINFO 19 | |
1502 | extern FSINFO3res * nfs3_fsinfo_3(FSINFO3args *, CLIENT *); | |
1503 | extern FSINFO3res * nfs3_fsinfo_3_svc(FSINFO3args *, struct svc_req *); | |
1504 | #define NFS3_PATHCONF 20 | |
1505 | extern PATHCONF3res * nfs3_pathconf_3(PATHCONF3args *, CLIENT *); | |
1506 | extern PATHCONF3res * nfs3_pathconf_3_svc(PATHCONF3args *, struct svc_req *); | |
1507 | #define NFS3_COMMIT 21 | |
1508 | extern COMMIT3res * nfs3_commit_3(COMMIT3args *, CLIENT *); | |
1509 | extern COMMIT3res * nfs3_commit_3_svc(COMMIT3args *, struct svc_req *); | |
1510 | extern int nfs_program_3_freeresult (SVCXPRT *, zdrproc_t, caddr_t); | |
1511 | ||
1512 | #else /* K&R C */ | |
1513 | #define NFS3_NULL 0 | |
1514 | extern void * nfs3_null_3(); | |
1515 | extern void * nfs3_null_3_svc(); | |
1516 | #define NFS3_GETATTR 1 | |
1517 | extern GETATTR3res * nfs3_getattr_3(); | |
1518 | extern GETATTR3res * nfs3_getattr_3_svc(); | |
1519 | #define NFS3_SETATTR 2 | |
1520 | extern SETATTR3res * nfs3_setattr_3(); | |
1521 | extern SETATTR3res * nfs3_setattr_3_svc(); | |
1522 | #define NFS3_LOOKUP 3 | |
1523 | extern LOOKUP3res * nfs3_lookup_3(); | |
1524 | extern LOOKUP3res * nfs3_lookup_3_svc(); | |
1525 | #define NFS3_ACCESS 4 | |
1526 | extern ACCESS3res * nfs3_access_3(); | |
1527 | extern ACCESS3res * nfs3_access_3_svc(); | |
1528 | #define NFS3_READLINK 5 | |
1529 | extern READLINK3res * nfs3_readlink_3(); | |
1530 | extern READLINK3res * nfs3_readlink_3_svc(); | |
1531 | #define NFS3_READ 6 | |
1532 | extern READ3res * nfs3_read_3(); | |
1533 | extern READ3res * nfs3_read_3_svc(); | |
1534 | #define NFS3_WRITE 7 | |
1535 | extern WRITE3res * nfs3_write_3(); | |
1536 | extern WRITE3res * nfs3_write_3_svc(); | |
1537 | #define NFS3_CREATE 8 | |
1538 | extern CREATE3res * nfs3_create_3(); | |
1539 | extern CREATE3res * nfs3_create_3_svc(); | |
1540 | #define NFS3_MKDIR 9 | |
1541 | extern MKDIR3res * nfs3_mkdir_3(); | |
1542 | extern MKDIR3res * nfs3_mkdir_3_svc(); | |
1543 | #define NFS3_SYMLINK 10 | |
1544 | extern SYMLINK3res * nfs3_symlink_3(); | |
1545 | extern SYMLINK3res * nfs3_symlink_3_svc(); | |
1546 | #define NFS3_MKNOD 11 | |
1547 | extern MKNOD3res * nfs3_mknod_3(); | |
1548 | extern MKNOD3res * nfs3_mknod_3_svc(); | |
1549 | #define NFS3_REMOVE 12 | |
1550 | extern REMOVE3res * nfs3_remove_3(); | |
1551 | extern REMOVE3res * nfs3_remove_3_svc(); | |
1552 | #define NFS3_RMDIR 13 | |
1553 | extern RMDIR3res * nfs3_rmdir_3(); | |
1554 | extern RMDIR3res * nfs3_rmdir_3_svc(); | |
1555 | #define NFS3_RENAME 14 | |
1556 | extern RENAME3res * nfs3_rename_3(); | |
1557 | extern RENAME3res * nfs3_rename_3_svc(); | |
1558 | #define NFS3_LINK 15 | |
1559 | extern LINK3res * nfs3_link_3(); | |
1560 | extern LINK3res * nfs3_link_3_svc(); | |
1561 | #define NFS3_READDIR 16 | |
1562 | extern READDIR3res * nfs3_readdir_3(); | |
1563 | extern READDIR3res * nfs3_readdir_3_svc(); | |
1564 | #define NFS3_READDIRPLUS 17 | |
1565 | extern READDIRPLUS3res * nfs3_readdirplus_3(); | |
1566 | extern READDIRPLUS3res * nfs3_readdirplus_3_svc(); | |
1567 | #define NFS3_FSSTAT 18 | |
1568 | extern FSSTAT3res * nfs3_fsstat_3(); | |
1569 | extern FSSTAT3res * nfs3_fsstat_3_svc(); | |
1570 | #define NFS3_FSINFO 19 | |
1571 | extern FSINFO3res * nfs3_fsinfo_3(); | |
1572 | extern FSINFO3res * nfs3_fsinfo_3_svc(); | |
1573 | #define NFS3_PATHCONF 20 | |
1574 | extern PATHCONF3res * nfs3_pathconf_3(); | |
1575 | extern PATHCONF3res * nfs3_pathconf_3_svc(); | |
1576 | #define NFS3_COMMIT 21 | |
1577 | extern COMMIT3res * nfs3_commit_3(); | |
1578 | extern COMMIT3res * nfs3_commit_3_svc(); | |
1579 | extern int nfs_program_3_freeresult (); | |
1580 | #endif /* K&R C */ | |
1581 | ||
1582 | #define NFSACL_PROGRAM 100227 | |
1583 | #define NFSACL_V3 3 | |
1584 | ||
1585 | #if defined(__STDC__) || defined(__cplusplus) | |
1586 | #define NFSACL3_NULL 0 | |
1587 | extern void * nfsacl3_null_3(void *, CLIENT *); | |
1588 | extern void * nfsacl3_null_3_svc(void *, struct svc_req *); | |
1589 | #define NFSACL3_GETACL 1 | |
1590 | extern GETACL3res * nfsacl3_getacl_3(GETACL3args *, CLIENT *); | |
1591 | extern GETACL3res * nfsacl3_getacl_3_svc(GETACL3args *, struct svc_req *); | |
1592 | #define NFSACL3_SETACL 2 | |
1593 | extern SETACL3res * nfsacl3_setacl_3(SETACL3args *, CLIENT *); | |
1594 | extern SETACL3res * nfsacl3_setacl_3_svc(SETACL3args *, struct svc_req *); | |
1595 | extern int nfsacl_program_3_freeresult (SVCXPRT *, zdrproc_t, caddr_t); | |
1596 | ||
1597 | #else /* K&R C */ | |
1598 | #define NFSACL3_NULL 0 | |
1599 | extern void * nfsacl3_null_3(); | |
1600 | extern void * nfsacl3_null_3_svc(); | |
1601 | #define NFSACL3_GETACL 1 | |
1602 | extern GETACL3res * nfsacl3_getacl_3(); | |
1603 | extern GETACL3res * nfsacl3_getacl_3_svc(); | |
1604 | #define NFSACL3_SETACL 2 | |
1605 | extern SETACL3res * nfsacl3_setacl_3(); | |
1606 | extern SETACL3res * nfsacl3_setacl_3_svc(); | |
1607 | extern int nfsacl_program_3_freeresult (); | |
1608 | #endif /* K&R C */ | |
1609 | ||
1610 | /* the zdr functions */ | |
1611 | ||
1612 | #if defined(__STDC__) || defined(__cplusplus) | |
1613 | extern bool_t zdr_cookieverf3 (ZDR *, cookieverf3); | |
1614 | extern bool_t zdr_uint64 (ZDR *, uint64*); | |
1615 | extern bool_t zdr_cookie3 (ZDR *, cookie3*); | |
1616 | extern bool_t zdr_nfs_fh3 (ZDR *, nfs_fh3*); | |
1617 | extern bool_t zdr_filename3 (ZDR *, filename3*); | |
1618 | extern bool_t zdr_diropargs3 (ZDR *, diropargs3*); | |
1619 | extern bool_t zdr_ftype3 (ZDR *, ftype3*); | |
1620 | extern bool_t zdr_mode3 (ZDR *, mode3*); | |
1621 | extern bool_t zdr_uid3 (ZDR *, uid3*); | |
1622 | extern bool_t zdr_gid3 (ZDR *, gid3*); | |
1623 | extern bool_t zdr_size3 (ZDR *, size3*); | |
1624 | extern bool_t zdr_fileid3 (ZDR *, fileid3*); | |
1625 | extern bool_t zdr_specdata3 (ZDR *, specdata3*); | |
1626 | extern bool_t zdr_nfstime3 (ZDR *, nfstime3*); | |
1627 | extern bool_t zdr_fattr3 (ZDR *, fattr3*); | |
1628 | extern bool_t zdr_post_op_attr (ZDR *, post_op_attr*); | |
1629 | extern bool_t zdr_nfsstat3 (ZDR *, nfsstat3*); | |
1630 | extern bool_t zdr_stable_how (ZDR *, stable_how*); | |
1631 | extern bool_t zdr_offset3 (ZDR *, offset3*); | |
1632 | extern bool_t zdr_count3 (ZDR *, count3*); | |
1633 | extern bool_t zdr_wcc_attr (ZDR *, wcc_attr*); | |
1634 | extern bool_t zdr_pre_op_attr (ZDR *, pre_op_attr*); | |
1635 | extern bool_t zdr_wcc_data (ZDR *, wcc_data*); | |
1636 | extern bool_t zdr_WRITE3args (ZDR *, WRITE3args*); | |
1637 | extern bool_t zdr_writeverf3 (ZDR *, writeverf3); | |
1638 | extern bool_t zdr_WRITE3resok (ZDR *, WRITE3resok*); | |
1639 | extern bool_t zdr_WRITE3resfail (ZDR *, WRITE3resfail*); | |
1640 | extern bool_t zdr_WRITE3res (ZDR *, WRITE3res*); | |
1641 | extern bool_t zdr_LOOKUP3args (ZDR *, LOOKUP3args*); | |
1642 | extern bool_t zdr_LOOKUP3resok (ZDR *, LOOKUP3resok*); | |
1643 | extern bool_t zdr_LOOKUP3resfail (ZDR *, LOOKUP3resfail*); | |
1644 | extern bool_t zdr_LOOKUP3res (ZDR *, LOOKUP3res*); | |
1645 | extern bool_t zdr_COMMIT3args (ZDR *, COMMIT3args*); | |
1646 | extern bool_t zdr_COMMIT3resok (ZDR *, COMMIT3resok*); | |
1647 | extern bool_t zdr_COMMIT3resfail (ZDR *, COMMIT3resfail*); | |
1648 | extern bool_t zdr_COMMIT3res (ZDR *, COMMIT3res*); | |
1649 | extern bool_t zdr_ACCESS3args (ZDR *, ACCESS3args*); | |
1650 | extern bool_t zdr_ACCESS3resok (ZDR *, ACCESS3resok*); | |
1651 | extern bool_t zdr_ACCESS3resfail (ZDR *, ACCESS3resfail*); | |
1652 | extern bool_t zdr_ACCESS3res (ZDR *, ACCESS3res*); | |
1653 | extern bool_t zdr_GETATTR3args (ZDR *, GETATTR3args*); | |
1654 | extern bool_t zdr_GETATTR3resok (ZDR *, GETATTR3resok*); | |
1655 | extern bool_t zdr_GETATTR3res (ZDR *, GETATTR3res*); | |
1656 | extern bool_t zdr_time_how (ZDR *, time_how*); | |
1657 | extern bool_t zdr_set_mode3 (ZDR *, set_mode3*); | |
1658 | extern bool_t zdr_set_uid3 (ZDR *, set_uid3*); | |
1659 | extern bool_t zdr_set_gid3 (ZDR *, set_gid3*); | |
1660 | extern bool_t zdr_set_size3 (ZDR *, set_size3*); | |
1661 | extern bool_t zdr_set_atime (ZDR *, set_atime*); | |
1662 | extern bool_t zdr_set_mtime (ZDR *, set_mtime*); | |
1663 | extern bool_t zdr_sattr3 (ZDR *, sattr3*); | |
1664 | extern bool_t zdr_createmode3 (ZDR *, createmode3*); | |
1665 | extern bool_t zdr_createverf3 (ZDR *, createverf3); | |
1666 | extern bool_t zdr_createhow3 (ZDR *, createhow3*); | |
1667 | extern bool_t zdr_CREATE3args (ZDR *, CREATE3args*); | |
1668 | extern bool_t zdr_post_op_fh3 (ZDR *, post_op_fh3*); | |
1669 | extern bool_t zdr_CREATE3resok (ZDR *, CREATE3resok*); | |
1670 | extern bool_t zdr_CREATE3resfail (ZDR *, CREATE3resfail*); | |
1671 | extern bool_t zdr_CREATE3res (ZDR *, CREATE3res*); | |
1672 | extern bool_t zdr_REMOVE3args (ZDR *, REMOVE3args*); | |
1673 | extern bool_t zdr_REMOVE3resok (ZDR *, REMOVE3resok*); | |
1674 | extern bool_t zdr_REMOVE3resfail (ZDR *, REMOVE3resfail*); | |
1675 | extern bool_t zdr_REMOVE3res (ZDR *, REMOVE3res*); | |
1676 | extern bool_t zdr_READ3args (ZDR *, READ3args*); | |
1677 | extern bool_t zdr_READ3resok (ZDR *, READ3resok*); | |
1678 | extern bool_t zdr_READ3resfail (ZDR *, READ3resfail*); | |
1679 | extern bool_t zdr_READ3res (ZDR *, READ3res*); | |
1680 | extern bool_t zdr_FSINFO3args (ZDR *, FSINFO3args*); | |
1681 | extern bool_t zdr_FSINFO3resok (ZDR *, FSINFO3resok*); | |
1682 | extern bool_t zdr_FSINFO3resfail (ZDR *, FSINFO3resfail*); | |
1683 | extern bool_t zdr_FSINFO3res (ZDR *, FSINFO3res*); | |
1684 | extern bool_t zdr_FSSTAT3args (ZDR *, FSSTAT3args*); | |
1685 | extern bool_t zdr_FSSTAT3resok (ZDR *, FSSTAT3resok*); | |
1686 | extern bool_t zdr_FSSTAT3resfail (ZDR *, FSSTAT3resfail*); | |
1687 | extern bool_t zdr_FSSTAT3res (ZDR *, FSSTAT3res*); | |
1688 | extern bool_t zdr_PATHCONF3args (ZDR *, PATHCONF3args*); | |
1689 | extern bool_t zdr_PATHCONF3resok (ZDR *, PATHCONF3resok*); | |
1690 | extern bool_t zdr_PATHCONF3resfail (ZDR *, PATHCONF3resfail*); | |
1691 | extern bool_t zdr_PATHCONF3res (ZDR *, PATHCONF3res*); | |
1692 | extern bool_t zdr_nfspath3 (ZDR *, nfspath3*); | |
1693 | extern bool_t zdr_symlinkdata3 (ZDR *, symlinkdata3*); | |
1694 | extern bool_t zdr_SYMLINK3args (ZDR *, SYMLINK3args*); | |
1695 | extern bool_t zdr_SYMLINK3resok (ZDR *, SYMLINK3resok*); | |
1696 | extern bool_t zdr_SYMLINK3resfail (ZDR *, SYMLINK3resfail*); | |
1697 | extern bool_t zdr_SYMLINK3res (ZDR *, SYMLINK3res*); | |
1698 | extern bool_t zdr_READLINK3args (ZDR *, READLINK3args*); | |
1699 | extern bool_t zdr_READLINK3resok (ZDR *, READLINK3resok*); | |
1700 | extern bool_t zdr_READLINK3resfail (ZDR *, READLINK3resfail*); | |
1701 | extern bool_t zdr_READLINK3res (ZDR *, READLINK3res*); | |
1702 | extern bool_t zdr_devicedata3 (ZDR *, devicedata3*); | |
1703 | extern bool_t zdr_mknoddata3 (ZDR *, mknoddata3*); | |
1704 | extern bool_t zdr_MKNOD3args (ZDR *, MKNOD3args*); | |
1705 | extern bool_t zdr_MKNOD3resok (ZDR *, MKNOD3resok*); | |
1706 | extern bool_t zdr_MKNOD3resfail (ZDR *, MKNOD3resfail*); | |
1707 | extern bool_t zdr_MKNOD3res (ZDR *, MKNOD3res*); | |
1708 | extern bool_t zdr_MKDIR3args (ZDR *, MKDIR3args*); | |
1709 | extern bool_t zdr_MKDIR3resok (ZDR *, MKDIR3resok*); | |
1710 | extern bool_t zdr_MKDIR3resfail (ZDR *, MKDIR3resfail*); | |
1711 | extern bool_t zdr_MKDIR3res (ZDR *, MKDIR3res*); | |
1712 | extern bool_t zdr_RMDIR3args (ZDR *, RMDIR3args*); | |
1713 | extern bool_t zdr_RMDIR3resok (ZDR *, RMDIR3resok*); | |
1714 | extern bool_t zdr_RMDIR3resfail (ZDR *, RMDIR3resfail*); | |
1715 | extern bool_t zdr_RMDIR3res (ZDR *, RMDIR3res*); | |
1716 | extern bool_t zdr_RENAME3args (ZDR *, RENAME3args*); | |
1717 | extern bool_t zdr_RENAME3resok (ZDR *, RENAME3resok*); | |
1718 | extern bool_t zdr_RENAME3resfail (ZDR *, RENAME3resfail*); | |
1719 | extern bool_t zdr_RENAME3res (ZDR *, RENAME3res*); | |
1720 | extern bool_t zdr_READDIRPLUS3args (ZDR *, READDIRPLUS3args*); | |
1721 | extern bool_t zdr_entryplus3 (ZDR *, entryplus3*); | |
1722 | extern bool_t zdr_dirlistplus3 (ZDR *, dirlistplus3*); | |
1723 | extern bool_t zdr_READDIRPLUS3resok (ZDR *, READDIRPLUS3resok*); | |
1724 | extern bool_t zdr_READDIRPLUS3resfail (ZDR *, READDIRPLUS3resfail*); | |
1725 | extern bool_t zdr_READDIRPLUS3res (ZDR *, READDIRPLUS3res*); | |
1726 | extern bool_t zdr_READDIR3args (ZDR *, READDIR3args*); | |
1727 | extern bool_t zdr_entry3 (ZDR *, entry3*); | |
1728 | extern bool_t zdr_dirlist3 (ZDR *, dirlist3*); | |
1729 | extern bool_t zdr_READDIR3resok (ZDR *, READDIR3resok*); | |
1730 | extern bool_t zdr_READDIR3resfail (ZDR *, READDIR3resfail*); | |
1731 | extern bool_t zdr_READDIR3res (ZDR *, READDIR3res*); | |
1732 | extern bool_t zdr_LINK3args (ZDR *, LINK3args*); | |
1733 | extern bool_t zdr_LINK3resok (ZDR *, LINK3resok*); | |
1734 | extern bool_t zdr_LINK3resfail (ZDR *, LINK3resfail*); | |
1735 | extern bool_t zdr_LINK3res (ZDR *, LINK3res*); | |
1736 | extern bool_t zdr_sattrguard3 (ZDR *, sattrguard3*); | |
1737 | extern bool_t zdr_SETATTR3args (ZDR *, SETATTR3args*); | |
1738 | extern bool_t zdr_SETATTR3resok (ZDR *, SETATTR3resok*); | |
1739 | extern bool_t zdr_SETATTR3resfail (ZDR *, SETATTR3resfail*); | |
1740 | extern bool_t zdr_SETATTR3res (ZDR *, SETATTR3res*); | |
f38aacf8 RS |
1741 | extern bool_t zdr_fhandle2 (ZDR *, fhandle2); |
1742 | extern bool_t zdr_ftype2 (ZDR *, ftype2*); | |
1743 | extern bool_t zdr_fattr2 (ZDR *, fattr2*); | |
1744 | extern bool_t zdr_sattr2 (ZDR *, sattr2*); | |
1745 | extern bool_t zdr_filename2 (ZDR *, filename2*); | |
1746 | extern bool_t zdr_path2 (ZDR *, path2*); | |
1747 | extern bool_t zdr_nfsdata2 (ZDR *, nfsdata2*); | |
1748 | extern bool_t zdr_nfscookie2 (ZDR *, nfscookie2); | |
1749 | extern bool_t zdr_entry2 (ZDR *, entry2*); | |
1750 | extern bool_t zdr_diropargs2 (ZDR *, diropargs2*); | |
1751 | extern bool_t zdr_GETATTR2args (ZDR *, GETATTR2args*); | |
1752 | extern bool_t zdr_GETATTR2resok (ZDR *, GETATTR2resok*); | |
1753 | extern bool_t zdr_GETATTR2res (ZDR *, GETATTR2res*); | |
1754 | extern bool_t zdr_SETATTR2args (ZDR *, SETATTR2args*); | |
1755 | extern bool_t zdr_SETATTR2resok (ZDR *, SETATTR2resok*); | |
1756 | extern bool_t zdr_SETATTR2res (ZDR *, SETATTR2res*); | |
1757 | extern bool_t zdr_LOOKUP2args (ZDR *, LOOKUP2args*); | |
1758 | extern bool_t zdr_LOOKUP2resok (ZDR *, LOOKUP2resok*); | |
1759 | extern bool_t zdr_LOOKUP2res (ZDR *, LOOKUP2res*); | |
1760 | extern bool_t zdr_READLINK2args (ZDR *, READLINK2args*); | |
1761 | extern bool_t zdr_READLINK2resok (ZDR *, READLINK2resok*); | |
1762 | extern bool_t zdr_READLINK2res (ZDR *, READLINK2res*); | |
1763 | extern bool_t zdr_READ2args (ZDR *, READ2args*); | |
1764 | extern bool_t zdr_READ2resok (ZDR *, READ2resok*); | |
1765 | extern bool_t zdr_READ2res (ZDR *, READ2res*); | |
1766 | extern bool_t zdr_WRITE2args (ZDR *, WRITE2args*); | |
1767 | extern bool_t zdr_WRITE2resok (ZDR *, WRITE2resok*); | |
1768 | extern bool_t zdr_WRITE2res (ZDR *, WRITE2res*); | |
1769 | extern bool_t zdr_CREATE2args (ZDR *, CREATE2args*); | |
1770 | extern bool_t zdr_CREATE2resok (ZDR *, CREATE2resok*); | |
1771 | extern bool_t zdr_CREATE2res (ZDR *, CREATE2res*); | |
1772 | extern bool_t zdr_REMOVE2args (ZDR *, REMOVE2args*); | |
1773 | extern bool_t zdr_REMOVE2res (ZDR *, REMOVE2res*); | |
1774 | extern bool_t zdr_RENAME2args (ZDR *, RENAME2args*); | |
1775 | extern bool_t zdr_RENAME2res (ZDR *, RENAME2res*); | |
1776 | extern bool_t zdr_LINK2args (ZDR *, LINK2args*); | |
1777 | extern bool_t zdr_LINK2res (ZDR *, LINK2res*); | |
1778 | extern bool_t zdr_SYMLINK2args (ZDR *, SYMLINK2args*); | |
1779 | extern bool_t zdr_SYMLINK2res (ZDR *, SYMLINK2res*); | |
1780 | extern bool_t zdr_MKDIR2args (ZDR *, MKDIR2args*); | |
1781 | extern bool_t zdr_MKDIR2resok (ZDR *, MKDIR2resok*); | |
1782 | extern bool_t zdr_MKDIR2res (ZDR *, MKDIR2res*); | |
1783 | extern bool_t zdr_RMDIR2args (ZDR *, RMDIR2args*); | |
1784 | extern bool_t zdr_RMDIR2res (ZDR *, RMDIR2res*); | |
1785 | extern bool_t zdr_READDIR2args (ZDR *, READDIR2args*); | |
1786 | extern bool_t zdr_READDIR2resok (ZDR *, READDIR2resok*); | |
1787 | extern bool_t zdr_READDIR2res (ZDR *, READDIR2res*); | |
1788 | extern bool_t zdr_STATFS2args (ZDR *, STATFS2args*); | |
1789 | extern bool_t zdr_STATFS2resok (ZDR *, STATFS2resok*); | |
1790 | extern bool_t zdr_STATFS2res (ZDR *, STATFS2res*); | |
763cd6e3 RS |
1791 | extern bool_t zdr_nfsacl_type (ZDR *, nfsacl_type*); |
1792 | extern bool_t zdr_nfsacl_ace (ZDR *, nfsacl_ace*); | |
1793 | extern bool_t zdr_GETACL3args (ZDR *, GETACL3args*); | |
1794 | extern bool_t zdr_GETACL3resok (ZDR *, GETACL3resok*); | |
1795 | extern bool_t zdr_GETACL3res (ZDR *, GETACL3res*); | |
1796 | extern bool_t zdr_SETACL3args (ZDR *, SETACL3args*); | |
1797 | extern bool_t zdr_SETACL3resok (ZDR *, SETACL3resok*); | |
1798 | extern bool_t zdr_SETACL3res (ZDR *, SETACL3res*); | |
1799 | ||
1800 | #else /* K&R C */ | |
1801 | extern bool_t zdr_cookieverf3 (); | |
1802 | extern bool_t zdr_uint64 (); | |
1803 | extern bool_t zdr_cookie3 (); | |
1804 | extern bool_t zdr_nfs_fh3 (); | |
1805 | extern bool_t zdr_filename3 (); | |
1806 | extern bool_t zdr_diropargs3 (); | |
1807 | extern bool_t zdr_ftype3 (); | |
1808 | extern bool_t zdr_mode3 (); | |
1809 | extern bool_t zdr_uid3 (); | |
1810 | extern bool_t zdr_gid3 (); | |
1811 | extern bool_t zdr_size3 (); | |
1812 | extern bool_t zdr_fileid3 (); | |
1813 | extern bool_t zdr_specdata3 (); | |
1814 | extern bool_t zdr_nfstime3 (); | |
1815 | extern bool_t zdr_fattr3 (); | |
1816 | extern bool_t zdr_post_op_attr (); | |
1817 | extern bool_t zdr_nfsstat3 (); | |
1818 | extern bool_t zdr_stable_how (); | |
1819 | extern bool_t zdr_offset3 (); | |
1820 | extern bool_t zdr_count3 (); | |
1821 | extern bool_t zdr_wcc_attr (); | |
1822 | extern bool_t zdr_pre_op_attr (); | |
1823 | extern bool_t zdr_wcc_data (); | |
1824 | extern bool_t zdr_WRITE3args (); | |
1825 | extern bool_t zdr_writeverf3 (); | |
1826 | extern bool_t zdr_WRITE3resok (); | |
1827 | extern bool_t zdr_WRITE3resfail (); | |
1828 | extern bool_t zdr_WRITE3res (); | |
1829 | extern bool_t zdr_LOOKUP3args (); | |
1830 | extern bool_t zdr_LOOKUP3resok (); | |
1831 | extern bool_t zdr_LOOKUP3resfail (); | |
1832 | extern bool_t zdr_LOOKUP3res (); | |
1833 | extern bool_t zdr_COMMIT3args (); | |
1834 | extern bool_t zdr_COMMIT3resok (); | |
1835 | extern bool_t zdr_COMMIT3resfail (); | |
1836 | extern bool_t zdr_COMMIT3res (); | |
1837 | extern bool_t zdr_ACCESS3args (); | |
1838 | extern bool_t zdr_ACCESS3resok (); | |
1839 | extern bool_t zdr_ACCESS3resfail (); | |
1840 | extern bool_t zdr_ACCESS3res (); | |
1841 | extern bool_t zdr_GETATTR3args (); | |
1842 | extern bool_t zdr_GETATTR3resok (); | |
1843 | extern bool_t zdr_GETATTR3res (); | |
1844 | extern bool_t zdr_time_how (); | |
1845 | extern bool_t zdr_set_mode3 (); | |
1846 | extern bool_t zdr_set_uid3 (); | |
1847 | extern bool_t zdr_set_gid3 (); | |
1848 | extern bool_t zdr_set_size3 (); | |
1849 | extern bool_t zdr_set_atime (); | |
1850 | extern bool_t zdr_set_mtime (); | |
1851 | extern bool_t zdr_sattr3 (); | |
1852 | extern bool_t zdr_createmode3 (); | |
1853 | extern bool_t zdr_createverf3 (); | |
1854 | extern bool_t zdr_createhow3 (); | |
1855 | extern bool_t zdr_CREATE3args (); | |
1856 | extern bool_t zdr_post_op_fh3 (); | |
1857 | extern bool_t zdr_CREATE3resok (); | |
1858 | extern bool_t zdr_CREATE3resfail (); | |
1859 | extern bool_t zdr_CREATE3res (); | |
1860 | extern bool_t zdr_REMOVE3args (); | |
1861 | extern bool_t zdr_REMOVE3resok (); | |
1862 | extern bool_t zdr_REMOVE3resfail (); | |
1863 | extern bool_t zdr_REMOVE3res (); | |
1864 | extern bool_t zdr_READ3args (); | |
1865 | extern bool_t zdr_READ3resok (); | |
1866 | extern bool_t zdr_READ3resfail (); | |
1867 | extern bool_t zdr_READ3res (); | |
1868 | extern bool_t zdr_FSINFO3args (); | |
1869 | extern bool_t zdr_FSINFO3resok (); | |
1870 | extern bool_t zdr_FSINFO3resfail (); | |
1871 | extern bool_t zdr_FSINFO3res (); | |
1872 | extern bool_t zdr_FSSTAT3args (); | |
1873 | extern bool_t zdr_FSSTAT3resok (); | |
1874 | extern bool_t zdr_FSSTAT3resfail (); | |
1875 | extern bool_t zdr_FSSTAT3res (); | |
1876 | extern bool_t zdr_PATHCONF3args (); | |
1877 | extern bool_t zdr_PATHCONF3resok (); | |
1878 | extern bool_t zdr_PATHCONF3resfail (); | |
1879 | extern bool_t zdr_PATHCONF3res (); | |
1880 | extern bool_t zdr_nfspath3 (); | |
1881 | extern bool_t zdr_symlinkdata3 (); | |
1882 | extern bool_t zdr_SYMLINK3args (); | |
1883 | extern bool_t zdr_SYMLINK3resok (); | |
1884 | extern bool_t zdr_SYMLINK3resfail (); | |
1885 | extern bool_t zdr_SYMLINK3res (); | |
1886 | extern bool_t zdr_READLINK3args (); | |
1887 | extern bool_t zdr_READLINK3resok (); | |
1888 | extern bool_t zdr_READLINK3resfail (); | |
1889 | extern bool_t zdr_READLINK3res (); | |
1890 | extern bool_t zdr_devicedata3 (); | |
1891 | extern bool_t zdr_mknoddata3 (); | |
1892 | extern bool_t zdr_MKNOD3args (); | |
1893 | extern bool_t zdr_MKNOD3resok (); | |
1894 | extern bool_t zdr_MKNOD3resfail (); | |
1895 | extern bool_t zdr_MKNOD3res (); | |
1896 | extern bool_t zdr_MKDIR3args (); | |
1897 | extern bool_t zdr_MKDIR3resok (); | |
1898 | extern bool_t zdr_MKDIR3resfail (); | |
1899 | extern bool_t zdr_MKDIR3res (); | |
1900 | extern bool_t zdr_RMDIR3args (); | |
1901 | extern bool_t zdr_RMDIR3resok (); | |
1902 | extern bool_t zdr_RMDIR3resfail (); | |
1903 | extern bool_t zdr_RMDIR3res (); | |
1904 | extern bool_t zdr_RENAME3args (); | |
1905 | extern bool_t zdr_RENAME3resok (); | |
1906 | extern bool_t zdr_RENAME3resfail (); | |
1907 | extern bool_t zdr_RENAME3res (); | |
1908 | extern bool_t zdr_READDIRPLUS3args (); | |
1909 | extern bool_t zdr_entryplus3 (); | |
1910 | extern bool_t zdr_dirlistplus3 (); | |
1911 | extern bool_t zdr_READDIRPLUS3resok (); | |
1912 | extern bool_t zdr_READDIRPLUS3resfail (); | |
1913 | extern bool_t zdr_READDIRPLUS3res (); | |
1914 | extern bool_t zdr_READDIR3args (); | |
1915 | extern bool_t zdr_entry3 (); | |
1916 | extern bool_t zdr_dirlist3 (); | |
1917 | extern bool_t zdr_READDIR3resok (); | |
1918 | extern bool_t zdr_READDIR3resfail (); | |
1919 | extern bool_t zdr_READDIR3res (); | |
1920 | extern bool_t zdr_LINK3args (); | |
1921 | extern bool_t zdr_LINK3resok (); | |
1922 | extern bool_t zdr_LINK3resfail (); | |
1923 | extern bool_t zdr_LINK3res (); | |
1924 | extern bool_t zdr_sattrguard3 (); | |
1925 | extern bool_t zdr_SETATTR3args (); | |
1926 | extern bool_t zdr_SETATTR3resok (); | |
1927 | extern bool_t zdr_SETATTR3resfail (); | |
1928 | extern bool_t zdr_SETATTR3res (); | |
f38aacf8 RS |
1929 | extern bool_t zdr_fhandle2 (); |
1930 | extern bool_t zdr_ftype2 (); | |
1931 | extern bool_t zdr_fattr2 (); | |
1932 | extern bool_t zdr_sattr2 (); | |
1933 | extern bool_t zdr_filename2 (); | |
1934 | extern bool_t zdr_path2 (); | |
1935 | extern bool_t zdr_nfsdata2 (); | |
1936 | extern bool_t zdr_nfscookie2 (); | |
1937 | extern bool_t zdr_entry2 (); | |
1938 | extern bool_t zdr_diropargs2 (); | |
1939 | extern bool_t zdr_GETATTR2args (); | |
1940 | extern bool_t zdr_GETATTR2resok (); | |
1941 | extern bool_t zdr_GETATTR2res (); | |
1942 | extern bool_t zdr_SETATTR2args (); | |
1943 | extern bool_t zdr_SETATTR2resok (); | |
1944 | extern bool_t zdr_SETATTR2res (); | |
1945 | extern bool_t zdr_LOOKUP2args (); | |
1946 | extern bool_t zdr_LOOKUP2resok (); | |
1947 | extern bool_t zdr_LOOKUP2res (); | |
1948 | extern bool_t zdr_READLINK2args (); | |
1949 | extern bool_t zdr_READLINK2resok (); | |
1950 | extern bool_t zdr_READLINK2res (); | |
1951 | extern bool_t zdr_READ2args (); | |
1952 | extern bool_t zdr_READ2resok (); | |
1953 | extern bool_t zdr_READ2res (); | |
1954 | extern bool_t zdr_WRITE2args (); | |
1955 | extern bool_t zdr_WRITE2resok (); | |
1956 | extern bool_t zdr_WRITE2res (); | |
1957 | extern bool_t zdr_CREATE2args (); | |
1958 | extern bool_t zdr_CREATE2resok (); | |
1959 | extern bool_t zdr_CREATE2res (); | |
1960 | extern bool_t zdr_REMOVE2args (); | |
1961 | extern bool_t zdr_REMOVE2res (); | |
1962 | extern bool_t zdr_RENAME2args (); | |
1963 | extern bool_t zdr_RENAME2res (); | |
1964 | extern bool_t zdr_LINK2args (); | |
1965 | extern bool_t zdr_LINK2res (); | |
1966 | extern bool_t zdr_SYMLINK2args (); | |
1967 | extern bool_t zdr_SYMLINK2res (); | |
1968 | extern bool_t zdr_MKDIR2args (); | |
1969 | extern bool_t zdr_MKDIR2resok (); | |
1970 | extern bool_t zdr_MKDIR2res (); | |
1971 | extern bool_t zdr_RMDIR2args (); | |
1972 | extern bool_t zdr_RMDIR2res (); | |
1973 | extern bool_t zdr_READDIR2args (); | |
1974 | extern bool_t zdr_READDIR2resok (); | |
1975 | extern bool_t zdr_READDIR2res (); | |
1976 | extern bool_t zdr_STATFS2args (); | |
1977 | extern bool_t zdr_STATFS2resok (); | |
1978 | extern bool_t zdr_STATFS2res (); | |
763cd6e3 RS |
1979 | extern bool_t zdr_nfsacl_type (); |
1980 | extern bool_t zdr_nfsacl_ace (); | |
1981 | extern bool_t zdr_GETACL3args (); | |
1982 | extern bool_t zdr_GETACL3resok (); | |
1983 | extern bool_t zdr_GETACL3res (); | |
1984 | extern bool_t zdr_SETACL3args (); | |
1985 | extern bool_t zdr_SETACL3resok (); | |
1986 | extern bool_t zdr_SETACL3res (); | |
1987 | ||
1988 | #endif /* K&R C */ | |
1989 | ||
1990 | #ifdef __cplusplus | |
1991 | } | |
1992 | #endif | |
1993 | ||
1994 | #endif /* !_NFS_H_RPCGEN */ |