Subversion Repositories f9daq

Rev

Blame | Last modification | View Log | RSS feed

  1. /*
  2.  * Please do not edit this file.
  3.  * It was generated using rpcgen.
  4.  */
  5.  
  6. #include <memory.h> /* for memset */
  7. #include "vxi11.h"
  8.  
  9. /* Default timeout can be changed using clnt_control() */
  10. static struct timeval TIMEOUT = { 25, 0 };
  11.  
  12. enum clnt_stat
  13. device_abort_1(Device_Link *argp, Device_Error *clnt_res, CLIENT *clnt)
  14. {
  15.         return (clnt_call(clnt, device_abort,
  16.                 (xdrproc_t) xdr_Device_Link, (caddr_t) argp,
  17.                 (xdrproc_t) xdr_Device_Error, (caddr_t) clnt_res,
  18.                 TIMEOUT));
  19. }
  20.  
  21. enum clnt_stat
  22. create_link_1(Create_LinkParms *argp, Create_LinkResp *clnt_res, CLIENT *clnt)
  23. {
  24.         return (clnt_call(clnt, create_link,
  25.                 (xdrproc_t) xdr_Create_LinkParms, (caddr_t) argp,
  26.                 (xdrproc_t) xdr_Create_LinkResp, (caddr_t) clnt_res,
  27.                 TIMEOUT));
  28. }
  29.  
  30. enum clnt_stat
  31. device_write_1(Device_WriteParms *argp, Device_WriteResp *clnt_res, CLIENT *clnt)
  32. {
  33.         return (clnt_call(clnt, device_write,
  34.                 (xdrproc_t) xdr_Device_WriteParms, (caddr_t) argp,
  35.                 (xdrproc_t) xdr_Device_WriteResp, (caddr_t) clnt_res,
  36.                 TIMEOUT));
  37. }
  38.  
  39. enum clnt_stat
  40. device_read_1(Device_ReadParms *argp, Device_ReadResp *clnt_res, CLIENT *clnt)
  41. {
  42.         return (clnt_call(clnt, device_read,
  43.                 (xdrproc_t) xdr_Device_ReadParms, (caddr_t) argp,
  44.                 (xdrproc_t) xdr_Device_ReadResp, (caddr_t) clnt_res,
  45.                 TIMEOUT));
  46. }
  47.  
  48. enum clnt_stat
  49. device_readstb_1(Device_GenericParms *argp, Device_ReadStbResp *clnt_res, CLIENT *clnt)
  50. {
  51.         return (clnt_call(clnt, device_readstb,
  52.                 (xdrproc_t) xdr_Device_GenericParms, (caddr_t) argp,
  53.                 (xdrproc_t) xdr_Device_ReadStbResp, (caddr_t) clnt_res,
  54.                 TIMEOUT));
  55. }
  56.  
  57. enum clnt_stat
  58. device_trigger_1(Device_GenericParms *argp, Device_Error *clnt_res, CLIENT *clnt)
  59. {
  60.         return (clnt_call(clnt, device_trigger,
  61.                 (xdrproc_t) xdr_Device_GenericParms, (caddr_t) argp,
  62.                 (xdrproc_t) xdr_Device_Error, (caddr_t) clnt_res,
  63.                 TIMEOUT));
  64. }
  65.  
  66. enum clnt_stat
  67. device_clear_1(Device_GenericParms *argp, Device_Error *clnt_res, CLIENT *clnt)
  68. {
  69.         return (clnt_call(clnt, device_clear,
  70.                 (xdrproc_t) xdr_Device_GenericParms, (caddr_t) argp,
  71.                 (xdrproc_t) xdr_Device_Error, (caddr_t) clnt_res,
  72.                 TIMEOUT));
  73. }
  74.  
  75. enum clnt_stat
  76. device_remote_1(Device_GenericParms *argp, Device_Error *clnt_res, CLIENT *clnt)
  77. {
  78.         return (clnt_call(clnt, device_remote,
  79.                 (xdrproc_t) xdr_Device_GenericParms, (caddr_t) argp,
  80.                 (xdrproc_t) xdr_Device_Error, (caddr_t) clnt_res,
  81.                 TIMEOUT));
  82. }
  83.  
  84. enum clnt_stat
  85. device_local_1(Device_GenericParms *argp, Device_Error *clnt_res, CLIENT *clnt)
  86. {
  87.         return (clnt_call(clnt, device_local,
  88.                 (xdrproc_t) xdr_Device_GenericParms, (caddr_t) argp,
  89.                 (xdrproc_t) xdr_Device_Error, (caddr_t) clnt_res,
  90.                 TIMEOUT));
  91. }
  92.  
  93. enum clnt_stat
  94. device_lock_1(Device_LockParms *argp, Device_Error *clnt_res, CLIENT *clnt)
  95. {
  96.         return (clnt_call(clnt, device_lock,
  97.                 (xdrproc_t) xdr_Device_LockParms, (caddr_t) argp,
  98.                 (xdrproc_t) xdr_Device_Error, (caddr_t) clnt_res,
  99.                 TIMEOUT));
  100. }
  101.  
  102. enum clnt_stat
  103. device_unlock_1(Device_Link *argp, Device_Error *clnt_res, CLIENT *clnt)
  104. {
  105.         return (clnt_call(clnt, device_unlock,
  106.                 (xdrproc_t) xdr_Device_Link, (caddr_t) argp,
  107.                 (xdrproc_t) xdr_Device_Error, (caddr_t) clnt_res,
  108.                 TIMEOUT));
  109. }
  110.  
  111. enum clnt_stat
  112. device_enable_srq_1(Device_EnableSrqParms *argp, Device_Error *clnt_res, CLIENT *clnt)
  113. {
  114.         return (clnt_call(clnt, device_enable_srq,
  115.                 (xdrproc_t) xdr_Device_EnableSrqParms, (caddr_t) argp,
  116.                 (xdrproc_t) xdr_Device_Error, (caddr_t) clnt_res,
  117.                 TIMEOUT));
  118. }
  119.  
  120. enum clnt_stat
  121. device_docmd_1(Device_DocmdParms *argp, Device_DocmdResp *clnt_res, CLIENT *clnt)
  122. {
  123.         return (clnt_call(clnt, device_docmd,
  124.                 (xdrproc_t) xdr_Device_DocmdParms, (caddr_t) argp,
  125.                 (xdrproc_t) xdr_Device_DocmdResp, (caddr_t) clnt_res,
  126.                 TIMEOUT));
  127. }
  128.  
  129. enum clnt_stat
  130. destroy_link_1(Device_Link *argp, Device_Error *clnt_res, CLIENT *clnt)
  131. {
  132.         return (clnt_call(clnt, destroy_link,
  133.                 (xdrproc_t) xdr_Device_Link, (caddr_t) argp,
  134.                 (xdrproc_t) xdr_Device_Error, (caddr_t) clnt_res,
  135.                 TIMEOUT));
  136. }
  137.  
  138. enum clnt_stat
  139. create_intr_chan_1(Device_RemoteFunc *argp, Device_Error *clnt_res, CLIENT *clnt)
  140. {
  141.         return (clnt_call(clnt, create_intr_chan,
  142.                 (xdrproc_t) xdr_Device_RemoteFunc, (caddr_t) argp,
  143.                 (xdrproc_t) xdr_Device_Error, (caddr_t) clnt_res,
  144.                 TIMEOUT));
  145. }
  146.  
  147. enum clnt_stat
  148. destroy_intr_chan_1(void *argp, Device_Error *clnt_res, CLIENT *clnt)
  149. {
  150.         return (clnt_call(clnt, destroy_intr_chan,
  151.                 (xdrproc_t) xdr_void, (caddr_t) argp,
  152.                 (xdrproc_t) xdr_Device_Error, (caddr_t) clnt_res,
  153.                 TIMEOUT));
  154. }
  155.  
  156. enum clnt_stat
  157. device_intr_srq_1(Device_SrqParms *argp, void *clnt_res, CLIENT *clnt)
  158. {
  159.         return (clnt_call(clnt, device_intr_srq,
  160.                 (xdrproc_t) xdr_Device_SrqParms, (caddr_t) argp,
  161.                 (xdrproc_t) xdr_void, (caddr_t) clnt_res,
  162.                 TIMEOUT));
  163. }
  164.