home *** CD-ROM | disk | FTP | other *** search
/ Power Hacker 2003 / Power_Hacker_2003.iso / Exploit and vulnerability / w00w00 / exploits / tests / pcnfsd / pcnfsd.h < prev   
Encoding:
C/C++ Source or Header  |  1998-08-13  |  30.3 KB  |  1,071 lines

  1. /*
  2.  * Please do not edit this file.
  3.  * It was generated using rpcgen.
  4.  */
  5.  
  6. #ifndef _PCNFSD_H_RPCGEN
  7. #define _PCNFSD_H_RPCGEN
  8.  
  9. #include <rpc/rpc.h>
  10.  
  11. #define IDENTLEN 32
  12. #define PASSWORDLEN 64
  13. #define CLIENTLEN 64
  14. #define PRINTERNAMELEN 64
  15. #define USERNAMELEN 64
  16. #define SPOOLNAMELEN 64
  17. #define OPTIONSLEN 64
  18. #define SPOOLDIRLEN 255
  19. #define EXTRAGIDLEN 16
  20. #define HOMEDIRLEN 255
  21. #define COMMENTLEN 255
  22. #define PRINTJOBIDLEN 255
  23. #define PRLISTMAX 32
  24. #define PRQUEUEMAX 128
  25. #define FACILITIESMAX 32
  26. #define MESSAGELEN 512
  27.  
  28. typedef char *ident;
  29. #ifdef __cplusplus 
  30. extern "C" bool_t xdr_ident(XDR *, ident*);
  31. #elif __STDC__ 
  32. extern  bool_t xdr_ident(XDR *, ident*);
  33. #else /* Old Style C */ 
  34. bool_t xdr_ident();
  35. #endif /* Old Style C */ 
  36.  
  37.  
  38. typedef char *message;
  39. #ifdef __cplusplus 
  40. extern "C" bool_t xdr_message(XDR *, message*);
  41. #elif __STDC__ 
  42. extern  bool_t xdr_message(XDR *, message*);
  43. #else /* Old Style C */ 
  44. bool_t xdr_message();
  45. #endif /* Old Style C */ 
  46.  
  47.  
  48. typedef char *password;
  49. #ifdef __cplusplus 
  50. extern "C" bool_t xdr_password(XDR *, password*);
  51. #elif __STDC__ 
  52. extern  bool_t xdr_password(XDR *, password*);
  53. #else /* Old Style C */ 
  54. bool_t xdr_password();
  55. #endif /* Old Style C */ 
  56.  
  57.  
  58. typedef char *client;
  59. #ifdef __cplusplus 
  60. extern "C" bool_t xdr_client(XDR *, client*);
  61. #elif __STDC__ 
  62. extern  bool_t xdr_client(XDR *, client*);
  63. #else /* Old Style C */ 
  64. bool_t xdr_client();
  65. #endif /* Old Style C */ 
  66.  
  67.  
  68. typedef char *printername;
  69. #ifdef __cplusplus 
  70. extern "C" bool_t xdr_printername(XDR *, printername*);
  71. #elif __STDC__ 
  72. extern  bool_t xdr_printername(XDR *, printername*);
  73. #else /* Old Style C */ 
  74. bool_t xdr_printername();
  75. #endif /* Old Style C */ 
  76.  
  77.  
  78. typedef char *username;
  79. #ifdef __cplusplus 
  80. extern "C" bool_t xdr_username(XDR *, username*);
  81. #elif __STDC__ 
  82. extern  bool_t xdr_username(XDR *, username*);
  83. #else /* Old Style C */ 
  84. bool_t xdr_username();
  85. #endif /* Old Style C */ 
  86.  
  87.  
  88. typedef char *comment;
  89. #ifdef __cplusplus 
  90. extern "C" bool_t xdr_comment(XDR *, comment*);
  91. #elif __STDC__ 
  92. extern  bool_t xdr_comment(XDR *, comment*);
  93. #else /* Old Style C */ 
  94. bool_t xdr_comment();
  95. #endif /* Old Style C */ 
  96.  
  97.  
  98. typedef char *spoolname;
  99. #ifdef __cplusplus 
  100. extern "C" bool_t xdr_spoolname(XDR *, spoolname*);
  101. #elif __STDC__ 
  102. extern  bool_t xdr_spoolname(XDR *, spoolname*);
  103. #else /* Old Style C */ 
  104. bool_t xdr_spoolname();
  105. #endif /* Old Style C */ 
  106.  
  107.  
  108. typedef char *printjobid;
  109. #ifdef __cplusplus 
  110. extern "C" bool_t xdr_printjobid(XDR *, printjobid*);
  111. #elif __STDC__ 
  112. extern  bool_t xdr_printjobid(XDR *, printjobid*);
  113. #else /* Old Style C */ 
  114. bool_t xdr_printjobid();
  115. #endif /* Old Style C */ 
  116.  
  117.  
  118. typedef char *homedir;
  119. #ifdef __cplusplus 
  120. extern "C" bool_t xdr_homedir(XDR *, homedir*);
  121. #elif __STDC__ 
  122. extern  bool_t xdr_homedir(XDR *, homedir*);
  123. #else /* Old Style C */ 
  124. bool_t xdr_homedir();
  125. #endif /* Old Style C */ 
  126.  
  127.  
  128. typedef char *options;
  129. #ifdef __cplusplus 
  130. extern "C" bool_t xdr_options(XDR *, options*);
  131. #elif __STDC__ 
  132. extern  bool_t xdr_options(XDR *, options*);
  133. #else /* Old Style C */ 
  134. bool_t xdr_options();
  135. #endif /* Old Style C */ 
  136.  
  137.  
  138. enum arstat {
  139.     AUTH_RES_OK = 0,
  140.     AUTH_RES_FAKE = 1,
  141.     AUTH_RES_FAIL = 2,
  142. };
  143. typedef enum arstat arstat;
  144. #ifdef __cplusplus 
  145. extern "C" bool_t xdr_arstat(XDR *, arstat*);
  146. #elif __STDC__ 
  147. extern  bool_t xdr_arstat(XDR *, arstat*);
  148. #else /* Old Style C */ 
  149. bool_t xdr_arstat();
  150. #endif /* Old Style C */ 
  151.  
  152.  
  153. enum alrstat {
  154.     ALERT_RES_OK = 0,
  155.     ALERT_RES_FAIL = 1,
  156. };
  157. typedef enum alrstat alrstat;
  158. #ifdef __cplusplus 
  159. extern "C" bool_t xdr_alrstat(XDR *, alrstat*);
  160. #elif __STDC__ 
  161. extern  bool_t xdr_alrstat(XDR *, alrstat*);
  162. #else /* Old Style C */ 
  163. bool_t xdr_alrstat();
  164. #endif /* Old Style C */ 
  165.  
  166.  
  167. enum pirstat {
  168.     PI_RES_OK = 0,
  169.     PI_RES_NO_SUCH_PRINTER = 1,
  170.     PI_RES_FAIL = 2,
  171. };
  172. typedef enum pirstat pirstat;
  173. #ifdef __cplusplus 
  174. extern "C" bool_t xdr_pirstat(XDR *, pirstat*);
  175. #elif __STDC__ 
  176. extern  bool_t xdr_pirstat(XDR *, pirstat*);
  177. #else /* Old Style C */ 
  178. bool_t xdr_pirstat();
  179. #endif /* Old Style C */ 
  180.  
  181.  
  182. enum pcrstat {
  183.     PC_RES_OK = 0,
  184.     PC_RES_NO_SUCH_PRINTER = 1,
  185.     PC_RES_NO_SUCH_JOB = 2,
  186.     PC_RES_NOT_OWNER = 3,
  187.     PC_RES_FAIL = 4,
  188. };
  189. typedef enum pcrstat pcrstat;
  190. #ifdef __cplusplus 
  191. extern "C" bool_t xdr_pcrstat(XDR *, pcrstat*);
  192. #elif __STDC__ 
  193. extern  bool_t xdr_pcrstat(XDR *, pcrstat*);
  194. #else /* Old Style C */ 
  195. bool_t xdr_pcrstat();
  196. #endif /* Old Style C */ 
  197.  
  198.  
  199. enum psrstat {
  200.     PS_RES_OK = 0,
  201.     PS_RES_ALREADY = 1,
  202.     PS_RES_NULL = 2,
  203.     PS_RES_NO_FILE = 3,
  204.     PS_RES_FAIL = 4,
  205. };
  206. typedef enum psrstat psrstat;
  207. #ifdef __cplusplus 
  208. extern "C" bool_t xdr_psrstat(XDR *, psrstat*);
  209. #elif __STDC__ 
  210. extern  bool_t xdr_psrstat(XDR *, psrstat*);
  211. #else /* Old Style C */ 
  212. bool_t xdr_psrstat();
  213. #endif /* Old Style C */ 
  214.  
  215.  
  216. enum mapreq {
  217.     MAP_REQ_UID = 0,
  218.     MAP_REQ_GID = 1,
  219.     MAP_REQ_UNAME = 2,
  220.     MAP_REQ_GNAME = 3,
  221. };
  222. typedef enum mapreq mapreq;
  223. #ifdef __cplusplus 
  224. extern "C" bool_t xdr_mapreq(XDR *, mapreq*);
  225. #elif __STDC__ 
  226. extern  bool_t xdr_mapreq(XDR *, mapreq*);
  227. #else /* Old Style C */ 
  228. bool_t xdr_mapreq();
  229. #endif /* Old Style C */ 
  230.  
  231.  
  232. enum maprstat {
  233.     MAP_RES_OK = 0,
  234.     MAP_RES_UNKNOWN = 1,
  235.     MAP_RES_DENIED = 2,
  236. };
  237. typedef enum maprstat maprstat;
  238. #ifdef __cplusplus 
  239. extern "C" bool_t xdr_maprstat(XDR *, maprstat*);
  240. #elif __STDC__ 
  241. extern  bool_t xdr_maprstat(XDR *, maprstat*);
  242. #else /* Old Style C */ 
  243. bool_t xdr_maprstat();
  244. #endif /* Old Style C */ 
  245.  
  246.  
  247. struct auth_args {
  248.     ident id;
  249.     password pw;
  250. };
  251. typedef struct auth_args auth_args;
  252. #ifdef __cplusplus 
  253. extern "C" bool_t xdr_auth_args(XDR *, auth_args*);
  254. #elif __STDC__ 
  255. extern  bool_t xdr_auth_args(XDR *, auth_args*);
  256. #else /* Old Style C */ 
  257. bool_t xdr_auth_args();
  258. #endif /* Old Style C */ 
  259.  
  260.  
  261. struct auth_results {
  262.     arstat stat;
  263.     u_int uid;
  264.     u_int gid;
  265. };
  266. typedef struct auth_results auth_results;
  267. #ifdef __cplusplus 
  268. extern "C" bool_t xdr_auth_results(XDR *, auth_results*);
  269. #elif __STDC__ 
  270. extern  bool_t xdr_auth_results(XDR *, auth_results*);
  271. #else /* Old Style C */ 
  272. bool_t xdr_auth_results();
  273. #endif /* Old Style C */ 
  274.  
  275.  
  276. struct pr_init_args {
  277.     client system;
  278.     printername pn;
  279. };
  280. typedef struct pr_init_args pr_init_args;
  281. #ifdef __cplusplus 
  282. extern "C" bool_t xdr_pr_init_args(XDR *, pr_init_args*);
  283. #elif __STDC__ 
  284. extern  bool_t xdr_pr_init_args(XDR *, pr_init_args*);
  285. #else /* Old Style C */ 
  286. bool_t xdr_pr_init_args();
  287. #endif /* Old Style C */ 
  288.  
  289.  
  290. struct pr_init_results {
  291.     pirstat stat;
  292.     spoolname dir;
  293. };
  294. typedef struct pr_init_results pr_init_results;
  295. #ifdef __cplusplus 
  296. extern "C" bool_t xdr_pr_init_results(XDR *, pr_init_results*);
  297. #elif __STDC__ 
  298. extern  bool_t xdr_pr_init_results(XDR *, pr_init_results*);
  299. #else /* Old Style C */ 
  300. bool_t xdr_pr_init_results();
  301. #endif /* Old Style C */ 
  302.  
  303.  
  304. struct pr_start_args {
  305.     client system;
  306.     printername pn;
  307.     username user;
  308.     spoolname file;
  309.     options opts;
  310. };
  311. typedef struct pr_start_args pr_start_args;
  312. #ifdef __cplusplus 
  313. extern "C" bool_t xdr_pr_start_args(XDR *, pr_start_args*);
  314. #elif __STDC__ 
  315. extern  bool_t xdr_pr_start_args(XDR *, pr_start_args*);
  316. #else /* Old Style C */ 
  317. bool_t xdr_pr_start_args();
  318. #endif /* Old Style C */ 
  319.  
  320.  
  321. struct pr_start_results {
  322.     psrstat stat;
  323. };
  324. typedef struct pr_start_results pr_start_results;
  325. #ifdef __cplusplus 
  326. extern "C" bool_t xdr_pr_start_results(XDR *, pr_start_results*);
  327. #elif __STDC__ 
  328. extern  bool_t xdr_pr_start_results(XDR *, pr_start_results*);
  329. #else /* Old Style C */ 
  330. bool_t xdr_pr_start_results();
  331. #endif /* Old Style C */ 
  332.  
  333.  
  334. struct v2_info_args {
  335.     comment vers;
  336.     comment cm;
  337. };
  338. typedef struct v2_info_args v2_info_args;
  339. #ifdef __cplusplus 
  340. extern "C" bool_t xdr_v2_info_args(XDR *, v2_info_args*);
  341. #elif __STDC__ 
  342. extern  bool_t xdr_v2_info_args(XDR *, v2_info_args*);
  343. #else /* Old Style C */ 
  344. bool_t xdr_v2_info_args();
  345. #endif /* Old Style C */ 
  346.  
  347.  
  348. struct v2_info_results {
  349.     comment vers;
  350.     comment cm;
  351.     struct {
  352.         u_int facilities_len;
  353.         int *facilities_val;
  354.     } facilities;
  355. };
  356. typedef struct v2_info_results v2_info_results;
  357. #ifdef __cplusplus 
  358. extern "C" bool_t xdr_v2_info_results(XDR *, v2_info_results*);
  359. #elif __STDC__ 
  360. extern  bool_t xdr_v2_info_results(XDR *, v2_info_results*);
  361. #else /* Old Style C */ 
  362. bool_t xdr_v2_info_results();
  363. #endif /* Old Style C */ 
  364.  
  365.  
  366. struct v2_pr_init_args {
  367.     client system;
  368.     printername pn;
  369.     comment cm;
  370. };
  371. typedef struct v2_pr_init_args v2_pr_init_args;
  372. #ifdef __cplusplus 
  373. extern "C" bool_t xdr_v2_pr_init_args(XDR *, v2_pr_init_args*);
  374. #elif __STDC__ 
  375. extern  bool_t xdr_v2_pr_init_args(XDR *, v2_pr_init_args*);
  376. #else /* Old Style C */ 
  377. bool_t xdr_v2_pr_init_args();
  378. #endif /* Old Style C */ 
  379.  
  380.  
  381. struct v2_pr_init_results {
  382.     pirstat stat;
  383.     spoolname dir;
  384.     comment cm;
  385. };
  386. typedef struct v2_pr_init_results v2_pr_init_results;
  387. #ifdef __cplusplus 
  388. extern "C" bool_t xdr_v2_pr_init_results(XDR *, v2_pr_init_results*);
  389. #elif __STDC__ 
  390. extern  bool_t xdr_v2_pr_init_results(XDR *, v2_pr_init_results*);
  391. #else /* Old Style C */ 
  392. bool_t xdr_v2_pr_init_results();
  393. #endif /* Old Style C */ 
  394.  
  395.  
  396. struct v2_pr_start_args {
  397.     client system;
  398.     printername pn;
  399.     username user;
  400.     spoolname file;
  401.     options opts;
  402.     int copies;
  403.     comment cm;
  404. };
  405. typedef struct v2_pr_start_args v2_pr_start_args;
  406. #ifdef __cplusplus 
  407. extern "C" bool_t xdr_v2_pr_start_args(XDR *, v2_pr_start_args*);
  408. #elif __STDC__ 
  409. extern  bool_t xdr_v2_pr_start_args(XDR *, v2_pr_start_args*);
  410. #else /* Old Style C */ 
  411. bool_t xdr_v2_pr_start_args();
  412. #endif /* Old Style C */ 
  413.  
  414.  
  415. struct v2_pr_start_results {
  416.     psrstat stat;
  417.     printjobid id;
  418.     comment cm;
  419. };
  420. typedef struct v2_pr_start_results v2_pr_start_results;
  421. #ifdef __cplusplus 
  422. extern "C" bool_t xdr_v2_pr_start_results(XDR *, v2_pr_start_results*);
  423. #elif __STDC__ 
  424. extern  bool_t xdr_v2_pr_start_results(XDR *, v2_pr_start_results*);
  425. #else /* Old Style C */ 
  426. bool_t xdr_v2_pr_start_results();
  427. #endif /* Old Style C */ 
  428.  
  429.  
  430. typedef struct pr_list_item *pr_list;
  431. #ifdef __cplusplus 
  432. extern "C" bool_t xdr_pr_list(XDR *, pr_list*);
  433. #elif __STDC__ 
  434. extern  bool_t xdr_pr_list(XDR *, pr_list*);
  435. #else /* Old Style C */ 
  436. bool_t xdr_pr_list();
  437. #endif /* Old Style C */ 
  438.  
  439.  
  440. struct pr_list_item {
  441.     printername pn;
  442.     printername device;
  443.     client remhost;
  444.     comment cm;
  445.     pr_list pr_next;
  446. };
  447. typedef struct pr_list_item pr_list_item;
  448. #ifdef __cplusplus 
  449. extern "C" bool_t xdr_pr_list_item(XDR *, pr_list_item*);
  450. #elif __STDC__ 
  451. extern  bool_t xdr_pr_list_item(XDR *, pr_list_item*);
  452. #else /* Old Style C */ 
  453. bool_t xdr_pr_list_item();
  454. #endif /* Old Style C */ 
  455.  
  456.  
  457. struct v2_pr_list_results {
  458.     comment cm;
  459.     pr_list printers;
  460. };
  461. typedef struct v2_pr_list_results v2_pr_list_results;
  462. #ifdef __cplusplus 
  463. extern "C" bool_t xdr_v2_pr_list_results(XDR *, v2_pr_list_results*);
  464. #elif __STDC__ 
  465. extern  bool_t xdr_v2_pr_list_results(XDR *, v2_pr_list_results*);
  466. #else /* Old Style C */ 
  467. bool_t xdr_v2_pr_list_results();
  468. #endif /* Old Style C */ 
  469.  
  470.  
  471. struct v2_pr_queue_args {
  472.     printername pn;
  473.     client system;
  474.     username user;
  475.     bool_t just_mine;
  476.     comment cm;
  477. };
  478. typedef struct v2_pr_queue_args v2_pr_queue_args;
  479. #ifdef __cplusplus 
  480. extern "C" bool_t xdr_v2_pr_queue_args(XDR *, v2_pr_queue_args*);
  481. #elif __STDC__ 
  482. extern  bool_t xdr_v2_pr_queue_args(XDR *, v2_pr_queue_args*);
  483. #else /* Old Style C */ 
  484. bool_t xdr_v2_pr_queue_args();
  485. #endif /* Old Style C */ 
  486.  
  487.  
  488. typedef struct pr_queue_item *pr_queue;
  489. #ifdef __cplusplus 
  490. extern "C" bool_t xdr_pr_queue(XDR *, pr_queue*);
  491. #elif __STDC__ 
  492. extern  bool_t xdr_pr_queue(XDR *, pr_queue*);
  493. #else /* Old Style C */ 
  494. bool_t xdr_pr_queue();
  495. #endif /* Old Style C */ 
  496.  
  497.  
  498. struct pr_queue_item {
  499.     int position;
  500.     printjobid id;
  501.     comment size;
  502.     comment status;
  503.     client system;
  504.     username user;
  505.     spoolname file;
  506.     comment cm;
  507.     pr_queue pr_next;
  508. };
  509. typedef struct pr_queue_item pr_queue_item;
  510. #ifdef __cplusplus 
  511. extern "C" bool_t xdr_pr_queue_item(XDR *, pr_queue_item*);
  512. #elif __STDC__ 
  513. extern  bool_t xdr_pr_queue_item(XDR *, pr_queue_item*);
  514. #else /* Old Style C */ 
  515. bool_t xdr_pr_queue_item();
  516. #endif /* Old Style C */ 
  517.  
  518.  
  519. struct v2_pr_queue_results {
  520.     pirstat stat;
  521.     comment cm;
  522.     bool_t just_yours;
  523.     int qlen;
  524.     int qshown;
  525.     pr_queue jobs;
  526. };
  527. typedef struct v2_pr_queue_results v2_pr_queue_results;
  528. #ifdef __cplusplus 
  529. extern "C" bool_t xdr_v2_pr_queue_results(XDR *, v2_pr_queue_results*);
  530. #elif __STDC__ 
  531. extern  bool_t xdr_v2_pr_queue_results(XDR *, v2_pr_queue_results*);
  532. #else /* Old Style C */ 
  533. bool_t xdr_v2_pr_queue_results();
  534. #endif /* Old Style C */ 
  535.  
  536.  
  537. struct v2_pr_cancel_args {
  538.     printername pn;
  539.     client system;
  540.     username user;
  541.     printjobid id;
  542.     comment cm;
  543. };
  544. typedef struct v2_pr_cancel_args v2_pr_cancel_args;
  545. #ifdef __cplusplus 
  546. extern "C" bool_t xdr_v2_pr_cancel_args(XDR *, v2_pr_cancel_args*);
  547. #elif __STDC__ 
  548. extern  bool_t xdr_v2_pr_cancel_args(XDR *, v2_pr_cancel_args*);
  549. #else /* Old Style C */ 
  550. bool_t xdr_v2_pr_cancel_args();
  551. #endif /* Old Style C */ 
  552.  
  553.  
  554. struct v2_pr_cancel_results {
  555.     pcrstat stat;
  556.     comment cm;
  557. };
  558. typedef struct v2_pr_cancel_results v2_pr_cancel_results;
  559. #ifdef __cplusplus 
  560. extern "C" bool_t xdr_v2_pr_cancel_results(XDR *, v2_pr_cancel_results*);
  561. #elif __STDC__ 
  562. extern  bool_t xdr_v2_pr_cancel_results(XDR *, v2_pr_cancel_results*);
  563. #else /* Old Style C */ 
  564. bool_t xdr_v2_pr_cancel_results();
  565. #endif /* Old Style C */ 
  566.  
  567.  
  568. struct v2_pr_status_args {
  569.     printername pn;
  570.     comment cm;
  571. };
  572. typedef struct v2_pr_status_args v2_pr_status_args;
  573. #ifdef __cplusplus 
  574. extern "C" bool_t xdr_v2_pr_status_args(XDR *, v2_pr_status_args*);
  575. #elif __STDC__ 
  576. extern  bool_t xdr_v2_pr_status_args(XDR *, v2_pr_status_args*);
  577. #else /* Old Style C */ 
  578. bool_t xdr_v2_pr_status_args();
  579. #endif /* Old Style C */ 
  580.  
  581.  
  582. struct v2_pr_status_results {
  583.     pirstat stat;
  584.     bool_t avail;
  585.     bool_t printing;
  586.     int qlen;
  587.     bool_t needs_operator;
  588.     comment status;
  589.     comment cm;
  590. };
  591. typedef struct v2_pr_status_results v2_pr_status_results;
  592. #ifdef __cplusplus 
  593. extern "C" bool_t xdr_v2_pr_status_results(XDR *, v2_pr_status_results*);
  594. #elif __STDC__ 
  595. extern  bool_t xdr_v2_pr_status_results(XDR *, v2_pr_status_results*);
  596. #else /* Old Style C */ 
  597. bool_t xdr_v2_pr_status_results();
  598. #endif /* Old Style C */ 
  599.  
  600.  
  601. struct v2_pr_admin_args {
  602.     client system;
  603.     username user;
  604.     printername pn;
  605.     comment cm;
  606. };
  607. typedef struct v2_pr_admin_args v2_pr_admin_args;
  608. #ifdef __cplusplus 
  609. extern "C" bool_t xdr_v2_pr_admin_args(XDR *, v2_pr_admin_args*);
  610. #elif __STDC__ 
  611. extern  bool_t xdr_v2_pr_admin_args(XDR *, v2_pr_admin_args*);
  612. #else /* Old Style C */ 
  613. bool_t xdr_v2_pr_admin_args();
  614. #endif /* Old Style C */ 
  615.  
  616.  
  617. struct v2_pr_admin_results {
  618.     pirstat stat;
  619.     comment cm;
  620. };
  621. typedef struct v2_pr_admin_results v2_pr_admin_results;
  622. #ifdef __cplusplus 
  623. extern "C" bool_t xdr_v2_pr_admin_results(XDR *, v2_pr_admin_results*);
  624. #elif __STDC__ 
  625. extern  bool_t xdr_v2_pr_admin_results(XDR *, v2_pr_admin_results*);
  626. #else /* Old Style C */ 
  627. bool_t xdr_v2_pr_admin_results();
  628. #endif /* Old Style C */ 
  629.  
  630.  
  631. struct v2_pr_requeue_args {
  632.     printername pn;
  633.     client system;
  634.     username user;
  635.     printjobid id;
  636.     int qpos;
  637.     comment cm;
  638. };
  639. typedef struct v2_pr_requeue_args v2_pr_requeue_args;
  640. #ifdef __cplusplus 
  641. extern "C" bool_t xdr_v2_pr_requeue_args(XDR *, v2_pr_requeue_args*);
  642. #elif __STDC__ 
  643. extern  bool_t xdr_v2_pr_requeue_args(XDR *, v2_pr_requeue_args*);
  644. #else /* Old Style C */ 
  645. bool_t xdr_v2_pr_requeue_args();
  646. #endif /* Old Style C */ 
  647.  
  648.  
  649. struct v2_pr_requeue_results {
  650.     pcrstat stat;
  651.     comment cm;
  652. };
  653. typedef struct v2_pr_requeue_results v2_pr_requeue_results;
  654. #ifdef __cplusplus 
  655. extern "C" bool_t xdr_v2_pr_requeue_results(XDR *, v2_pr_requeue_results*);
  656. #elif __STDC__ 
  657. extern  bool_t xdr_v2_pr_requeue_results(XDR *, v2_pr_requeue_results*);
  658. #else /* Old Style C */ 
  659. bool_t xdr_v2_pr_requeue_results();
  660. #endif /* Old Style C */ 
  661.  
  662.  
  663. struct v2_pr_hold_args {
  664.     printername pn;
  665.     client system;
  666.     username user;
  667.     printjobid id;
  668.     comment cm;
  669. };
  670. typedef struct v2_pr_hold_args v2_pr_hold_args;
  671. #ifdef __cplusplus 
  672. extern "C" bool_t xdr_v2_pr_hold_args(XDR *, v2_pr_hold_args*);
  673. #elif __STDC__ 
  674. extern  bool_t xdr_v2_pr_hold_args(XDR *, v2_pr_hold_args*);
  675. #else /* Old Style C */ 
  676. bool_t xdr_v2_pr_hold_args();
  677. #endif /* Old Style C */ 
  678.  
  679.  
  680. struct v2_pr_hold_results {
  681.     pcrstat stat;
  682.     comment cm;
  683. };
  684. typedef struct v2_pr_hold_results v2_pr_hold_results;
  685. #ifdef __cplusplus 
  686. extern "C" bool_t xdr_v2_pr_hold_results(XDR *, v2_pr_hold_results*);
  687. #elif __STDC__ 
  688. extern  bool_t xdr_v2_pr_hold_results(XDR *, v2_pr_hold_results*);
  689. #else /* Old Style C */ 
  690. bool_t xdr_v2_pr_hold_results();
  691. #endif /* Old Style C */ 
  692.  
  693.  
  694. struct v2_pr_release_args {
  695.     printername pn;
  696.     client system;
  697.     username user;
  698.     printjobid id;
  699.     comment cm;
  700. };
  701. typedef struct v2_pr_release_args v2_pr_release_args;
  702. #ifdef __cplusplus 
  703. extern "C" bool_t xdr_v2_pr_release_args(XDR *, v2_pr_release_args*);
  704. #elif __STDC__ 
  705. extern  bool_t xdr_v2_pr_release_args(XDR *, v2_pr_release_args*);
  706. #else /* Old Style C */ 
  707. bool_t xdr_v2_pr_release_args();
  708. #endif /* Old Style C */ 
  709.  
  710.  
  711. struct v2_pr_release_results {
  712.     pcrstat stat;
  713.     comment cm;
  714. };
  715. typedef struct v2_pr_release_results v2_pr_release_results;
  716. #ifdef __cplusplus 
  717. extern "C" bool_t xdr_v2_pr_release_results(XDR *, v2_pr_release_results*);
  718. #elif __STDC__ 
  719. extern  bool_t xdr_v2_pr_release_results(XDR *, v2_pr_release_results*);
  720. #else /* Old Style C */ 
  721. bool_t xdr_v2_pr_release_results();
  722. #endif /* Old Style C */ 
  723.  
  724.  
  725. typedef struct mapreq_arg_item *mapreq_arg;
  726. #ifdef __cplusplus 
  727. extern "C" bool_t xdr_mapreq_arg(XDR *, mapreq_arg*);
  728. #elif __STDC__ 
  729. extern  bool_t xdr_mapreq_arg(XDR *, mapreq_arg*);
  730. #else /* Old Style C */ 
  731. bool_t xdr_mapreq_arg();
  732. #endif /* Old Style C */ 
  733.  
  734.  
  735. struct mapreq_arg_item {
  736.     mapreq req;
  737.     int id;
  738.     username name;
  739.     mapreq_arg mapreq_next;
  740. };
  741. typedef struct mapreq_arg_item mapreq_arg_item;
  742. #ifdef __cplusplus 
  743. extern "C" bool_t xdr_mapreq_arg_item(XDR *, mapreq_arg_item*);
  744. #elif __STDC__ 
  745. extern  bool_t xdr_mapreq_arg_item(XDR *, mapreq_arg_item*);
  746. #else /* Old Style C */ 
  747. bool_t xdr_mapreq_arg_item();
  748. #endif /* Old Style C */ 
  749.  
  750.  
  751. typedef struct mapreq_res_item *mapreq_res;
  752. #ifdef __cplusplus 
  753. extern "C" bool_t xdr_mapreq_res(XDR *, mapreq_res*);
  754. #elif __STDC__ 
  755. extern  bool_t xdr_mapreq_res(XDR *, mapreq_res*);
  756. #else /* Old Style C */ 
  757. bool_t xdr_mapreq_res();
  758. #endif /* Old Style C */ 
  759.  
  760.  
  761. struct mapreq_res_item {
  762.     mapreq req;
  763.     maprstat stat;
  764.     int id;
  765.     username name;
  766.     mapreq_res mapreq_next;
  767. };
  768. typedef struct mapreq_res_item mapreq_res_item;
  769. #ifdef __cplusplus 
  770. extern "C" bool_t xdr_mapreq_res_item(XDR *, mapreq_res_item*);
  771. #elif __STDC__ 
  772. extern  bool_t xdr_mapreq_res_item(XDR *, mapreq_res_item*);
  773. #else /* Old Style C */ 
  774. bool_t xdr_mapreq_res_item();
  775. #endif /* Old Style C */ 
  776.  
  777.  
  778. struct v2_mapid_args {
  779.     comment cm;
  780.     mapreq_arg req_list;
  781. };
  782. typedef struct v2_mapid_args v2_mapid_args;
  783. #ifdef __cplusplus 
  784. extern "C" bool_t xdr_v2_mapid_args(XDR *, v2_mapid_args*);
  785. #elif __STDC__ 
  786. extern  bool_t xdr_v2_mapid_args(XDR *, v2_mapid_args*);
  787. #else /* Old Style C */ 
  788. bool_t xdr_v2_mapid_args();
  789. #endif /* Old Style C */ 
  790.  
  791.  
  792. struct v2_mapid_results {
  793.     comment cm;
  794.     mapreq_res res_list;
  795. };
  796. typedef struct v2_mapid_results v2_mapid_results;
  797. #ifdef __cplusplus 
  798. extern "C" bool_t xdr_v2_mapid_results(XDR *, v2_mapid_results*);
  799. #elif __STDC__ 
  800. extern  bool_t xdr_v2_mapid_results(XDR *, v2_mapid_results*);
  801. #else /* Old Style C */ 
  802. bool_t xdr_v2_mapid_results();
  803. #endif /* Old Style C */ 
  804.  
  805.  
  806. struct v2_auth_args {
  807.     client system;
  808.     ident id;
  809.     password pw;
  810.     comment cm;
  811. };
  812. typedef struct v2_auth_args v2_auth_args;
  813. #ifdef __cplusplus 
  814. extern "C" bool_t xdr_v2_auth_args(XDR *, v2_auth_args*);
  815. #elif __STDC__ 
  816. extern  bool_t xdr_v2_auth_args(XDR *, v2_auth_args*);
  817. #else /* Old Style C */ 
  818. bool_t xdr_v2_auth_args();
  819. #endif /* Old Style C */ 
  820.  
  821.  
  822. struct v2_auth_results {
  823.     arstat stat;
  824.     u_int uid;
  825.     u_int gid;
  826.     struct {
  827.         u_int gids_len;
  828.         u_int *gids_val;
  829.     } gids;
  830.     homedir home;
  831.     int def_umask;
  832.     comment cm;
  833. };
  834. typedef struct v2_auth_results v2_auth_results;
  835. #ifdef __cplusplus 
  836. extern "C" bool_t xdr_v2_auth_results(XDR *, v2_auth_results*);
  837. #elif __STDC__ 
  838. extern  bool_t xdr_v2_auth_results(XDR *, v2_auth_results*);
  839. #else /* Old Style C */ 
  840. bool_t xdr_v2_auth_results();
  841. #endif /* Old Style C */ 
  842.  
  843.  
  844. struct v2_alert_args {
  845.     client system;
  846.     printername pn;
  847.     username user;
  848.     message msg;
  849. };
  850. typedef struct v2_alert_args v2_alert_args;
  851. #ifdef __cplusplus 
  852. extern "C" bool_t xdr_v2_alert_args(XDR *, v2_alert_args*);
  853. #elif __STDC__ 
  854. extern  bool_t xdr_v2_alert_args(XDR *, v2_alert_args*);
  855. #else /* Old Style C */ 
  856. bool_t xdr_v2_alert_args();
  857. #endif /* Old Style C */ 
  858.  
  859.  
  860. struct v2_alert_results {
  861.     alrstat stat;
  862.     comment cm;
  863. };
  864. typedef struct v2_alert_results v2_alert_results;
  865. #ifdef __cplusplus 
  866. extern "C" bool_t xdr_v2_alert_results(XDR *, v2_alert_results*);
  867. #elif __STDC__ 
  868. extern  bool_t xdr_v2_alert_results(XDR *, v2_alert_results*);
  869. #else /* Old Style C */ 
  870. bool_t xdr_v2_alert_results();
  871. #endif /* Old Style C */ 
  872.  
  873. #if RPC_SVC
  874.  static void _msgout();
  875.  void msg_out(msg) char *msg; {_msgout(msg);}
  876. #endif
  877. #if 1 
  878.  extern void msg_out();
  879. #endif
  880.  
  881. #define PCNFSDPROG ((u_long)150001)
  882. #define PCNFSDVERS ((u_long)1)
  883.  
  884. #ifdef __cplusplus
  885. #define PCNFSD_NULL ((u_long)0)
  886. extern "C" void * pcnfsd_null_1(void *, CLIENT *);
  887. extern "C" void * pcnfsd_null_1_svc(void *, struct svc_req *);
  888. #define PCNFSD_AUTH ((u_long)1)
  889. extern "C" auth_results * pcnfsd_auth_1(auth_args *, CLIENT *);
  890. extern "C" auth_results * pcnfsd_auth_1_svc(auth_args *, struct svc_req *);
  891. #define PCNFSD_PR_INIT ((u_long)2)
  892. extern "C" pr_init_results * pcnfsd_pr_init_1(pr_init_args *, CLIENT *);
  893. extern "C" pr_init_results * pcnfsd_pr_init_1_svc(pr_init_args *, struct svc_req *);
  894. #define PCNFSD_PR_START ((u_long)3)
  895. extern "C" pr_start_results * pcnfsd_pr_start_1(pr_start_args *, CLIENT *);
  896. extern "C" pr_start_results * pcnfsd_pr_start_1_svc(pr_start_args *, struct svc_req *);
  897.  
  898. #elif __STDC__
  899. #define PCNFSD_NULL ((u_long)0)
  900. extern  void * pcnfsd_null_1(void *, CLIENT *);
  901. extern  void * pcnfsd_null_1_svc(void *, struct svc_req *);
  902. #define PCNFSD_AUTH ((u_long)1)
  903. extern  auth_results * pcnfsd_auth_1(auth_args *, CLIENT *);
  904. extern  auth_results * pcnfsd_auth_1_svc(auth_args *, struct svc_req *);
  905. #define PCNFSD_PR_INIT ((u_long)2)
  906. extern  pr_init_results * pcnfsd_pr_init_1(pr_init_args *, CLIENT *);
  907. extern  pr_init_results * pcnfsd_pr_init_1_svc(pr_init_args *, struct svc_req *);
  908. #define PCNFSD_PR_START ((u_long)3)
  909. extern  pr_start_results * pcnfsd_pr_start_1(pr_start_args *, CLIENT *);
  910. extern  pr_start_results * pcnfsd_pr_start_1_svc(pr_start_args *, struct svc_req *);
  911.  
  912. #else /* Old Style C */ 
  913. #define PCNFSD_NULL ((u_long)0)
  914. extern  void * pcnfsd_null_1();
  915. extern  void * pcnfsd_null_1_svc();
  916. #define PCNFSD_AUTH ((u_long)1)
  917. extern  auth_results * pcnfsd_auth_1();
  918. extern  auth_results * pcnfsd_auth_1_svc();
  919. #define PCNFSD_PR_INIT ((u_long)2)
  920. extern  pr_init_results * pcnfsd_pr_init_1();
  921. extern  pr_init_results * pcnfsd_pr_init_1_svc();
  922. #define PCNFSD_PR_START ((u_long)3)
  923. extern  pr_start_results * pcnfsd_pr_start_1();
  924. extern  pr_start_results * pcnfsd_pr_start_1_svc();
  925. #endif /* Old Style C */ 
  926. #define PCNFSDV2 ((u_long)2)
  927.  
  928. #ifdef __cplusplus
  929. #define PCNFSD2_NULL ((u_long)0)
  930. extern "C" void * pcnfsd2_null_2(void *, CLIENT *);
  931. extern "C" void * pcnfsd2_null_2_svc(void *, struct svc_req *);
  932. #define PCNFSD2_INFO ((u_long)1)
  933. extern "C" v2_info_results * pcnfsd2_info_2(v2_info_args *, CLIENT *);
  934. extern "C" v2_info_results * pcnfsd2_info_2_svc(v2_info_args *, struct svc_req *);
  935. #define PCNFSD2_PR_INIT ((u_long)2)
  936. extern "C" v2_pr_init_results * pcnfsd2_pr_init_2(v2_pr_init_args *, CLIENT *);
  937. extern "C" v2_pr_init_results * pcnfsd2_pr_init_2_svc(v2_pr_init_args *, struct svc_req *);
  938. #define PCNFSD2_PR_START ((u_long)3)
  939. extern "C" v2_pr_start_results * pcnfsd2_pr_start_2(v2_pr_start_args *, CLIENT *);
  940. extern "C" v2_pr_start_results * pcnfsd2_pr_start_2_svc(v2_pr_start_args *, struct svc_req *);
  941. #define PCNFSD2_PR_LIST ((u_long)4)
  942. extern "C" v2_pr_list_results * pcnfsd2_pr_list_2(void *, CLIENT *);
  943. extern "C" v2_pr_list_results * pcnfsd2_pr_list_2_svc(void *, struct svc_req *);
  944. #define PCNFSD2_PR_QUEUE ((u_long)5)
  945. extern "C" v2_pr_queue_results * pcnfsd2_pr_queue_2(v2_pr_queue_args *, CLIENT *);
  946. extern "C" v2_pr_queue_results * pcnfsd2_pr_queue_2_svc(v2_pr_queue_args *, struct svc_req *);
  947. #define PCNFSD2_PR_STATUS ((u_long)6)
  948. extern "C" v2_pr_status_results * pcnfsd2_pr_status_2(v2_pr_status_args *, CLIENT *);
  949. extern "C" v2_pr_status_results * pcnfsd2_pr_status_2_svc(v2_pr_status_args *, struct svc_req *);
  950. #define PCNFSD2_PR_CANCEL ((u_long)7)
  951. extern "C" v2_pr_cancel_results * pcnfsd2_pr_cancel_2(v2_pr_cancel_args *, CLIENT *);
  952. extern "C" v2_pr_cancel_results * pcnfsd2_pr_cancel_2_svc(v2_pr_cancel_args *, struct svc_req *);
  953. #define PCNFSD2_PR_ADMIN ((u_long)8)
  954. extern "C" v2_pr_admin_results * pcnfsd2_pr_admin_2(v2_pr_admin_args *, CLIENT *);
  955. extern "C" v2_pr_admin_results * pcnfsd2_pr_admin_2_svc(v2_pr_admin_args *, struct svc_req *);
  956. #define PCNFSD2_PR_REQUEUE ((u_long)9)
  957. extern "C" v2_pr_requeue_results * pcnfsd2_pr_requeue_2(v2_pr_requeue_args *, CLIENT *);
  958. extern "C" v2_pr_requeue_results * pcnfsd2_pr_requeue_2_svc(v2_pr_requeue_args *, struct svc_req *);
  959. #define PCNFSD2_PR_HOLD ((u_long)10)
  960. extern "C" v2_pr_hold_results * pcnfsd2_pr_hold_2(v2_pr_hold_args *, CLIENT *);
  961. extern "C" v2_pr_hold_results * pcnfsd2_pr_hold_2_svc(v2_pr_hold_args *, struct svc_req *);
  962. #define PCNFSD2_PR_RELEASE ((u_long)11)
  963. extern "C" v2_pr_release_results * pcnfsd2_pr_release_2(v2_pr_release_args *, CLIENT *);
  964. extern "C" v2_pr_release_results * pcnfsd2_pr_release_2_svc(v2_pr_release_args *, struct svc_req *);
  965. #define PCNFSD2_MAPID ((u_long)12)
  966. extern "C" v2_mapid_results * pcnfsd2_mapid_2(v2_mapid_args *, CLIENT *);
  967. extern "C" v2_mapid_results * pcnfsd2_mapid_2_svc(v2_mapid_args *, struct svc_req *);
  968. #define PCNFSD2_AUTH ((u_long)13)
  969. extern "C" v2_auth_results * pcnfsd2_auth_2(v2_auth_args *, CLIENT *);
  970. extern "C" v2_auth_results * pcnfsd2_auth_2_svc(v2_auth_args *, struct svc_req *);
  971. #define PCNFSD2_ALERT ((u_long)14)
  972. extern "C" v2_alert_results * pcnfsd2_alert_2(v2_alert_args *, CLIENT *);
  973. extern "C" v2_alert_results * pcnfsd2_alert_2_svc(v2_alert_args *, struct svc_req *);
  974.  
  975. #elif __STDC__
  976. #define PCNFSD2_NULL ((u_long)0)
  977. extern  void * pcnfsd2_null_2(void *, CLIENT *);
  978. extern  void * pcnfsd2_null_2_svc(void *, struct svc_req *);
  979. #define PCNFSD2_INFO ((u_long)1)
  980. extern  v2_info_results * pcnfsd2_info_2(v2_info_args *, CLIENT *);
  981. extern  v2_info_results * pcnfsd2_info_2_svc(v2_info_args *, struct svc_req *);
  982. #define PCNFSD2_PR_INIT ((u_long)2)
  983. extern  v2_pr_init_results * pcnfsd2_pr_init_2(v2_pr_init_args *, CLIENT *);
  984. extern  v2_pr_init_results * pcnfsd2_pr_init_2_svc(v2_pr_init_args *, struct svc_req *);
  985. #define PCNFSD2_PR_START ((u_long)3)
  986. extern  v2_pr_start_results * pcnfsd2_pr_start_2(v2_pr_start_args *, CLIENT *);
  987. extern  v2_pr_start_results * pcnfsd2_pr_start_2_svc(v2_pr_start_args *, struct svc_req *);
  988. #define PCNFSD2_PR_LIST ((u_long)4)
  989. extern  v2_pr_list_results * pcnfsd2_pr_list_2(void *, CLIENT *);
  990. extern  v2_pr_list_results * pcnfsd2_pr_list_2_svc(void *, struct svc_req *);
  991. #define PCNFSD2_PR_QUEUE ((u_long)5)
  992. extern  v2_pr_queue_results * pcnfsd2_pr_queue_2(v2_pr_queue_args *, CLIENT *);
  993. extern  v2_pr_queue_results * pcnfsd2_pr_queue_2_svc(v2_pr_queue_args *, struct svc_req *);
  994. #define PCNFSD2_PR_STATUS ((u_long)6)
  995. extern  v2_pr_status_results * pcnfsd2_pr_status_2(v2_pr_status_args *, CLIENT *);
  996. extern  v2_pr_status_results * pcnfsd2_pr_status_2_svc(v2_pr_status_args *, struct svc_req *);
  997. #define PCNFSD2_PR_CANCEL ((u_long)7)
  998. extern  v2_pr_cancel_results * pcnfsd2_pr_cancel_2(v2_pr_cancel_args *, CLIENT *);
  999. extern  v2_pr_cancel_results * pcnfsd2_pr_cancel_2_svc(v2_pr_cancel_args *, struct svc_req *);
  1000. #define PCNFSD2_PR_ADMIN ((u_long)8)
  1001. extern  v2_pr_admin_results * pcnfsd2_pr_admin_2(v2_pr_admin_args *, CLIENT *);
  1002. extern  v2_pr_admin_results * pcnfsd2_pr_admin_2_svc(v2_pr_admin_args *, struct svc_req *);
  1003. #define PCNFSD2_PR_REQUEUE ((u_long)9)
  1004. extern  v2_pr_requeue_results * pcnfsd2_pr_requeue_2(v2_pr_requeue_args *, CLIENT *);
  1005. extern  v2_pr_requeue_results * pcnfsd2_pr_requeue_2_svc(v2_pr_requeue_args *, struct svc_req *);
  1006. #define PCNFSD2_PR_HOLD ((u_long)10)
  1007. extern  v2_pr_hold_results * pcnfsd2_pr_hold_2(v2_pr_hold_args *, CLIENT *);
  1008. extern  v2_pr_hold_results * pcnfsd2_pr_hold_2_svc(v2_pr_hold_args *, struct svc_req *);
  1009. #define PCNFSD2_PR_RELEASE ((u_long)11)
  1010. extern  v2_pr_release_results * pcnfsd2_pr_release_2(v2_pr_release_args *, CLIENT *);
  1011. extern  v2_pr_release_results * pcnfsd2_pr_release_2_svc(v2_pr_release_args *, struct svc_req *);
  1012. #define PCNFSD2_MAPID ((u_long)12)
  1013. extern  v2_mapid_results * pcnfsd2_mapid_2(v2_mapid_args *, CLIENT *);
  1014. extern  v2_mapid_results * pcnfsd2_mapid_2_svc(v2_mapid_args *, struct svc_req *);
  1015. #define PCNFSD2_AUTH ((u_long)13)
  1016. extern  v2_auth_results * pcnfsd2_auth_2(v2_auth_args *, CLIENT *);
  1017. extern  v2_auth_results * pcnfsd2_auth_2_svc(v2_auth_args *, struct svc_req *);
  1018. #define PCNFSD2_ALERT ((u_long)14)
  1019. extern  v2_alert_results * pcnfsd2_alert_2(v2_alert_args *, CLIENT *);
  1020. extern  v2_alert_results * pcnfsd2_alert_2_svc(v2_alert_args *, struct svc_req *);
  1021.  
  1022. #else /* Old Style C */ 
  1023. #define PCNFSD2_NULL ((u_long)0)
  1024. extern  void * pcnfsd2_null_2();
  1025. extern  void * pcnfsd2_null_2_svc();
  1026. #define PCNFSD2_INFO ((u_long)1)
  1027. extern  v2_info_results * pcnfsd2_info_2();
  1028. extern  v2_info_results * pcnfsd2_info_2_svc();
  1029. #define PCNFSD2_PR_INIT ((u_long)2)
  1030. extern  v2_pr_init_results * pcnfsd2_pr_init_2();
  1031. extern  v2_pr_init_results * pcnfsd2_pr_init_2_svc();
  1032. #define PCNFSD2_PR_START ((u_long)3)
  1033. extern  v2_pr_start_results * pcnfsd2_pr_start_2();
  1034. extern  v2_pr_start_results * pcnfsd2_pr_start_2_svc();
  1035. #define PCNFSD2_PR_LIST ((u_long)4)
  1036. extern  v2_pr_list_results * pcnfsd2_pr_list_2();
  1037. extern  v2_pr_list_results * pcnfsd2_pr_list_2_svc();
  1038. #define PCNFSD2_PR_QUEUE ((u_long)5)
  1039. extern  v2_pr_queue_results * pcnfsd2_pr_queue_2();
  1040. extern  v2_pr_queue_results * pcnfsd2_pr_queue_2_svc();
  1041. #define PCNFSD2_PR_STATUS ((u_long)6)
  1042. extern  v2_pr_status_results * pcnfsd2_pr_status_2();
  1043. extern  v2_pr_status_results * pcnfsd2_pr_status_2_svc();
  1044. #define PCNFSD2_PR_CANCEL ((u_long)7)
  1045. extern  v2_pr_cancel_results * pcnfsd2_pr_cancel_2();
  1046. extern  v2_pr_cancel_results * pcnfsd2_pr_cancel_2_svc();
  1047. #define PCNFSD2_PR_ADMIN ((u_long)8)
  1048. extern  v2_pr_admin_results * pcnfsd2_pr_admin_2();
  1049. extern  v2_pr_admin_results * pcnfsd2_pr_admin_2_svc();
  1050. #define PCNFSD2_PR_REQUEUE ((u_long)9)
  1051. extern  v2_pr_requeue_results * pcnfsd2_pr_requeue_2();
  1052. extern  v2_pr_requeue_results * pcnfsd2_pr_requeue_2_svc();
  1053. #define PCNFSD2_PR_HOLD ((u_long)10)
  1054. extern  v2_pr_hold_results * pcnfsd2_pr_hold_2();
  1055. extern  v2_pr_hold_results * pcnfsd2_pr_hold_2_svc();
  1056. #define PCNFSD2_PR_RELEASE ((u_long)11)
  1057. extern  v2_pr_release_results * pcnfsd2_pr_release_2();
  1058. extern  v2_pr_release_results * pcnfsd2_pr_release_2_svc();
  1059. #define PCNFSD2_MAPID ((u_long)12)
  1060. extern  v2_mapid_results * pcnfsd2_mapid_2();
  1061. extern  v2_mapid_results * pcnfsd2_mapid_2_svc();
  1062. #define PCNFSD2_AUTH ((u_long)13)
  1063. extern  v2_auth_results * pcnfsd2_auth_2();
  1064. extern  v2_auth_results * pcnfsd2_auth_2_svc();
  1065. #define PCNFSD2_ALERT ((u_long)14)
  1066. extern  v2_alert_results * pcnfsd2_alert_2();
  1067. extern  v2_alert_results * pcnfsd2_alert_2_svc();
  1068. #endif /* Old Style C */ 
  1069.  
  1070. #endif /* !_PCNFSD_H_RPCGEN */
  1071.