2 * Please do not edit this file.
3 * It was generated using rpcgen.
6 #ifndef _MOUNT_H_RPCGEN
7 #define _MOUNT_H_RPCGEN
9 #include <nfsc/libnfs-zdr.h>
15 #define MNTPATHLEN 1024
24 typedef char *dirpath
;
36 MNT3ERR_NAMETOOLONG
= 63,
37 MNT3ERR_NOTSUPP
= 10004,
38 MNT3ERR_SERVERFAULT
= 10006,
40 typedef enum mountstat3 mountstat3
;
42 typedef struct mountbody
*mountlist
;
49 typedef struct mountbody mountbody
;
51 typedef struct groupnode
*groups
;
57 typedef struct groupnode groupnode
;
59 typedef struct exportnode
*exports
;
66 typedef struct exportnode exportnode
;
71 u_int auth_flavors_len
;
72 int *auth_flavors_val
;
75 typedef struct mountres3_ok mountres3_ok
;
78 mountstat3 fhs_status
;
80 mountres3_ok mountinfo
;
83 typedef struct mountres3 mountres3
;
93 MNT1ERR_NAMETOOLONG
= 63,
94 MNT1ERR_NOTSUPP
= 10004,
95 MNT1ERR_SERVERFAULT
= 10006,
97 typedef enum mountstat1 mountstat1
;
100 typedef char fhandle1
[FHSIZE
];
102 struct mountres1_ok
{
105 typedef struct mountres1_ok mountres1_ok
;
108 mountstat1 fhs_status
;
110 mountres1_ok mountinfo
;
113 typedef struct mountres1 mountres1
;
115 #define MOUNT_PROGRAM 100005
118 #if defined(__STDC__) || defined(__cplusplus)
119 #define MOUNT1_NULL 0
120 extern void * mount1_null_1(void *, CLIENT
*);
121 extern void * mount1_null_1_svc(void *, struct svc_req
*);
123 extern mountres1
* mount1_mnt_1(dirpath
*, CLIENT
*);
124 extern mountres1
* mount1_mnt_1_svc(dirpath
*, struct svc_req
*);
125 #define MOUNT1_DUMP 2
126 extern mountlist
* mount1_dump_1(void *, CLIENT
*);
127 extern mountlist
* mount1_dump_1_svc(void *, struct svc_req
*);
128 #define MOUNT1_UMNT 3
129 extern void * mount1_umnt_1(dirpath
*, CLIENT
*);
130 extern void * mount1_umnt_1_svc(dirpath
*, struct svc_req
*);
131 #define MOUNT1_UMNTALL 4
132 extern void * mount1_umntall_1(void *, CLIENT
*);
133 extern void * mount1_umntall_1_svc(void *, struct svc_req
*);
134 #define MOUNT1_EXPORT 5
135 extern exports
* mount1_export_1(void *, CLIENT
*);
136 extern exports
* mount1_export_1_svc(void *, struct svc_req
*);
137 extern int mount_program_1_freeresult (SVCXPRT
*, zdrproc_t
, caddr_t
);
140 #define MOUNT1_NULL 0
141 extern void * mount1_null_1();
142 extern void * mount1_null_1_svc();
144 extern mountres1
* mount1_mnt_1();
145 extern mountres1
* mount1_mnt_1_svc();
146 #define MOUNT1_DUMP 2
147 extern mountlist
* mount1_dump_1();
148 extern mountlist
* mount1_dump_1_svc();
149 #define MOUNT1_UMNT 3
150 extern void * mount1_umnt_1();
151 extern void * mount1_umnt_1_svc();
152 #define MOUNT1_UMNTALL 4
153 extern void * mount1_umntall_1();
154 extern void * mount1_umntall_1_svc();
155 #define MOUNT1_EXPORT 5
156 extern exports
* mount1_export_1();
157 extern exports
* mount1_export_1_svc();
158 extern int mount_program_1_freeresult ();
162 #if defined(__STDC__) || defined(__cplusplus)
163 #define MOUNT3_NULL 0
164 extern void * mount3_null_3(void *, CLIENT
*);
165 extern void * mount3_null_3_svc(void *, struct svc_req
*);
167 extern mountres3
* mount3_mnt_3(dirpath
*, CLIENT
*);
168 extern mountres3
* mount3_mnt_3_svc(dirpath
*, struct svc_req
*);
169 #define MOUNT3_DUMP 2
170 extern mountlist
* mount3_dump_3(void *, CLIENT
*);
171 extern mountlist
* mount3_dump_3_svc(void *, struct svc_req
*);
172 #define MOUNT3_UMNT 3
173 extern void * mount3_umnt_3(dirpath
*, CLIENT
*);
174 extern void * mount3_umnt_3_svc(dirpath
*, struct svc_req
*);
175 #define MOUNT3_UMNTALL 4
176 extern void * mount3_umntall_3(void *, CLIENT
*);
177 extern void * mount3_umntall_3_svc(void *, struct svc_req
*);
178 #define MOUNT3_EXPORT 5
179 extern exports
* mount3_export_3(void *, CLIENT
*);
180 extern exports
* mount3_export_3_svc(void *, struct svc_req
*);
181 extern int mount_program_3_freeresult (SVCXPRT
*, zdrproc_t
, caddr_t
);
184 #define MOUNT3_NULL 0
185 extern void * mount3_null_3();
186 extern void * mount3_null_3_svc();
188 extern mountres3
* mount3_mnt_3();
189 extern mountres3
* mount3_mnt_3_svc();
190 #define MOUNT3_DUMP 2
191 extern mountlist
* mount3_dump_3();
192 extern mountlist
* mount3_dump_3_svc();
193 #define MOUNT3_UMNT 3
194 extern void * mount3_umnt_3();
195 extern void * mount3_umnt_3_svc();
196 #define MOUNT3_UMNTALL 4
197 extern void * mount3_umntall_3();
198 extern void * mount3_umntall_3_svc();
199 #define MOUNT3_EXPORT 5
200 extern exports
* mount3_export_3();
201 extern exports
* mount3_export_3_svc();
202 extern int mount_program_3_freeresult ();
205 /* the zdr functions */
207 #if defined(__STDC__) || defined(__cplusplus)
208 extern bool_t
zdr_fhandle3 (ZDR
*, fhandle3
*);
209 extern bool_t
zdr_dirpath (ZDR
*, dirpath
*);
210 extern bool_t
zdr_name (ZDR
*, name
*);
211 extern bool_t
zdr_mountstat3 (ZDR
*, mountstat3
*);
212 extern bool_t
zdr_mountlist (ZDR
*, mountlist
*);
213 extern bool_t
zdr_mountbody (ZDR
*, mountbody
*);
214 extern bool_t
zdr_groups (ZDR
*, groups
*);
215 extern bool_t
zdr_groupnode (ZDR
*, groupnode
*);
216 extern bool_t
zdr_exports (ZDR
*, exports
*);
217 extern bool_t
zdr_exportnode (ZDR
*, exportnode
*);
218 extern bool_t
zdr_mountres3_ok (ZDR
*, mountres3_ok
*);
219 extern bool_t
zdr_mountres3 (ZDR
*, mountres3
*);
220 extern bool_t
zdr_mountstat1 (ZDR
*, mountstat1
*);
221 extern bool_t
zdr_fhandle1 (ZDR
*, fhandle1
);
222 extern bool_t
zdr_mountres1_ok (ZDR
*, mountres1_ok
*);
223 extern bool_t
zdr_mountres1 (ZDR
*, mountres1
*);
226 extern bool_t
zdr_fhandle3 ();
227 extern bool_t
zdr_dirpath ();
228 extern bool_t
zdr_name ();
229 extern bool_t
zdr_mountstat3 ();
230 extern bool_t
zdr_mountlist ();
231 extern bool_t
zdr_mountbody ();
232 extern bool_t
zdr_groups ();
233 extern bool_t
zdr_groupnode ();
234 extern bool_t
zdr_exports ();
235 extern bool_t
zdr_exportnode ();
236 extern bool_t
zdr_mountres3_ok ();
237 extern bool_t
zdr_mountres3 ();
238 extern bool_t
zdr_mountstat1 ();
239 extern bool_t
zdr_fhandle1 ();
240 extern bool_t
zdr_mountres1_ok ();
241 extern bool_t
zdr_mountres1 ();
249 #endif /* !_MOUNT_H_RPCGEN */