1 /*
2  * Please do not edit this file.
3  * It was generated using rpcgen.
4  */
5 
6 #include <memory.h> /* for memset */
7 #include "webnfs.h"
8 #ifndef _KERNEL
9 #include <stdio.h>
10 #include <stdlib.h> /* getenv, exit */
11 #endif /* !_KERNEL */
12 #pragma ident	"%Z%%M%	%I%	%E% SMI"
13 
14 /* Default timeout can be changed using clnt_control() */
15 static struct timeval TIMEOUT = { 25, 0 };
16 
17 enum clnt_stat
18 wnlproc_null_2(void *argp, void *clnt_res, CLIENT *clnt)
19 {
20 	return (clnt_call(clnt, WNLPROC_NULL,
21 		(xdrproc_t)xdr_void, (caddr_t)argp,
22 		(xdrproc_t)xdr_void, (caddr_t)clnt_res,
23 		TIMEOUT));
24 }
25 
26 enum clnt_stat
27 wnlproc_lookup_2(wnl_diropargs *argp, wnl_diropres *clnt_res, CLIENT *clnt)
28 {
29 	return (clnt_call(clnt, WNLPROC_LOOKUP,
30 		(xdrproc_t)xdr_wnl_diropargs, (caddr_t)argp,
31 		(xdrproc_t)xdr_wnl_diropres, (caddr_t)clnt_res,
32 		TIMEOUT));
33 }
34 
35 enum clnt_stat
36 wnlproc3_null_3(void *argp, void *clnt_res, CLIENT *clnt)
37 {
38 	return (clnt_call(clnt, WNLPROC3_NULL,
39 		(xdrproc_t)xdr_void, (caddr_t)argp,
40 		(xdrproc_t)xdr_void, (caddr_t)clnt_res,
41 		TIMEOUT));
42 }
43 
44 enum clnt_stat
45 wnlproc3_lookup_3(WNL_LOOKUP3args *argp, WNL_LOOKUP3res *clnt_res, CLIENT *clnt)
46 {
47 	return (clnt_call(clnt, WNLPROC3_LOOKUP,
48 		(xdrproc_t)xdr_WNL_LOOKUP3args, (caddr_t)argp,
49 		(xdrproc_t)xdr_WNL_LOOKUP3res, (caddr_t)clnt_res,
50 		TIMEOUT));
51 }
52 
53 enum clnt_stat
54 wnlproc4_null_4(void *argp, void *clnt_res, CLIENT *clnt)
55 {
56 	return (clnt_call(clnt, WNLPROC4_NULL,
57 		(xdrproc_t)xdr_void, (caddr_t)argp,
58 		(xdrproc_t)xdr_void, (caddr_t)clnt_res,
59 		TIMEOUT));
60 }
61