1234567891011121314151617181920212223242526 |
- /*
- * Please do not edit this file.
- * It was generated using rpcgen.
- */
- #include <memory.h> /* for memset */
- #include "rpcdb.h"
- /* Default timeout can be changed using clnt_control() */
- static struct timeval TIMEOUT = { 25, 0 };
- response *
- rpc_call_1(request *argp, CLIENT *clnt)
- {
- static response clnt_res;
- memset((char *)&clnt_res, 0, sizeof(clnt_res));
- if (clnt_call (clnt, rpc_call,
- (xdrproc_t) xdr_request, (caddr_t) argp,
- (xdrproc_t) xdr_response, (caddr_t) &clnt_res,
- TIMEOUT) != RPC_SUCCESS) {
- return (NULL);
- }
- return (&clnt_res);
- }
|