2 * Please do not edit this file.
3 * It was generated using rpcgen.
23 typedef struct nlm_fh4 nlm_fh4
;
25 typedef char *nlm4_oh
;
33 typedef struct nlm_cookie nlm_cookie
;
38 NLM4_DENIED_NOLOCKS
= 2,
40 NLM4_DENIED_GRACE_PERIOD
= 4,
47 typedef enum nlmstat4 nlmstat4
;
56 typedef struct nlm4_holder nlm4_holder
;
57 #define NLM_MAXNAME 256
67 typedef struct nlm4_lock nlm4_lock
;
76 typedef struct nlm4_share nlm4_share
;
78 struct nlm4_testres_denied
{
81 typedef struct nlm4_testres_denied nlm4_testres_denied
;
83 struct nlm4_testreply
{
86 nlm4_testres_denied lock
;
89 typedef struct nlm4_testreply nlm4_testreply
;
95 typedef struct NLM4_TESTres NLM4_TESTres
;
97 struct NLM4_TESTargs
{
102 typedef struct NLM4_TESTargs NLM4_TESTargs
;
104 struct NLM4_CANCres
{
108 typedef struct NLM4_CANCres NLM4_CANCres
;
110 struct NLM4_CANCargs
{
116 typedef struct NLM4_CANCargs NLM4_CANCargs
;
118 struct NLM4_UNLOCKres
{
122 typedef struct NLM4_UNLOCKres NLM4_UNLOCKres
;
124 struct NLM4_UNLOCKargs
{
128 typedef struct NLM4_UNLOCKargs NLM4_UNLOCKargs
;
130 struct NLM4_LOCKres
{
134 typedef struct NLM4_LOCKres NLM4_LOCKres
;
136 struct NLM4_LOCKargs
{
144 typedef struct NLM4_LOCKargs NLM4_LOCKargs
;
146 struct NLM4_GRANTEDargs
{
151 typedef struct NLM4_GRANTEDargs NLM4_GRANTEDargs
;
153 struct NLM4_GRANTEDres
{
157 typedef struct NLM4_GRANTEDres NLM4_GRANTEDres
;
159 #define NLM_PROGRAM 100021
162 #if defined(__STDC__) || defined(__cplusplus)
164 extern void * nlm4_null_4(void *, CLIENT
*);
165 extern void * nlm4_null_4_svc(void *, struct svc_req
*);
167 extern NLM4_TESTres
* nlm4_test_4(NLM4_TESTargs
*, CLIENT
*);
168 extern NLM4_TESTres
* nlm4_test_4_svc(NLM4_TESTargs
*, struct svc_req
*);
170 extern NLM4_LOCKres
* nlm4_lock_4(NLM4_LOCKargs
*, CLIENT
*);
171 extern NLM4_LOCKres
* nlm4_lock_4_svc(NLM4_LOCKargs
*, struct svc_req
*);
172 #define NLM4_CANCEL 3
173 extern NLM4_CANCres
* nlm4_cancel_4(NLM4_CANCargs
*, CLIENT
*);
174 extern NLM4_CANCres
* nlm4_cancel_4_svc(NLM4_CANCargs
*, struct svc_req
*);
175 #define NLM4_UNLOCK 4
176 extern NLM4_UNLOCKres
* nlm4_unlock_4(NLM4_UNLOCKargs
*, CLIENT
*);
177 extern NLM4_UNLOCKres
* nlm4_unlock_4_svc(NLM4_UNLOCKargs
*, struct svc_req
*);
179 extern NLM4_GRANTEDres
* nlm4_grant_4(NLM4_GRANTEDargs
*, CLIENT
*);
180 extern NLM4_GRANTEDres
* nlm4_grant_4_svc(NLM4_GRANTEDargs
*, struct svc_req
*);
181 #define NLM4_TEST_MSG 6
182 extern void * nlm4_test_msg_4(NLM4_TESTargs
*, CLIENT
*);
183 extern void * nlm4_test_msg_4_svc(NLM4_TESTargs
*, struct svc_req
*);
184 #define NLM4_LOCK_MSG 7
185 extern void * nlm4_lock_msg_4(NLM4_LOCKargs
*, CLIENT
*);
186 extern void * nlm4_lock_msg_4_svc(NLM4_LOCKargs
*, struct svc_req
*);
187 #define NLM4_CANCEL_MSG 8
188 extern void * nlm4_cancel_msg_4(NLM4_CANCargs
*, CLIENT
*);
189 extern void * nlm4_cancel_msg_4_svc(NLM4_CANCargs
*, struct svc_req
*);
190 #define NLM4_UNLOCK_MSG 9
191 extern void * nlm4_unlock_msg_4(NLM4_UNLOCKargs
*, CLIENT
*);
192 extern void * nlm4_unlock_msg_4_svc(NLM4_UNLOCKargs
*, struct svc_req
*);
193 #define NLM4_GRANT_MSG 10
194 extern void * nlm4_grant_msg_4(NLM4_GRANTEDargs
*, CLIENT
*);
195 extern void * nlm4_grant_msg_4_svc(NLM4_GRANTEDargs
*, struct svc_req
*);
196 #define NLM4_TEST_RES 11
197 extern void * nlm4_test_res_4(NLM4_TESTres
*, CLIENT
*);
198 extern void * nlm4_test_res_4_svc(NLM4_TESTres
*, struct svc_req
*);
199 #define NLM4_LOCK_RES 12
200 extern void * nlm4_lock_res_4(NLM4_LOCKres
*, CLIENT
*);
201 extern void * nlm4_lock_res_4_svc(NLM4_LOCKres
*, struct svc_req
*);
202 #define NLM4_CANCEL_RES 13
203 extern void * nlm4_cancel_res_4(NLM4_CANCres
*, CLIENT
*);
204 extern void * nlm4_cancel_res_4_svc(NLM4_CANCres
*, struct svc_req
*);
205 #define NLM4_UNLOCK_RES 14
206 extern void * nlm4_unlock_res_4(NLM4_UNLOCKres
*, CLIENT
*);
207 extern void * nlm4_unlock_res_4_svc(NLM4_UNLOCKres
*, struct svc_req
*);
208 #define NLM4_GRANT_RES 15
209 extern void * nlm4_grant_res_4(NLM4_GRANTEDres
*, CLIENT
*);
210 extern void * nlm4_grant_res_4_svc(NLM4_GRANTEDres
*, struct svc_req
*);
211 extern int nlm_program_4_freeresult (SVCXPRT
*, zdrproc_t
, caddr_t
);
215 extern void * nlm4_null_4();
216 extern void * nlm4_null_4_svc();
218 extern NLM4_TESTres
* nlm4_test_4();
219 extern NLM4_TESTres
* nlm4_test_4_svc();
221 extern NLM4_LOCKres
* nlm4_lock_4();
222 extern NLM4_LOCKres
* nlm4_lock_4_svc();
223 #define NLM4_CANCEL 3
224 extern NLM4_CANCres
* nlm4_cancel_4();
225 extern NLM4_CANCres
* nlm4_cancel_4_svc();
226 #define NLM4_UNLOCK 4
227 extern NLM4_UNLOCKres
* nlm4_unlock_4();
228 extern NLM4_UNLOCKres
* nlm4_unlock_4_svc();
230 extern NLM4_GRANTEDres
* nlm4_grant_4();
231 extern NLM4_GRANTEDres
* nlm4_grant_4_svc();
232 #define NLM4_TEST_MSG 6
233 extern void * nlm4_test_msg_4();
234 extern void * nlm4_test_msg_4_svc();
235 #define NLM4_LOCK_MSG 7
236 extern void * nlm4_lock_msg_4();
237 extern void * nlm4_lock_msg_4_svc();
238 #define NLM4_CANCEL_MSG 8
239 extern void * nlm4_cancel_msg_4();
240 extern void * nlm4_cancel_msg_4_svc();
241 #define NLM4_UNLOCK_MSG 9
242 extern void * nlm4_unlock_msg_4();
243 extern void * nlm4_unlock_msg_4_svc();
244 #define NLM4_GRANT_MSG 10
245 extern void * nlm4_grant_msg_4();
246 extern void * nlm4_grant_msg_4_svc();
247 #define NLM4_TEST_RES 11
248 extern void * nlm4_test_res_4();
249 extern void * nlm4_test_res_4_svc();
250 #define NLM4_LOCK_RES 12
251 extern void * nlm4_lock_res_4();
252 extern void * nlm4_lock_res_4_svc();
253 #define NLM4_CANCEL_RES 13
254 extern void * nlm4_cancel_res_4();
255 extern void * nlm4_cancel_res_4_svc();
256 #define NLM4_UNLOCK_RES 14
257 extern void * nlm4_unlock_res_4();
258 extern void * nlm4_unlock_res_4_svc();
259 #define NLM4_GRANT_RES 15
260 extern void * nlm4_grant_res_4();
261 extern void * nlm4_grant_res_4_svc();
262 extern int nlm_program_4_freeresult ();
265 /* the zdr functions */
267 #if defined(__STDC__) || defined(__cplusplus)
268 extern bool_t
zdr_nlm_fh4 (ZDR
*, nlm_fh4
*);
269 extern bool_t
zdr_nlm4_oh (ZDR
*, nlm4_oh
*);
270 extern bool_t
zdr_nlm_cookie (ZDR
*, nlm_cookie
*);
271 extern bool_t
zdr_nlmstat4 (ZDR
*, nlmstat4
*);
272 extern bool_t
zdr_nlm4_holder (ZDR
*, nlm4_holder
*);
273 extern bool_t
zdr_nlm4_lock (ZDR
*, nlm4_lock
*);
274 extern bool_t
zdr_nlm4_share (ZDR
*, nlm4_share
*);
275 extern bool_t
zdr_nlm4_testres_denied (ZDR
*, nlm4_testres_denied
*);
276 extern bool_t
zdr_nlm4_testreply (ZDR
*, nlm4_testreply
*);
277 extern bool_t
zdr_NLM4_TESTres (ZDR
*, NLM4_TESTres
*);
278 extern bool_t
zdr_NLM4_TESTargs (ZDR
*, NLM4_TESTargs
*);
279 extern bool_t
zdr_NLM4_CANCres (ZDR
*, NLM4_CANCres
*);
280 extern bool_t
zdr_NLM4_CANCargs (ZDR
*, NLM4_CANCargs
*);
281 extern bool_t
zdr_NLM4_UNLOCKres (ZDR
*, NLM4_UNLOCKres
*);
282 extern bool_t
zdr_NLM4_UNLOCKargs (ZDR
*, NLM4_UNLOCKargs
*);
283 extern bool_t
zdr_NLM4_LOCKres (ZDR
*, NLM4_LOCKres
*);
284 extern bool_t
zdr_NLM4_LOCKargs (ZDR
*, NLM4_LOCKargs
*);
285 extern bool_t
zdr_NLM4_GRANTEDargs (ZDR
*, NLM4_GRANTEDargs
*);
286 extern bool_t
zdr_NLM4_GRANTEDres (ZDR
*, NLM4_GRANTEDres
*);
289 extern bool_t
zdr_nlm_fh4 ();
290 extern bool_t
zdr_nlm4_oh ();
291 extern bool_t
zdr_nlm_cookie ();
292 extern bool_t
zdr_nlmstat4 ();
293 extern bool_t
zdr_nlm4_holder ();
294 extern bool_t
zdr_nlm4_lock ();
295 extern bool_t
zdr_nlm4_share ();
296 extern bool_t
zdr_nlm4_testres_denied ();
297 extern bool_t
zdr_nlm4_testreply ();
298 extern bool_t
zdr_NLM4_TESTres ();
299 extern bool_t
zdr_NLM4_TESTargs ();
300 extern bool_t
zdr_NLM4_CANCres ();
301 extern bool_t
zdr_NLM4_CANCargs ();
302 extern bool_t
zdr_NLM4_UNLOCKres ();
303 extern bool_t
zdr_NLM4_UNLOCKargs ();
304 extern bool_t
zdr_NLM4_LOCKres ();
305 extern bool_t
zdr_NLM4_LOCKargs ();
306 extern bool_t
zdr_NLM4_GRANTEDargs ();
307 extern bool_t
zdr_NLM4_GRANTEDres ();
315 #endif /* !_NLM_H_RPCGEN */