1 /*
2  * Please do not edit this file.
3  * It was generated using rpcgen.
4  */
5 
6 #include "kwarnd.h"
7 #ifndef _KERNEL
8 #include <stdio.h>
9 #include <stdlib.h> /* getenv, exit */
10 #endif /* !_KERNEL */
11 /*
12  * Copyright 1990-2002 Sun Microsystems, Inc.  All rights reserved.
13  * Use is subject to license terms.
14  */
15 
16 
17 
18 #include <sys/types.h>
19 #include <sys/time.h>
20 #include <rpc/auth_sys.h>
21 #include <locale.h>
22 
23 
24 /* Default timeout can be changed using clnt_control() */
25 static struct timeval TIMEOUT = { 25, 0 };
26 
27 enum clnt_stat
28 kwarn_add_warning_1(argp, clnt_res, clnt)
29 	kwarn_add_warning_arg *argp;
30 	kwarn_add_warning_res *clnt_res;
31 	CLIENT *clnt;
32 {
33 	return (clnt_call(clnt, KWARN_ADD_WARNING,
34 		(xdrproc_t)xdr_kwarn_add_warning_arg, (caddr_t)argp,
35 		(xdrproc_t)xdr_kwarn_add_warning_res, (caddr_t)clnt_res,
36 		TIMEOUT));
37 }
38 
39 enum clnt_stat
40 kwarn_del_warning_1(argp, clnt_res, clnt)
41 	kwarn_del_warning_arg *argp;
42 	kwarn_del_warning_res *clnt_res;
43 	CLIENT *clnt;
44 {
45 	return (clnt_call(clnt, KWARN_DEL_WARNING,
46 		(xdrproc_t)xdr_kwarn_del_warning_arg, (caddr_t)argp,
47 		(xdrproc_t)xdr_kwarn_del_warning_res, (caddr_t)clnt_res,
48 		TIMEOUT));
49 }
50