2 * Please do not edit this file.
3 * It was generated using rpcgen.
6 #include <memory.h> /* for memset */
7 #include "nlm_sm_inter.h"
10 /* Default timeout can be changed using clnt_control() */
11 static struct timeval TIMEOUT = { 25, 0 };
14 nlm_sm_notify_3(struct nlm_sm_notify *argp, CLIENT *clnt)
18 memset((char *)&clnt_res, 0, sizeof(clnt_res));
19 if (clnt_call (clnt, NLM_SM_NOTIFY,
20 (xdrproc_t) xdr_nlm_sm_notify, (caddr_t) argp,
21 (xdrproc_t) xdr_void, (caddr_t) &clnt_res,
22 TIMEOUT) != RPC_SUCCESS) {
25 return ((void *)&clnt_res);
29 nlm_sm_notify_4(struct nlm_sm_notify *argp, CLIENT *clnt)
33 memset((char *)&clnt_res, 0, sizeof(clnt_res));
34 if (clnt_call (clnt, NLM_SM_NOTIFY,
35 (xdrproc_t) xdr_nlm_sm_notify, (caddr_t) argp,
36 (xdrproc_t) xdr_void, (caddr_t) &clnt_res,
37 TIMEOUT) != RPC_SUCCESS) {
40 return ((void *)&clnt_res);