1bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo/*
2bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo * Please do not edit this file.
3bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo * It was generated using rpcgen.
4bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo */
5bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
6bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#include <memory.h> /* for memset */
7bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#include "loc_api.h"
8bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
9bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo/* Default timeout can be changed using clnt_control() */
10bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostatic struct timeval TIMEOUT = { 25, 0 };
11bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
12bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum clnt_stat
13bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russorpc_loc_api_null_0x00010001(void *argp, void *clnt_res, CLIENT *clnt)
14bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
15bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return (clnt_call(clnt, rpc_loc_api_null,
16bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		(xdrproc_t) xdr_void, (caddr_t) argp,
17bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		(xdrproc_t) xdr_void, (caddr_t) clnt_res,
18bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		TIMEOUT));
19bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
20bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
21bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum clnt_stat
22bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russorpc_loc_api_rpc_glue_code_info_remote_0x00010001(void *argp, rpc_loc_api_rpc_glue_code_info_remote_rets *clnt_res, CLIENT *clnt)
23bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
24bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return (clnt_call(clnt, rpc_loc_api_rpc_glue_code_info_remote,
25bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		(xdrproc_t) xdr_void, (caddr_t) argp,
26bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		(xdrproc_t) xdr_rpc_loc_api_rpc_glue_code_info_remote_rets, (caddr_t) clnt_res,
27bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		TIMEOUT));
28bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
29bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
30bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum clnt_stat
31bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russorpc_loc_open_0x00010001(rpc_loc_open_args *argp, rpc_loc_open_rets *clnt_res, CLIENT *clnt)
32bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
33bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return (clnt_call(clnt, rpc_loc_open,
34bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		(xdrproc_t) xdr_rpc_loc_open_args, (caddr_t) argp,
35bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		(xdrproc_t) xdr_rpc_loc_open_rets, (caddr_t) clnt_res,
36bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		TIMEOUT));
37bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
38bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
39bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum clnt_stat
40bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russorpc_loc_close_0x00010001(rpc_loc_close_args *argp, rpc_loc_close_rets *clnt_res, CLIENT *clnt)
41bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
42bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return (clnt_call(clnt, rpc_loc_close,
43bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		(xdrproc_t) xdr_rpc_loc_close_args, (caddr_t) argp,
44bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		(xdrproc_t) xdr_rpc_loc_close_rets, (caddr_t) clnt_res,
45bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		TIMEOUT));
46bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
47bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
48bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum clnt_stat
49bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russorpc_loc_start_fix_0x00010001(rpc_loc_start_fix_args *argp, rpc_loc_start_fix_rets *clnt_res, CLIENT *clnt)
50bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
51bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return (clnt_call(clnt, rpc_loc_start_fix,
52bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		(xdrproc_t) xdr_rpc_loc_start_fix_args, (caddr_t) argp,
53bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		(xdrproc_t) xdr_rpc_loc_start_fix_rets, (caddr_t) clnt_res,
54bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		TIMEOUT));
55bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
56bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
57bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum clnt_stat
58bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russorpc_loc_stop_fix_0x00010001(rpc_loc_stop_fix_args *argp, rpc_loc_stop_fix_rets *clnt_res, CLIENT *clnt)
59bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
60bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return (clnt_call(clnt, rpc_loc_stop_fix,
61bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		(xdrproc_t) xdr_rpc_loc_stop_fix_args, (caddr_t) argp,
62bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		(xdrproc_t) xdr_rpc_loc_stop_fix_rets, (caddr_t) clnt_res,
63bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		TIMEOUT));
64bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
65bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
66bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum clnt_stat
67bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russorpc_loc_ioctl_0x00010001(rpc_loc_ioctl_args *argp, rpc_loc_ioctl_rets *clnt_res, CLIENT *clnt)
68bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
69bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return (clnt_call(clnt, rpc_loc_ioctl,
70bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		(xdrproc_t) xdr_rpc_loc_ioctl_args, (caddr_t) argp,
71bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		(xdrproc_t) xdr_rpc_loc_ioctl_rets, (caddr_t) clnt_res,
72bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		TIMEOUT));
73bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
74bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
75bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum clnt_stat
76bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russorpc_loc_api_api_versions_0x00010001(void *argp, rpc_loc_api_api_versions_rets *clnt_res, CLIENT *clnt)
77bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
78bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return (clnt_call(clnt, rpc_loc_api_api_versions,
79bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		(xdrproc_t) xdr_void, (caddr_t) argp,
80bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		(xdrproc_t) xdr_rpc_loc_api_api_versions_rets, (caddr_t) clnt_res,
81bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		TIMEOUT));
82bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
83