1 /* -*- mode: c; c-file-style: "bsd"; indent-tabs-mode: t -*- */
3 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
4 * Use is subject to license terms.
8 * Please do not edit this file.
9 * It was generated using rpcgen.
12 #include <memory.h> /* for memset */
15 /* Default timeout can be changed using clnt_control() */
16 static struct timeval TIMEOUT = { 25, 0 };
19 iprop_null_1(void *argp, CLIENT *clnt)
23 memset(&clnt_res, 0, sizeof(clnt_res));
24 if (clnt_call (clnt, IPROP_NULL,
25 (xdrproc_t) xdr_void, (caddr_t) argp,
26 (xdrproc_t) xdr_void, (caddr_t) &clnt_res,
27 TIMEOUT) != RPC_SUCCESS) {
30 return ((void *)&clnt_res);
34 iprop_get_updates_1(kdb_last_t *argp, CLIENT *clnt)
36 static kdb_incr_result_t clnt_res;
38 memset(&clnt_res, 0, sizeof(clnt_res));
39 if (clnt_call (clnt, IPROP_GET_UPDATES,
40 (xdrproc_t) xdr_kdb_last_t, (caddr_t) argp,
41 (xdrproc_t) xdr_kdb_incr_result_t, (caddr_t) &clnt_res,
42 TIMEOUT) != RPC_SUCCESS) {
48 kdb_fullresync_result_t *
49 iprop_full_resync_1(void *argp, CLIENT *clnt)
51 static kdb_fullresync_result_t clnt_res;
53 memset(&clnt_res, 0, sizeof(clnt_res));
54 if (clnt_call (clnt, IPROP_FULL_RESYNC,
55 (xdrproc_t) xdr_void, (caddr_t) argp,
56 (xdrproc_t) xdr_kdb_fullresync_result_t, (caddr_t) &clnt_res,
57 TIMEOUT) != RPC_SUCCESS) {