/* * Please do not edit this file. * It was generated using rpcgen. */ #include "rpcgnbk.h" #ifndef _KERNEL #include #include /* getenv, exit */ #endif /* !_KERNEL */ /* Default timeout can be changed using clnt_control() */ static struct timeval TIMEOUT = { 25, 0 }; gnbk_reponse * gnbk_server_1(argp, clnt) gnbk_data *argp; CLIENT *clnt; { static gnbk_reponse clnt_res; memset((char *)&clnt_res, 0, sizeof (clnt_res)); if (clnt_call(clnt, GNBK_SERVER, (xdrproc_t) xdr_gnbk_data, (caddr_t) argp, (xdrproc_t) xdr_gnbk_reponse, (caddr_t) &clnt_res, TIMEOUT) != RPC_SUCCESS) { return (NULL); } return (&clnt_res); }