/* * Please do not edit this file. * It was generated using rpcgen. */ #include "countchar.h" #include #include /* getenv, exit */ /* Default timeout can be changed using clnt_control() */ static struct timeval TIMEOUT = { 25, 0 }; int * countchar_1(argp, clnt) stringdata *argp; CLIENT *clnt; { static int clnt_res; memset((char *)&clnt_res, 0, sizeof (clnt_res)); if (clnt_call(clnt, COUNTCHAR, (xdrproc_t) xdr_stringdata, (caddr_t) argp, (xdrproc_t) xdr_int, (caddr_t) &clnt_res, TIMEOUT) != RPC_SUCCESS) { return (NULL); } return (&clnt_res); } nextcount * countallchars_1(argp, clnt) buftype *argp; CLIENT *clnt; { static nextcount clnt_res; memset((char *)&clnt_res, 0, sizeof (clnt_res)); if (clnt_call(clnt, COUNTALLCHARS, (xdrproc_t) xdr_buftype, (caddr_t) argp, (xdrproc_t) xdr_nextcount, (caddr_t) &clnt_res, TIMEOUT) != RPC_SUCCESS) { return (NULL); } return (&clnt_res); }