Home | History | Annotate | Download | only in gen-1240
      1 /*
      2  * Please do not edit this file.
      3  * It was generated using rpcgen.
      4  */
      5 
      6 #include <memory.h> /* for memset */
      7 #include "loc_api.h"
      8 
      9 /* Default timeout can be changed using clnt_control() */
     10 static struct timeval TIMEOUT = { 25, 0 };
     11 
     12 enum clnt_stat
     13 rpc_loc_api_null_0x00040001(void *argp, void *clnt_res, CLIENT *clnt)
     14 {
     15 	return (clnt_call(clnt, rpc_loc_api_null,
     16 		(xdrproc_t) xdr_void, (caddr_t) argp,
     17 		(xdrproc_t) xdr_void, (caddr_t) clnt_res,
     18 		TIMEOUT));
     19 }
     20 
     21 enum clnt_stat
     22 rpc_loc_api_rpc_glue_code_info_remote_0x00040001(void *argp, rpc_loc_api_rpc_glue_code_info_remote_rets *clnt_res, CLIENT *clnt)
     23 {
     24 	return (clnt_call(clnt, rpc_loc_api_rpc_glue_code_info_remote,
     25 		(xdrproc_t) xdr_void, (caddr_t) argp,
     26 		(xdrproc_t) xdr_rpc_loc_api_rpc_glue_code_info_remote_rets, (caddr_t) clnt_res,
     27 		TIMEOUT));
     28 }
     29 
     30 enum clnt_stat
     31 rpc_loc_open_0x00040001(rpc_loc_open_args *argp, rpc_loc_open_rets *clnt_res, CLIENT *clnt)
     32 {
     33 	return (clnt_call(clnt, rpc_loc_open,
     34 		(xdrproc_t) xdr_rpc_loc_open_args, (caddr_t) argp,
     35 		(xdrproc_t) xdr_rpc_loc_open_rets, (caddr_t) clnt_res,
     36 		TIMEOUT));
     37 }
     38 
     39 enum clnt_stat
     40 rpc_loc_close_0x00040001(rpc_loc_close_args *argp, rpc_loc_close_rets *clnt_res, CLIENT *clnt)
     41 {
     42 	return (clnt_call(clnt, rpc_loc_close,
     43 		(xdrproc_t) xdr_rpc_loc_close_args, (caddr_t) argp,
     44 		(xdrproc_t) xdr_rpc_loc_close_rets, (caddr_t) clnt_res,
     45 		TIMEOUT));
     46 }
     47 
     48 enum clnt_stat
     49 rpc_loc_start_fix_0x00040001(rpc_loc_start_fix_args *argp, rpc_loc_start_fix_rets *clnt_res, CLIENT *clnt)
     50 {
     51 	return (clnt_call(clnt, rpc_loc_start_fix,
     52 		(xdrproc_t) xdr_rpc_loc_start_fix_args, (caddr_t) argp,
     53 		(xdrproc_t) xdr_rpc_loc_start_fix_rets, (caddr_t) clnt_res,
     54 		TIMEOUT));
     55 }
     56 
     57 enum clnt_stat
     58 rpc_loc_stop_fix_0x00040001(rpc_loc_stop_fix_args *argp, rpc_loc_stop_fix_rets *clnt_res, CLIENT *clnt)
     59 {
     60 	return (clnt_call(clnt, rpc_loc_stop_fix,
     61 		(xdrproc_t) xdr_rpc_loc_stop_fix_args, (caddr_t) argp,
     62 		(xdrproc_t) xdr_rpc_loc_stop_fix_rets, (caddr_t) clnt_res,
     63 		TIMEOUT));
     64 }
     65 
     66 enum clnt_stat
     67 rpc_loc_ioctl_0x00040001(rpc_loc_ioctl_args *argp, rpc_loc_ioctl_rets *clnt_res, CLIENT *clnt)
     68 {
     69 	return (clnt_call(clnt, rpc_loc_ioctl,
     70 		(xdrproc_t) xdr_rpc_loc_ioctl_args, (caddr_t) argp,
     71 		(xdrproc_t) xdr_rpc_loc_ioctl_rets, (caddr_t) clnt_res,
     72 		TIMEOUT));
     73 }
     74 
     75 enum clnt_stat
     76 rpc_loc_api_api_versions_0x00040001(void *argp, rpc_loc_api_api_versions_rets *clnt_res, CLIENT *clnt)
     77 {
     78 	return (clnt_call(clnt, rpc_loc_api_api_versions,
     79 		(xdrproc_t) xdr_void, (caddr_t) argp,
     80 		(xdrproc_t) xdr_rpc_loc_api_api_versions_rets, (caddr_t) clnt_res,
     81 		TIMEOUT));
     82 }
     83 
     84 enum clnt_stat
     85 rpc_loc_api_null_0x00040002(void *argp, void *clnt_res, CLIENT *clnt)
     86 {
     87 	return (clnt_call(clnt, rpc_loc_api_null,
     88 		(xdrproc_t) xdr_void, (caddr_t) argp,
     89 		(xdrproc_t) xdr_void, (caddr_t) clnt_res,
     90 		TIMEOUT));
     91 }
     92