2 * Please do not edit this file.
3 * It was generated using rpcgen.
9 #include <nfsc/libnfs-zdr.h>
16 typedef long long int quad_t
;
17 typedef long long unsigned u_quad_t
;
20 typedef long long int quad_t
;
21 typedef long long unsigned u_quad_t
;
30 typedef struct nlm_fh4 nlm_fh4
;
32 typedef char *nlm4_oh
;
40 typedef struct nlm_cookie nlm_cookie
;
45 NLM4_DENIED_NOLOCKS
= 2,
47 NLM4_DENIED_GRACE_PERIOD
= 4,
54 typedef enum nlmstat4 nlmstat4
;
63 typedef struct nlm4_holder nlm4_holder
;
64 #define NLM_MAXNAME 256
74 typedef struct nlm4_lock nlm4_lock
;
83 typedef struct nlm4_share nlm4_share
;
85 struct nlm4_testres_denied
{
88 typedef struct nlm4_testres_denied nlm4_testres_denied
;
90 struct nlm4_testreply
{
93 nlm4_testres_denied lock
;
96 typedef struct nlm4_testreply nlm4_testreply
;
100 nlm4_testreply reply
;
102 typedef struct NLM4_TESTres NLM4_TESTres
;
104 struct NLM4_TESTargs
{
109 typedef struct NLM4_TESTargs NLM4_TESTargs
;
111 struct NLM4_CANCres
{
115 typedef struct NLM4_CANCres NLM4_CANCres
;
117 struct NLM4_CANCargs
{
123 typedef struct NLM4_CANCargs NLM4_CANCargs
;
125 struct NLM4_UNLOCKres
{
129 typedef struct NLM4_UNLOCKres NLM4_UNLOCKres
;
131 struct NLM4_UNLOCKargs
{
135 typedef struct NLM4_UNLOCKargs NLM4_UNLOCKargs
;
137 struct NLM4_LOCKres
{
141 typedef struct NLM4_LOCKres NLM4_LOCKres
;
143 struct NLM4_LOCKargs
{
151 typedef struct NLM4_LOCKargs NLM4_LOCKargs
;
153 struct NLM4_GRANTEDargs
{
158 typedef struct NLM4_GRANTEDargs NLM4_GRANTEDargs
;
160 struct NLM4_GRANTEDres
{
164 typedef struct NLM4_GRANTEDres NLM4_GRANTEDres
;
166 #define NLM_PROGRAM 100021
169 #if defined(__STDC__) || defined(__cplusplus)
171 extern void * nlm4_null_4(void *, CLIENT
*);
172 extern void * nlm4_null_4_svc(void *, struct svc_req
*);
174 extern NLM4_TESTres
* nlm4_test_4(NLM4_TESTargs
*, CLIENT
*);
175 extern NLM4_TESTres
* nlm4_test_4_svc(NLM4_TESTargs
*, struct svc_req
*);
177 extern NLM4_LOCKres
* nlm4_lock_4(NLM4_LOCKargs
*, CLIENT
*);
178 extern NLM4_LOCKres
* nlm4_lock_4_svc(NLM4_LOCKargs
*, struct svc_req
*);
179 #define NLM4_CANCEL 3
180 extern NLM4_CANCres
* nlm4_cancel_4(NLM4_CANCargs
*, CLIENT
*);
181 extern NLM4_CANCres
* nlm4_cancel_4_svc(NLM4_CANCargs
*, struct svc_req
*);
182 #define NLM4_UNLOCK 4
183 extern NLM4_UNLOCKres
* nlm4_unlock_4(NLM4_UNLOCKargs
*, CLIENT
*);
184 extern NLM4_UNLOCKres
* nlm4_unlock_4_svc(NLM4_UNLOCKargs
*, struct svc_req
*);
186 extern NLM4_GRANTEDres
* nlm4_grant_4(NLM4_GRANTEDargs
*, CLIENT
*);
187 extern NLM4_GRANTEDres
* nlm4_grant_4_svc(NLM4_GRANTEDargs
*, struct svc_req
*);
188 #define NLM4_TEST_MSG 6
189 extern void * nlm4_test_msg_4(NLM4_TESTargs
*, CLIENT
*);
190 extern void * nlm4_test_msg_4_svc(NLM4_TESTargs
*, struct svc_req
*);
191 #define NLM4_LOCK_MSG 7
192 extern void * nlm4_lock_msg_4(NLM4_LOCKargs
*, CLIENT
*);
193 extern void * nlm4_lock_msg_4_svc(NLM4_LOCKargs
*, struct svc_req
*);
194 #define NLM4_CANCEL_MSG 8
195 extern void * nlm4_cancel_msg_4(NLM4_CANCargs
*, CLIENT
*);
196 extern void * nlm4_cancel_msg_4_svc(NLM4_CANCargs
*, struct svc_req
*);
197 #define NLM4_UNLOCK_MSG 9
198 extern void * nlm4_unlock_msg_4(NLM4_UNLOCKargs
*, CLIENT
*);
199 extern void * nlm4_unlock_msg_4_svc(NLM4_UNLOCKargs
*, struct svc_req
*);
200 #define NLM4_GRANT_MSG 10
201 extern void * nlm4_grant_msg_4(NLM4_GRANTEDargs
*, CLIENT
*);
202 extern void * nlm4_grant_msg_4_svc(NLM4_GRANTEDargs
*, struct svc_req
*);
203 #define NLM4_TEST_RES 11
204 extern void * nlm4_test_res_4(NLM4_TESTres
*, CLIENT
*);
205 extern void * nlm4_test_res_4_svc(NLM4_TESTres
*, struct svc_req
*);
206 #define NLM4_LOCK_RES 12
207 extern void * nlm4_lock_res_4(NLM4_LOCKres
*, CLIENT
*);
208 extern void * nlm4_lock_res_4_svc(NLM4_LOCKres
*, struct svc_req
*);
209 #define NLM4_CANCEL_RES 13
210 extern void * nlm4_cancel_res_4(NLM4_CANCres
*, CLIENT
*);
211 extern void * nlm4_cancel_res_4_svc(NLM4_CANCres
*, struct svc_req
*);
212 #define NLM4_UNLOCK_RES 14
213 extern void * nlm4_unlock_res_4(NLM4_UNLOCKres
*, CLIENT
*);
214 extern void * nlm4_unlock_res_4_svc(NLM4_UNLOCKres
*, struct svc_req
*);
215 #define NLM4_GRANT_RES 15
216 extern void * nlm4_grant_res_4(NLM4_GRANTEDres
*, CLIENT
*);
217 extern void * nlm4_grant_res_4_svc(NLM4_GRANTEDres
*, struct svc_req
*);
218 extern int nlm_program_4_freeresult (SVCXPRT
*, zdrproc_t
, caddr_t
);
222 extern void * nlm4_null_4();
223 extern void * nlm4_null_4_svc();
225 extern NLM4_TESTres
* nlm4_test_4();
226 extern NLM4_TESTres
* nlm4_test_4_svc();
228 extern NLM4_LOCKres
* nlm4_lock_4();
229 extern NLM4_LOCKres
* nlm4_lock_4_svc();
230 #define NLM4_CANCEL 3
231 extern NLM4_CANCres
* nlm4_cancel_4();
232 extern NLM4_CANCres
* nlm4_cancel_4_svc();
233 #define NLM4_UNLOCK 4
234 extern NLM4_UNLOCKres
* nlm4_unlock_4();
235 extern NLM4_UNLOCKres
* nlm4_unlock_4_svc();
237 extern NLM4_GRANTEDres
* nlm4_grant_4();
238 extern NLM4_GRANTEDres
* nlm4_grant_4_svc();
239 #define NLM4_TEST_MSG 6
240 extern void * nlm4_test_msg_4();
241 extern void * nlm4_test_msg_4_svc();
242 #define NLM4_LOCK_MSG 7
243 extern void * nlm4_lock_msg_4();
244 extern void * nlm4_lock_msg_4_svc();
245 #define NLM4_CANCEL_MSG 8
246 extern void * nlm4_cancel_msg_4();
247 extern void * nlm4_cancel_msg_4_svc();
248 #define NLM4_UNLOCK_MSG 9
249 extern void * nlm4_unlock_msg_4();
250 extern void * nlm4_unlock_msg_4_svc();
251 #define NLM4_GRANT_MSG 10
252 extern void * nlm4_grant_msg_4();
253 extern void * nlm4_grant_msg_4_svc();
254 #define NLM4_TEST_RES 11
255 extern void * nlm4_test_res_4();
256 extern void * nlm4_test_res_4_svc();
257 #define NLM4_LOCK_RES 12
258 extern void * nlm4_lock_res_4();
259 extern void * nlm4_lock_res_4_svc();
260 #define NLM4_CANCEL_RES 13
261 extern void * nlm4_cancel_res_4();
262 extern void * nlm4_cancel_res_4_svc();
263 #define NLM4_UNLOCK_RES 14
264 extern void * nlm4_unlock_res_4();
265 extern void * nlm4_unlock_res_4_svc();
266 #define NLM4_GRANT_RES 15
267 extern void * nlm4_grant_res_4();
268 extern void * nlm4_grant_res_4_svc();
269 extern int nlm_program_4_freeresult ();
272 /* the zdr functions */
274 #if defined(__STDC__) || defined(__cplusplus)
275 extern bool_t
zdr_nlm_fh4 (ZDR
*, nlm_fh4
*);
276 extern bool_t
zdr_nlm4_oh (ZDR
*, nlm4_oh
*);
277 extern bool_t
zdr_nlm_cookie (ZDR
*, nlm_cookie
*);
278 extern bool_t
zdr_nlmstat4 (ZDR
*, nlmstat4
*);
279 extern bool_t
zdr_nlm4_holder (ZDR
*, nlm4_holder
*);
280 extern bool_t
zdr_nlm4_lock (ZDR
*, nlm4_lock
*);
281 extern bool_t
zdr_nlm4_share (ZDR
*, nlm4_share
*);
282 extern bool_t
zdr_nlm4_testres_denied (ZDR
*, nlm4_testres_denied
*);
283 extern bool_t
zdr_nlm4_testreply (ZDR
*, nlm4_testreply
*);
284 extern bool_t
zdr_NLM4_TESTres (ZDR
*, NLM4_TESTres
*);
285 extern bool_t
zdr_NLM4_TESTargs (ZDR
*, NLM4_TESTargs
*);
286 extern bool_t
zdr_NLM4_CANCres (ZDR
*, NLM4_CANCres
*);
287 extern bool_t
zdr_NLM4_CANCargs (ZDR
*, NLM4_CANCargs
*);
288 extern bool_t
zdr_NLM4_UNLOCKres (ZDR
*, NLM4_UNLOCKres
*);
289 extern bool_t
zdr_NLM4_UNLOCKargs (ZDR
*, NLM4_UNLOCKargs
*);
290 extern bool_t
zdr_NLM4_LOCKres (ZDR
*, NLM4_LOCKres
*);
291 extern bool_t
zdr_NLM4_LOCKargs (ZDR
*, NLM4_LOCKargs
*);
292 extern bool_t
zdr_NLM4_GRANTEDargs (ZDR
*, NLM4_GRANTEDargs
*);
293 extern bool_t
zdr_NLM4_GRANTEDres (ZDR
*, NLM4_GRANTEDres
*);
296 extern bool_t
zdr_nlm_fh4 ();
297 extern bool_t
zdr_nlm4_oh ();
298 extern bool_t
zdr_nlm_cookie ();
299 extern bool_t
zdr_nlmstat4 ();
300 extern bool_t
zdr_nlm4_holder ();
301 extern bool_t
zdr_nlm4_lock ();
302 extern bool_t
zdr_nlm4_share ();
303 extern bool_t
zdr_nlm4_testres_denied ();
304 extern bool_t
zdr_nlm4_testreply ();
305 extern bool_t
zdr_NLM4_TESTres ();
306 extern bool_t
zdr_NLM4_TESTargs ();
307 extern bool_t
zdr_NLM4_CANCres ();
308 extern bool_t
zdr_NLM4_CANCargs ();
309 extern bool_t
zdr_NLM4_UNLOCKres ();
310 extern bool_t
zdr_NLM4_UNLOCKargs ();
311 extern bool_t
zdr_NLM4_LOCKres ();
312 extern bool_t
zdr_NLM4_LOCKargs ();
313 extern bool_t
zdr_NLM4_GRANTEDargs ();
314 extern bool_t
zdr_NLM4_GRANTEDres ();
322 #endif /* !_NLM_H_RPCGEN */