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
;
26 typedef struct nlm_fh4 nlm_fh4
;
28 typedef char *nlm4_oh
;
36 typedef struct nlm_cookie nlm_cookie
;
41 NLM4_DENIED_NOLOCKS
= 2,
43 NLM4_DENIED_GRACE_PERIOD
= 4,
50 typedef enum nlmstat4 nlmstat4
;
59 typedef struct nlm4_holder nlm4_holder
;
60 #define NLM_MAXNAME 256
70 typedef struct nlm4_lock nlm4_lock
;
79 typedef struct nlm4_share nlm4_share
;
81 struct nlm4_testres_denied
{
84 typedef struct nlm4_testres_denied nlm4_testres_denied
;
86 struct nlm4_testreply
{
89 nlm4_testres_denied lock
;
92 typedef struct nlm4_testreply nlm4_testreply
;
98 typedef struct NLM4_TESTres NLM4_TESTres
;
100 struct NLM4_TESTargs
{
105 typedef struct NLM4_TESTargs NLM4_TESTargs
;
107 struct NLM4_CANCres
{
111 typedef struct NLM4_CANCres NLM4_CANCres
;
113 struct NLM4_CANCargs
{
119 typedef struct NLM4_CANCargs NLM4_CANCargs
;
121 struct NLM4_UNLOCKres
{
125 typedef struct NLM4_UNLOCKres NLM4_UNLOCKres
;
127 struct NLM4_UNLOCKargs
{
131 typedef struct NLM4_UNLOCKargs NLM4_UNLOCKargs
;
133 struct NLM4_LOCKres
{
137 typedef struct NLM4_LOCKres NLM4_LOCKres
;
139 struct NLM4_LOCKargs
{
147 typedef struct NLM4_LOCKargs NLM4_LOCKargs
;
149 struct NLM4_GRANTEDargs
{
154 typedef struct NLM4_GRANTEDargs NLM4_GRANTEDargs
;
156 struct NLM4_GRANTEDres
{
160 typedef struct NLM4_GRANTEDres NLM4_GRANTEDres
;
162 #define NLM_PROGRAM 100021
165 #if defined(__STDC__) || defined(__cplusplus)
167 extern void * nlm4_null_4(void *, CLIENT
*);
168 extern void * nlm4_null_4_svc(void *, struct svc_req
*);
170 extern NLM4_TESTres
* nlm4_test_4(NLM4_TESTargs
*, CLIENT
*);
171 extern NLM4_TESTres
* nlm4_test_4_svc(NLM4_TESTargs
*, struct svc_req
*);
173 extern NLM4_LOCKres
* nlm4_lock_4(NLM4_LOCKargs
*, CLIENT
*);
174 extern NLM4_LOCKres
* nlm4_lock_4_svc(NLM4_LOCKargs
*, struct svc_req
*);
175 #define NLM4_CANCEL 3
176 extern NLM4_CANCres
* nlm4_cancel_4(NLM4_CANCargs
*, CLIENT
*);
177 extern NLM4_CANCres
* nlm4_cancel_4_svc(NLM4_CANCargs
*, struct svc_req
*);
178 #define NLM4_UNLOCK 4
179 extern NLM4_UNLOCKres
* nlm4_unlock_4(NLM4_UNLOCKargs
*, CLIENT
*);
180 extern NLM4_UNLOCKres
* nlm4_unlock_4_svc(NLM4_UNLOCKargs
*, struct svc_req
*);
182 extern NLM4_GRANTEDres
* nlm4_grant_4(NLM4_GRANTEDargs
*, CLIENT
*);
183 extern NLM4_GRANTEDres
* nlm4_grant_4_svc(NLM4_GRANTEDargs
*, struct svc_req
*);
184 #define NLM4_TEST_MSG 6
185 extern void * nlm4_test_msg_4(NLM4_TESTargs
*, CLIENT
*);
186 extern void * nlm4_test_msg_4_svc(NLM4_TESTargs
*, struct svc_req
*);
187 #define NLM4_LOCK_MSG 7
188 extern void * nlm4_lock_msg_4(NLM4_LOCKargs
*, CLIENT
*);
189 extern void * nlm4_lock_msg_4_svc(NLM4_LOCKargs
*, struct svc_req
*);
190 #define NLM4_CANCEL_MSG 8
191 extern void * nlm4_cancel_msg_4(NLM4_CANCargs
*, CLIENT
*);
192 extern void * nlm4_cancel_msg_4_svc(NLM4_CANCargs
*, struct svc_req
*);
193 #define NLM4_UNLOCK_MSG 9
194 extern void * nlm4_unlock_msg_4(NLM4_UNLOCKargs
*, CLIENT
*);
195 extern void * nlm4_unlock_msg_4_svc(NLM4_UNLOCKargs
*, struct svc_req
*);
196 #define NLM4_GRANT_MSG 10
197 extern void * nlm4_grant_msg_4(NLM4_GRANTEDargs
*, CLIENT
*);
198 extern void * nlm4_grant_msg_4_svc(NLM4_GRANTEDargs
*, struct svc_req
*);
199 #define NLM4_TEST_RES 11
200 extern void * nlm4_test_res_4(NLM4_TESTres
*, CLIENT
*);
201 extern void * nlm4_test_res_4_svc(NLM4_TESTres
*, struct svc_req
*);
202 #define NLM4_LOCK_RES 12
203 extern void * nlm4_lock_res_4(NLM4_LOCKres
*, CLIENT
*);
204 extern void * nlm4_lock_res_4_svc(NLM4_LOCKres
*, struct svc_req
*);
205 #define NLM4_CANCEL_RES 13
206 extern void * nlm4_cancel_res_4(NLM4_CANCres
*, CLIENT
*);
207 extern void * nlm4_cancel_res_4_svc(NLM4_CANCres
*, struct svc_req
*);
208 #define NLM4_UNLOCK_RES 14
209 extern void * nlm4_unlock_res_4(NLM4_UNLOCKres
*, CLIENT
*);
210 extern void * nlm4_unlock_res_4_svc(NLM4_UNLOCKres
*, struct svc_req
*);
211 #define NLM4_GRANT_RES 15
212 extern void * nlm4_grant_res_4(NLM4_GRANTEDres
*, CLIENT
*);
213 extern void * nlm4_grant_res_4_svc(NLM4_GRANTEDres
*, struct svc_req
*);
214 extern int nlm_program_4_freeresult (SVCXPRT
*, zdrproc_t
, caddr_t
);
218 extern void * nlm4_null_4();
219 extern void * nlm4_null_4_svc();
221 extern NLM4_TESTres
* nlm4_test_4();
222 extern NLM4_TESTres
* nlm4_test_4_svc();
224 extern NLM4_LOCKres
* nlm4_lock_4();
225 extern NLM4_LOCKres
* nlm4_lock_4_svc();
226 #define NLM4_CANCEL 3
227 extern NLM4_CANCres
* nlm4_cancel_4();
228 extern NLM4_CANCres
* nlm4_cancel_4_svc();
229 #define NLM4_UNLOCK 4
230 extern NLM4_UNLOCKres
* nlm4_unlock_4();
231 extern NLM4_UNLOCKres
* nlm4_unlock_4_svc();
233 extern NLM4_GRANTEDres
* nlm4_grant_4();
234 extern NLM4_GRANTEDres
* nlm4_grant_4_svc();
235 #define NLM4_TEST_MSG 6
236 extern void * nlm4_test_msg_4();
237 extern void * nlm4_test_msg_4_svc();
238 #define NLM4_LOCK_MSG 7
239 extern void * nlm4_lock_msg_4();
240 extern void * nlm4_lock_msg_4_svc();
241 #define NLM4_CANCEL_MSG 8
242 extern void * nlm4_cancel_msg_4();
243 extern void * nlm4_cancel_msg_4_svc();
244 #define NLM4_UNLOCK_MSG 9
245 extern void * nlm4_unlock_msg_4();
246 extern void * nlm4_unlock_msg_4_svc();
247 #define NLM4_GRANT_MSG 10
248 extern void * nlm4_grant_msg_4();
249 extern void * nlm4_grant_msg_4_svc();
250 #define NLM4_TEST_RES 11
251 extern void * nlm4_test_res_4();
252 extern void * nlm4_test_res_4_svc();
253 #define NLM4_LOCK_RES 12
254 extern void * nlm4_lock_res_4();
255 extern void * nlm4_lock_res_4_svc();
256 #define NLM4_CANCEL_RES 13
257 extern void * nlm4_cancel_res_4();
258 extern void * nlm4_cancel_res_4_svc();
259 #define NLM4_UNLOCK_RES 14
260 extern void * nlm4_unlock_res_4();
261 extern void * nlm4_unlock_res_4_svc();
262 #define NLM4_GRANT_RES 15
263 extern void * nlm4_grant_res_4();
264 extern void * nlm4_grant_res_4_svc();
265 extern int nlm_program_4_freeresult ();
268 /* the zdr functions */
270 #if defined(__STDC__) || defined(__cplusplus)
271 extern bool_t
zdr_nlm_fh4 (ZDR
*, nlm_fh4
*);
272 extern bool_t
zdr_nlm4_oh (ZDR
*, nlm4_oh
*);
273 extern bool_t
zdr_nlm_cookie (ZDR
*, nlm_cookie
*);
274 extern bool_t
zdr_nlmstat4 (ZDR
*, nlmstat4
*);
275 extern bool_t
zdr_nlm4_holder (ZDR
*, nlm4_holder
*);
276 extern bool_t
zdr_nlm4_lock (ZDR
*, nlm4_lock
*);
277 extern bool_t
zdr_nlm4_share (ZDR
*, nlm4_share
*);
278 extern bool_t
zdr_nlm4_testres_denied (ZDR
*, nlm4_testres_denied
*);
279 extern bool_t
zdr_nlm4_testreply (ZDR
*, nlm4_testreply
*);
280 extern bool_t
zdr_NLM4_TESTres (ZDR
*, NLM4_TESTres
*);
281 extern bool_t
zdr_NLM4_TESTargs (ZDR
*, NLM4_TESTargs
*);
282 extern bool_t
zdr_NLM4_CANCres (ZDR
*, NLM4_CANCres
*);
283 extern bool_t
zdr_NLM4_CANCargs (ZDR
*, NLM4_CANCargs
*);
284 extern bool_t
zdr_NLM4_UNLOCKres (ZDR
*, NLM4_UNLOCKres
*);
285 extern bool_t
zdr_NLM4_UNLOCKargs (ZDR
*, NLM4_UNLOCKargs
*);
286 extern bool_t
zdr_NLM4_LOCKres (ZDR
*, NLM4_LOCKres
*);
287 extern bool_t
zdr_NLM4_LOCKargs (ZDR
*, NLM4_LOCKargs
*);
288 extern bool_t
zdr_NLM4_GRANTEDargs (ZDR
*, NLM4_GRANTEDargs
*);
289 extern bool_t
zdr_NLM4_GRANTEDres (ZDR
*, NLM4_GRANTEDres
*);
292 extern bool_t
zdr_nlm_fh4 ();
293 extern bool_t
zdr_nlm4_oh ();
294 extern bool_t
zdr_nlm_cookie ();
295 extern bool_t
zdr_nlmstat4 ();
296 extern bool_t
zdr_nlm4_holder ();
297 extern bool_t
zdr_nlm4_lock ();
298 extern bool_t
zdr_nlm4_share ();
299 extern bool_t
zdr_nlm4_testres_denied ();
300 extern bool_t
zdr_nlm4_testreply ();
301 extern bool_t
zdr_NLM4_TESTres ();
302 extern bool_t
zdr_NLM4_TESTargs ();
303 extern bool_t
zdr_NLM4_CANCres ();
304 extern bool_t
zdr_NLM4_CANCargs ();
305 extern bool_t
zdr_NLM4_UNLOCKres ();
306 extern bool_t
zdr_NLM4_UNLOCKargs ();
307 extern bool_t
zdr_NLM4_LOCKres ();
308 extern bool_t
zdr_NLM4_LOCKargs ();
309 extern bool_t
zdr_NLM4_GRANTEDargs ();
310 extern bool_t
zdr_NLM4_GRANTEDres ();
318 #endif /* !_NLM_H_RPCGEN */