/* * Please do not edit this file. * It was generated using rpcgen. */ #include "kwarnd.h" #ifndef _KERNEL #include #include /* getenv, exit */ #endif /* !_KERNEL */ /* * Copyright 1990-2002 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #include #include #include #include /* Default timeout can be changed using clnt_control() */ static struct timeval TIMEOUT = { 25, 0 }; enum clnt_stat kwarn_add_warning_1(argp, clnt_res, clnt) kwarn_add_warning_arg *argp; kwarn_add_warning_res *clnt_res; CLIENT *clnt; { return (clnt_call(clnt, KWARN_ADD_WARNING, (xdrproc_t)xdr_kwarn_add_warning_arg, (caddr_t)argp, (xdrproc_t)xdr_kwarn_add_warning_res, (caddr_t)clnt_res, TIMEOUT)); } enum clnt_stat kwarn_del_warning_1(argp, clnt_res, clnt) kwarn_del_warning_arg *argp; kwarn_del_warning_res *clnt_res; CLIENT *clnt; { return (clnt_call(clnt, KWARN_DEL_WARNING, (xdrproc_t)xdr_kwarn_del_warning_arg, (caddr_t)argp, (xdrproc_t)xdr_kwarn_del_warning_res, (caddr_t)clnt_res, TIMEOUT)); }