2 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
3 * Use is subject to license terms.
6 #pragma ident "%Z%%M% %I% %E% SMI"
14 * Default timeout can be changed using clnt_control()
16 static struct timeval TIMEOUT
= { 25, 0 };
19 iprop_get_updates_1(argp
, clnt
)
23 static kdb_incr_result_t clnt_res
;
25 memset((char *)&clnt_res
, 0, sizeof (clnt_res
));
26 if (clnt_call(clnt
, IPROP_GET_UPDATES
,
27 (xdrproc_t
)xdr_kdb_last_t
, (caddr_t
)argp
,
28 (xdrproc_t
)xdr_kdb_incr_result_t
, (caddr_t
)&clnt_res
,
29 TIMEOUT
) != RPC_SUCCESS
) {
35 kdb_fullresync_result_t
*
36 iprop_full_resync_1(argp
, clnt
)
40 static kdb_fullresync_result_t clnt_res
;
42 memset((char *)&clnt_res
, 0, sizeof (clnt_res
));
43 if (clnt_call(clnt
, IPROP_FULL_RESYNC
,
44 (xdrproc_t
)xdr_void
, (caddr_t
)argp
,
45 (xdrproc_t
)xdr_kdb_fullresync_result_t
, (caddr_t
)&clnt_res
,
46 TIMEOUT
) != RPC_SUCCESS
) {