nlm_prot.h 16 KB

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