nlm_prot.h 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448
  1. /*
  2. * Please do not edit this file.
  3. * It was generated using rpcgen.
  4. */
  5. #ifndef _NLM_PROT_H_RPCGEN
  6. #define _NLM_PROT_H_RPCGEN
  7. #include <rpc/rpc.h>
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. #define LM_MAXSTRLEN 1024
  12. #define MAXNAMELEN LM_MAXSTRLEN+1
  13. enum nlm_stats {
  14. nlm_granted = 0,
  15. nlm_denied = 1,
  16. nlm_denied_nolocks = 2,
  17. nlm_blocked = 3,
  18. nlm_denied_grace_period = 4,
  19. nlm_deadlck = 5
  20. };
  21. typedef enum nlm_stats nlm_stats;
  22. struct nlm_holder {
  23. bool_t exclusive;
  24. int svid;
  25. netobj oh;
  26. u_int l_offset;
  27. u_int l_len;
  28. };
  29. typedef struct nlm_holder nlm_holder;
  30. struct nlm_testrply {
  31. nlm_stats stat;
  32. union {
  33. struct nlm_holder holder;
  34. } nlm_testrply_u;
  35. };
  36. typedef struct nlm_testrply nlm_testrply;
  37. struct nlm_stat {
  38. nlm_stats stat;
  39. };
  40. typedef struct nlm_stat nlm_stat;
  41. struct nlm_res {
  42. netobj cookie;
  43. nlm_stat stat;
  44. };
  45. typedef struct nlm_res nlm_res;
  46. struct nlm_testres {
  47. netobj cookie;
  48. nlm_testrply stat;
  49. };
  50. typedef struct nlm_testres nlm_testres;
  51. struct nlm_lock {
  52. char *caller_name;
  53. netobj fh;
  54. netobj oh;
  55. int svid;
  56. u_int l_offset;
  57. u_int l_len;
  58. };
  59. typedef struct nlm_lock nlm_lock;
  60. struct nlm_lockargs {
  61. netobj cookie;
  62. bool_t block;
  63. bool_t exclusive;
  64. struct nlm_lock alock;
  65. bool_t reclaim;
  66. int state;
  67. };
  68. typedef struct nlm_lockargs nlm_lockargs;
  69. struct nlm_cancargs {
  70. netobj cookie;
  71. bool_t block;
  72. bool_t exclusive;
  73. struct nlm_lock alock;
  74. };
  75. typedef struct nlm_cancargs nlm_cancargs;
  76. struct nlm_testargs {
  77. netobj cookie;
  78. bool_t exclusive;
  79. struct nlm_lock alock;
  80. };
  81. typedef struct nlm_testargs nlm_testargs;
  82. struct nlm_unlockargs {
  83. netobj cookie;
  84. struct nlm_lock alock;
  85. };
  86. typedef struct nlm_unlockargs nlm_unlockargs;
  87. /*
  88. * The following enums are actually bit encoded for efficient
  89. * boolean algebra.... DON'T change them.....
  90. */
  91. enum fsh_mode {
  92. fsm_DN = 0,
  93. fsm_DR = 1,
  94. fsm_DW = 2,
  95. fsm_DRW = 3
  96. };
  97. typedef enum fsh_mode fsh_mode;
  98. enum fsh_access {
  99. fsa_NONE = 0,
  100. fsa_R = 1,
  101. fsa_W = 2,
  102. fsa_RW = 3
  103. };
  104. typedef enum fsh_access fsh_access;
  105. struct nlm_share {
  106. char *caller_name;
  107. netobj fh;
  108. netobj oh;
  109. fsh_mode mode;
  110. fsh_access access;
  111. };
  112. typedef struct nlm_share nlm_share;
  113. struct nlm_shareargs {
  114. netobj cookie;
  115. nlm_share share;
  116. bool_t reclaim;
  117. };
  118. typedef struct nlm_shareargs nlm_shareargs;
  119. struct nlm_shareres {
  120. netobj cookie;
  121. nlm_stats stat;
  122. int sequence;
  123. };
  124. typedef struct nlm_shareres nlm_shareres;
  125. struct nlm_notify {
  126. char *name;
  127. long state;
  128. };
  129. typedef struct nlm_notify nlm_notify;
  130. /* definitions for NLM version 4 */
  131. enum nlm4_stats {
  132. nlm4_granted = 0,
  133. nlm4_denied = 1,
  134. nlm4_denied_nolocks = 2,
  135. nlm4_blocked = 3,
  136. nlm4_denied_grace_period = 4,
  137. nlm4_deadlck = 5,
  138. nlm4_rofs = 6,
  139. nlm4_stale_fh = 7,
  140. nlm4_fbig = 8,
  141. nlm4_failed = 9
  142. };
  143. typedef enum nlm4_stats nlm4_stats;
  144. struct nlm4_stat {
  145. nlm4_stats stat;
  146. };
  147. typedef struct nlm4_stat nlm4_stat;
  148. struct nlm4_holder {
  149. bool_t exclusive;
  150. uint32_t svid;
  151. netobj oh;
  152. uint64_t l_offset;
  153. uint64_t l_len;
  154. };
  155. typedef struct nlm4_holder nlm4_holder;
  156. struct nlm4_lock {
  157. char *caller_name;
  158. netobj fh;
  159. netobj oh;
  160. uint32_t svid;
  161. uint64_t l_offset;
  162. uint64_t l_len;
  163. };
  164. typedef struct nlm4_lock nlm4_lock;
  165. struct nlm4_share {
  166. char *caller_name;
  167. netobj fh;
  168. netobj oh;
  169. fsh_mode mode;
  170. fsh_access access;
  171. };
  172. typedef struct nlm4_share nlm4_share;
  173. struct nlm4_testrply {
  174. nlm4_stats stat;
  175. union {
  176. struct nlm4_holder holder;
  177. } nlm4_testrply_u;
  178. };
  179. typedef struct nlm4_testrply nlm4_testrply;
  180. struct nlm4_testres {
  181. netobj cookie;
  182. nlm4_testrply stat;
  183. };
  184. typedef struct nlm4_testres nlm4_testres;
  185. struct nlm4_testargs {
  186. netobj cookie;
  187. bool_t exclusive;
  188. struct nlm4_lock alock;
  189. };
  190. typedef struct nlm4_testargs nlm4_testargs;
  191. struct nlm4_res {
  192. netobj cookie;
  193. nlm4_stat stat;
  194. };
  195. typedef struct nlm4_res nlm4_res;
  196. struct nlm4_lockargs {
  197. netobj cookie;
  198. bool_t block;
  199. bool_t exclusive;
  200. struct nlm4_lock alock;
  201. bool_t reclaim;
  202. int state;
  203. };
  204. typedef struct nlm4_lockargs nlm4_lockargs;
  205. struct nlm4_cancargs {
  206. netobj cookie;
  207. bool_t block;
  208. bool_t exclusive;
  209. struct nlm4_lock alock;
  210. };
  211. typedef struct nlm4_cancargs nlm4_cancargs;
  212. struct nlm4_unlockargs {
  213. netobj cookie;
  214. struct nlm4_lock alock;
  215. };
  216. typedef struct nlm4_unlockargs nlm4_unlockargs;
  217. struct nlm4_shareargs {
  218. netobj cookie;
  219. nlm4_share share;
  220. bool_t reclaim;
  221. };
  222. typedef struct nlm4_shareargs nlm4_shareargs;
  223. struct nlm4_shareres {
  224. netobj cookie;
  225. nlm4_stats stat;
  226. int sequence;
  227. };
  228. typedef struct nlm4_shareres nlm4_shareres;
  229. struct nlm_sm_status {
  230. char *mon_name;
  231. int state;
  232. char priv[16];
  233. };
  234. typedef struct nlm_sm_status nlm_sm_status;
  235. struct nlm4_notify {
  236. char *name;
  237. int32_t state;
  238. };
  239. typedef struct nlm4_notify nlm4_notify;
  240. #define NLM_PROG ((unsigned long)(100021))
  241. #define NLM_SM ((unsigned long)(0))
  242. #define NLM_SM_NOTIFY ((unsigned long)(1))
  243. extern enum clnt_stat nlm_sm_notify_0(struct nlm_sm_status *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
  244. extern bool_t nlm_sm_notify_0_svc(struct nlm_sm_status *, void *, struct svc_req *);
  245. #define NLM_VERS ((unsigned long)(1))
  246. #define NLM_TEST ((unsigned long)(1))
  247. extern enum clnt_stat nlm_test_1(struct nlm_testargs *, nlm_testres *, CLIENT *, struct rpc_callextra *, struct timeval);
  248. extern bool_t nlm_test_1_svc(struct nlm_testargs *, nlm_testres *, struct svc_req *);
  249. #define NLM_LOCK ((unsigned long)(2))
  250. extern enum clnt_stat nlm_lock_1(struct nlm_lockargs *, nlm_res *, CLIENT *, struct rpc_callextra *, struct timeval);
  251. extern bool_t nlm_lock_1_svc(struct nlm_lockargs *, nlm_res *, struct svc_req *);
  252. #define NLM_CANCEL ((unsigned long)(3))
  253. extern enum clnt_stat nlm_cancel_1(struct nlm_cancargs *, nlm_res *, CLIENT *, struct rpc_callextra *, struct timeval);
  254. extern bool_t nlm_cancel_1_svc(struct nlm_cancargs *, nlm_res *, struct svc_req *);
  255. #define NLM_UNLOCK ((unsigned long)(4))
  256. extern enum clnt_stat nlm_unlock_1(struct nlm_unlockargs *, nlm_res *, CLIENT *, struct rpc_callextra *, struct timeval);
  257. extern bool_t nlm_unlock_1_svc(struct nlm_unlockargs *, nlm_res *, struct svc_req *);
  258. #define NLM_GRANTED ((unsigned long)(5))
  259. extern enum clnt_stat nlm_granted_1(struct nlm_testargs *, nlm_res *, CLIENT *, struct rpc_callextra *, struct timeval);
  260. extern bool_t nlm_granted_1_svc(struct nlm_testargs *, nlm_res *, struct svc_req *);
  261. #define NLM_TEST_MSG ((unsigned long)(6))
  262. extern enum clnt_stat nlm_test_msg_1(struct nlm_testargs *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
  263. extern bool_t nlm_test_msg_1_svc(struct nlm_testargs *, void *, struct svc_req *);
  264. #define NLM_LOCK_MSG ((unsigned long)(7))
  265. extern enum clnt_stat nlm_lock_msg_1(struct nlm_lockargs *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
  266. extern bool_t nlm_lock_msg_1_svc(struct nlm_lockargs *, void *, struct svc_req *);
  267. #define NLM_CANCEL_MSG ((unsigned long)(8))
  268. extern enum clnt_stat nlm_cancel_msg_1(struct nlm_cancargs *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
  269. extern bool_t nlm_cancel_msg_1_svc(struct nlm_cancargs *, void *, struct svc_req *);
  270. #define NLM_UNLOCK_MSG ((unsigned long)(9))
  271. extern enum clnt_stat nlm_unlock_msg_1(struct nlm_unlockargs *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
  272. extern bool_t nlm_unlock_msg_1_svc(struct nlm_unlockargs *, void *, struct svc_req *);
  273. #define NLM_GRANTED_MSG ((unsigned long)(10))
  274. extern enum clnt_stat nlm_granted_msg_1(struct nlm_testargs *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
  275. extern bool_t nlm_granted_msg_1_svc(struct nlm_testargs *, void *, struct svc_req *);
  276. #define NLM_TEST_RES ((unsigned long)(11))
  277. extern enum clnt_stat nlm_test_res_1(nlm_testres *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
  278. extern bool_t nlm_test_res_1_svc(nlm_testres *, void *, struct svc_req *);
  279. #define NLM_LOCK_RES ((unsigned long)(12))
  280. extern enum clnt_stat nlm_lock_res_1(nlm_res *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
  281. extern bool_t nlm_lock_res_1_svc(nlm_res *, void *, struct svc_req *);
  282. #define NLM_CANCEL_RES ((unsigned long)(13))
  283. extern enum clnt_stat nlm_cancel_res_1(nlm_res *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
  284. extern bool_t nlm_cancel_res_1_svc(nlm_res *, void *, struct svc_req *);
  285. #define NLM_UNLOCK_RES ((unsigned long)(14))
  286. extern enum clnt_stat nlm_unlock_res_1(nlm_res *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
  287. extern bool_t nlm_unlock_res_1_svc(nlm_res *, void *, struct svc_req *);
  288. #define NLM_GRANTED_RES ((unsigned long)(15))
  289. extern enum clnt_stat nlm_granted_res_1(nlm_res *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
  290. extern bool_t nlm_granted_res_1_svc(nlm_res *, void *, struct svc_req *);
  291. extern int nlm_prog_1_freeresult(SVCXPRT *, xdrproc_t, caddr_t);
  292. #define NLM_VERSX ((unsigned long)(3))
  293. #define NLM_SHARE ((unsigned long)(20))
  294. extern enum clnt_stat nlm_share_3(nlm_shareargs *, nlm_shareres *, CLIENT *, struct rpc_callextra *, struct timeval);
  295. extern bool_t nlm_share_3_svc(nlm_shareargs *, nlm_shareres *, struct svc_req *);
  296. #define NLM_UNSHARE ((unsigned long)(21))
  297. extern enum clnt_stat nlm_unshare_3(nlm_shareargs *, nlm_shareres *, CLIENT *, struct rpc_callextra *, struct timeval);
  298. extern bool_t nlm_unshare_3_svc(nlm_shareargs *, nlm_shareres *, struct svc_req *);
  299. #define NLM_NM_LOCK ((unsigned long)(22))
  300. extern enum clnt_stat nlm_nm_lock_3(nlm_lockargs *, nlm_res *, CLIENT *, struct rpc_callextra *, struct timeval);
  301. extern bool_t nlm_nm_lock_3_svc(nlm_lockargs *, nlm_res *, struct svc_req *);
  302. #define NLM_FREE_ALL ((unsigned long)(23))
  303. extern enum clnt_stat nlm_free_all_3(nlm_notify *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
  304. extern bool_t nlm_free_all_3_svc(nlm_notify *, void *, struct svc_req *);
  305. extern int nlm_prog_3_freeresult(SVCXPRT *, xdrproc_t, caddr_t);
  306. #define NLM_VERS4 ((unsigned long)(4))
  307. #define NLM4_TEST ((unsigned long)(1))
  308. extern enum clnt_stat nlm4_test_4(nlm4_testargs *, nlm4_testres *, CLIENT *, struct rpc_callextra *, struct timeval);
  309. extern bool_t nlm4_test_4_svc(nlm4_testargs *, nlm4_testres *, struct svc_req *);
  310. #define NLM4_LOCK ((unsigned long)(2))
  311. extern enum clnt_stat nlm4_lock_4(nlm4_lockargs *, nlm4_res *, CLIENT *, struct rpc_callextra *, struct timeval);
  312. extern bool_t nlm4_lock_4_svc(nlm4_lockargs *, nlm4_res *, struct svc_req *);
  313. #define NLM4_CANCEL ((unsigned long)(3))
  314. extern enum clnt_stat nlm4_cancel_4(nlm4_cancargs *, nlm4_res *, CLIENT *, struct rpc_callextra *, struct timeval);
  315. extern bool_t nlm4_cancel_4_svc(nlm4_cancargs *, nlm4_res *, struct svc_req *);
  316. #define NLM4_UNLOCK ((unsigned long)(4))
  317. extern enum clnt_stat nlm4_unlock_4(nlm4_unlockargs *, nlm4_res *, CLIENT *, struct rpc_callextra *, struct timeval);
  318. extern bool_t nlm4_unlock_4_svc(nlm4_unlockargs *, nlm4_res *, struct svc_req *);
  319. #define NLM4_GRANTED ((unsigned long)(5))
  320. extern enum clnt_stat nlm4_granted_4(nlm4_testargs *, nlm4_res *, CLIENT *, struct rpc_callextra *, struct timeval);
  321. extern bool_t nlm4_granted_4_svc(nlm4_testargs *, nlm4_res *, struct svc_req *);
  322. #define NLM4_TEST_MSG ((unsigned long)(6))
  323. extern enum clnt_stat nlm4_test_msg_4(nlm4_testargs *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
  324. extern bool_t nlm4_test_msg_4_svc(nlm4_testargs *, void *, struct svc_req *);
  325. #define NLM4_LOCK_MSG ((unsigned long)(7))
  326. extern enum clnt_stat nlm4_lock_msg_4(nlm4_lockargs *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
  327. extern bool_t nlm4_lock_msg_4_svc(nlm4_lockargs *, void *, struct svc_req *);
  328. #define NLM4_CANCEL_MSG ((unsigned long)(8))
  329. extern enum clnt_stat nlm4_cancel_msg_4(nlm4_cancargs *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
  330. extern bool_t nlm4_cancel_msg_4_svc(nlm4_cancargs *, void *, struct svc_req *);
  331. #define NLM4_UNLOCK_MSG ((unsigned long)(9))
  332. extern enum clnt_stat nlm4_unlock_msg_4(nlm4_unlockargs *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
  333. extern bool_t nlm4_unlock_msg_4_svc(nlm4_unlockargs *, void *, struct svc_req *);
  334. #define NLM4_GRANTED_MSG ((unsigned long)(10))
  335. extern enum clnt_stat nlm4_granted_msg_4(nlm4_testargs *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
  336. extern bool_t nlm4_granted_msg_4_svc(nlm4_testargs *, void *, struct svc_req *);
  337. #define NLM4_TEST_RES ((unsigned long)(11))
  338. extern enum clnt_stat nlm4_test_res_4(nlm4_testres *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
  339. extern bool_t nlm4_test_res_4_svc(nlm4_testres *, void *, struct svc_req *);
  340. #define NLM4_LOCK_RES ((unsigned long)(12))
  341. extern enum clnt_stat nlm4_lock_res_4(nlm4_res *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
  342. extern bool_t nlm4_lock_res_4_svc(nlm4_res *, void *, struct svc_req *);
  343. #define NLM4_CANCEL_RES ((unsigned long)(13))
  344. extern enum clnt_stat nlm4_cancel_res_4(nlm4_res *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
  345. extern bool_t nlm4_cancel_res_4_svc(nlm4_res *, void *, struct svc_req *);
  346. #define NLM4_UNLOCK_RES ((unsigned long)(14))
  347. extern enum clnt_stat nlm4_unlock_res_4(nlm4_res *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
  348. extern bool_t nlm4_unlock_res_4_svc(nlm4_res *, void *, struct svc_req *);
  349. #define NLM4_GRANTED_RES ((unsigned long)(15))
  350. extern enum clnt_stat nlm4_granted_res_4(nlm4_res *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
  351. extern bool_t nlm4_granted_res_4_svc(nlm4_res *, void *, struct svc_req *);
  352. #define NLM4_SHARE ((unsigned long)(20))
  353. extern enum clnt_stat nlm4_share_4(nlm4_shareargs *, nlm4_shareres *, CLIENT *, struct rpc_callextra *, struct timeval);
  354. extern bool_t nlm4_share_4_svc(nlm4_shareargs *, nlm4_shareres *, struct svc_req *);
  355. #define NLM4_UNSHARE ((unsigned long)(21))
  356. extern enum clnt_stat nlm4_unshare_4(nlm4_shareargs *, nlm4_shareres *, CLIENT *, struct rpc_callextra *, struct timeval);
  357. extern bool_t nlm4_unshare_4_svc(nlm4_shareargs *, nlm4_shareres *, struct svc_req *);
  358. #define NLM4_NM_LOCK ((unsigned long)(22))
  359. extern enum clnt_stat nlm4_nm_lock_4(nlm4_lockargs *, nlm4_res *, CLIENT *, struct rpc_callextra *, struct timeval);
  360. extern bool_t nlm4_nm_lock_4_svc(nlm4_lockargs *, nlm4_res *, struct svc_req *);
  361. #define NLM4_FREE_ALL ((unsigned long)(23))
  362. extern enum clnt_stat nlm4_free_all_4(nlm4_notify *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
  363. extern bool_t nlm4_free_all_4_svc(nlm4_notify *, void *, struct svc_req *);
  364. extern int nlm_prog_4_freeresult(SVCXPRT *, xdrproc_t, caddr_t);
  365. /* the xdr functions */
  366. extern bool_t xdr_nlm_stats(XDR *, nlm_stats*);
  367. extern bool_t xdr_nlm_holder(XDR *, nlm_holder*);
  368. extern bool_t xdr_nlm_testrply(XDR *, nlm_testrply*);
  369. extern bool_t xdr_nlm_stat(XDR *, nlm_stat*);
  370. extern bool_t xdr_nlm_res(XDR *, nlm_res*);
  371. extern bool_t xdr_nlm_testres(XDR *, nlm_testres*);
  372. extern bool_t xdr_nlm_lock(XDR *, nlm_lock*);
  373. extern bool_t xdr_nlm_lockargs(XDR *, nlm_lockargs*);
  374. extern bool_t xdr_nlm_cancargs(XDR *, nlm_cancargs*);
  375. extern bool_t xdr_nlm_testargs(XDR *, nlm_testargs*);
  376. extern bool_t xdr_nlm_unlockargs(XDR *, nlm_unlockargs*);
  377. extern bool_t xdr_fsh_mode(XDR *, fsh_mode*);
  378. extern bool_t xdr_fsh_access(XDR *, fsh_access*);
  379. extern bool_t xdr_nlm_share(XDR *, nlm_share*);
  380. extern bool_t xdr_nlm_shareargs(XDR *, nlm_shareargs*);
  381. extern bool_t xdr_nlm_shareres(XDR *, nlm_shareres*);
  382. extern bool_t xdr_nlm_notify(XDR *, nlm_notify*);
  383. extern bool_t xdr_nlm4_stats(XDR *, nlm4_stats*);
  384. extern bool_t xdr_nlm4_stat(XDR *, nlm4_stat*);
  385. extern bool_t xdr_nlm4_holder(XDR *, nlm4_holder*);
  386. extern bool_t xdr_nlm4_lock(XDR *, nlm4_lock*);
  387. extern bool_t xdr_nlm4_share(XDR *, nlm4_share*);
  388. extern bool_t xdr_nlm4_testrply(XDR *, nlm4_testrply*);
  389. extern bool_t xdr_nlm4_testres(XDR *, nlm4_testres*);
  390. extern bool_t xdr_nlm4_testargs(XDR *, nlm4_testargs*);
  391. extern bool_t xdr_nlm4_res(XDR *, nlm4_res*);
  392. extern bool_t xdr_nlm4_lockargs(XDR *, nlm4_lockargs*);
  393. extern bool_t xdr_nlm4_cancargs(XDR *, nlm4_cancargs*);
  394. extern bool_t xdr_nlm4_unlockargs(XDR *, nlm4_unlockargs*);
  395. extern bool_t xdr_nlm4_shareargs(XDR *, nlm4_shareargs*);
  396. extern bool_t xdr_nlm4_shareres(XDR *, nlm4_shareres*);
  397. extern bool_t xdr_nlm_sm_status(XDR *, nlm_sm_status*);
  398. extern bool_t xdr_nlm4_notify(XDR *, nlm4_notify*);
  399. #ifdef __cplusplus
  400. }
  401. #endif
  402. #endif /* !_NLM_PROT_H_RPCGEN */