77#define RPCB_MULTICAST_ADDR "ff02::202"
83#define IS_UNRECOVERABLE_RPC(s) (((s) == RPC_AUTHERROR) || \
84 ((s) == RPC_CANTENCODEARGS) || \
85 ((s) == RPC_CANTDECODERES) || \
86 ((s) == RPC_VERSMISMATCH) || \
87 ((s) == RPC_PROCUNAVAIL) || \
88 ((s) == RPC_PROGUNAVAIL) || \
89 ((s) == RPC_PROGVERSMISMATCH) || \
90 ((s) == RPC_CANTDECODEARGS))
109#define re_errno ru.RE_errno
110#define re_why ru.RE_why
111#define re_vers ru.RE_vers
112#define re_lb ru.RE_lb
171#define FEEDBACK_REXMIT1 1
176#define CLCR_SET_LOWVERS 3
177#define CLCR_GET_LOWVERS 4
179#define RPCSMALLMSGSIZE 400
199#define CLNT_CALL(rh, proc, xargs, argsp, xres, resp, secs) \
200 ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, \
201 argsp, xres, resp, secs))
202#define clnt_call(rh, proc, xargs, argsp, xres, resp, secs) \
203 ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, \
204 argsp, xres, resp, secs))
211#define CLNT_ABORT(rh) ((*(rh)->cl_ops->cl_abort)(rh))
212#define clnt_abort(rh) ((*(rh)->cl_ops->cl_abort)(rh))
219#define CLNT_GETERR(rh,errp) ((*(rh)->cl_ops->cl_geterr)(rh, errp))
220#define clnt_geterr(rh,errp) ((*(rh)->cl_ops->cl_geterr)(rh, errp))
230#define CLNT_FREERES(rh,xres,resp) ((*(rh)->cl_ops->cl_freeres)(rh,xres,resp))
231#define clnt_freeres(rh,xres,resp) ((*(rh)->cl_ops->cl_freeres)(rh,xres,resp))
240#define CLNT_CONTROL(cl,rq,in) ((*(cl)->cl_ops->cl_control)(cl,rq,in))
241#define clnt_control(cl,rq,in) ((*(cl)->cl_ops->cl_control)(cl,rq,in))
246#define CLSET_TIMEOUT 1
247#define CLGET_TIMEOUT 2
248#define CLGET_SERVER_ADDR 3
250#define CLGET_SVC_ADDR 7
251#define CLSET_FD_CLOSE 8
252#define CLSET_FD_NCLOSE 9
259#define CLSET_SVC_ADDR 16
260#define CLSET_PUSH_TIMOD 17
261#define CLSET_POP_TIMOD 18
265#define CLSET_RETRY_TIMEOUT 4
266#define CLGET_RETRY_TIMEOUT 5
267#define CLSET_ASYNC 19
268#define CLSET_CONNECT 20
275#define CLNT_DESTROY(rh) ((*(rh)->cl_ops->cl_destroy)(rh))
276#define clnt_destroy(rh) ((*(rh)->cl_ops->cl_destroy)(rh))
285#define RPCTEST_PROGRAM ((rpcprog_t)1)
286#define RPCTEST_VERSION ((rpcvers_t)1)
287#define RPCTEST_NULL_PROC ((rpcproc_t)2)
288#define RPCTEST_NULL_BATCH_PROC ((rpcproc_t)3)
294#define NULLPROC ((rpcproc_t)0)
399 int (*cb_xdr)(
void *,
void *),
400 int (*
cb)(
void *,
void *,
void **),
void *
args);
418 int (*
cb)(
void *,
void *,
void **),
void *
args);
423 int (*
cb)(
void *,
void *,
void **),
void *
args);
503#define get_rpc_createerr() (*(__rpc_createerr()))
504#define rpc_createerr (*(__rpc_createerr()))
581 const int,
const char *);
CLIENT * clnt_tli_create(const SOCKET, const struct netconfig *, struct netbuf *, const rpcprog_t, const rpcvers_t, const u_int, const u_int, int(*cb_xdr)(void *, void *), int(*cb)(void *, void *, void **), void *args)
CLIENT * clnt_create_vers_timed(const char *, const rpcprog_t, rpcvers_t *, const rpcvers_t, const rpcvers_t, const char *, const struct timeval *)
CLIENT * clnt_create_vers(const char *, const rpcprog_t, rpcvers_t *, const rpcvers_t, const rpcvers_t, const char *)
char * clnt_spcreateerror(const char *)
CLIENT * clnt_create_timed(const char *, const rpcprog_t, const rpcvers_t, const char *, const struct timeval *)
CLIENT * clntunix_create(struct sockaddr_un *, u_long, u_long, int *, u_int, u_int)
char * clnt_sperrno(enum clnt_stat)
char * clnt_sperror(CLIENT *, const char *)
CLIENT * clnt_vc_create(const SOCKET, const struct netbuf *, const rpcprog_t, const rpcvers_t, u_int, u_int, int(*cb_xdr)(void *, void *), int(*cb)(void *, void *, void **), void *args)
__END_DECLS __BEGIN_DECLS void clnt_perror(CLIENT *, const char *)
__BEGIN_DECLS CLIENT * clnt_create(const char *, const rpcprog_t, const rpcvers_t, const char *)
__END_DECLS __BEGIN_DECLS void clnt_pcreateerror(const char *)
__END_DECLS __BEGIN_DECLS void clnt_perrno(enum clnt_stat)
__BEGIN_DECLS enum clnt_stat rpc_call(const char *, const rpcprog_t, const rpcvers_t, const rpcproc_t, const xdrproc_t, const char *, const xdrproc_t, char *, const char *)
__END_DECLS typedef bool_t(* resultproc_t)(caddr_t,...)
struct __rpc_client CLIENT
CLIENT * clnt_tp_create(const char *, const rpcprog_t, const rpcvers_t, const struct netconfig *)
enum clnt_stat rpc_broadcast_exp(const rpcprog_t, const rpcvers_t, const rpcproc_t, const xdrproc_t, caddr_t, const xdrproc_t, caddr_t, const resultproc_t, const int, const int, const char *)
CLIENT * clnt_dg_create(const SOCKET, const struct netbuf *, const rpcprog_t, const rpcvers_t, const u_int, const u_int)
__BEGIN_DECLS enum clnt_stat rpc_broadcast(const rpcprog_t, const rpcvers_t, const rpcproc_t, const xdrproc_t, caddr_t, const xdrproc_t, caddr_t, const resultproc_t, const char *)
__BEGIN_DECLS struct rpc_createerr * __rpc_createerr(void)
CLIENT * clnt_raw_create(rpcprog_t, rpcvers_t)
CLIENT * clnt_tp_create_timed(const char *, const rpcprog_t, const rpcvers_t, const struct netconfig *, const struct timeval *)
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
static HMODULE MODULEINFO DWORD cb
void(* cl_abort)(struct __rpc_client *)
enum clnt_stat(* cl_call)(struct __rpc_client *, rpcproc_t, xdrproc_t, void *, xdrproc_t, void *, struct timeval)
void(* cl_destroy)(struct __rpc_client *)
bool_t(* cl_control)(struct __rpc_client *, u_int, void *)
void(* cl_geterr)(struct __rpc_client *, struct rpc_err *)
bool_t(* cl_freeres)(struct __rpc_client *, xdrproc_t, void *)
int(* cb_fn)(void *, void *, void **)
int(* cb_xdr)(void *, void *)
struct __rpc_client::clnt_ops * cl_ops
struct rpc_err::@190::@191 RE_vers
struct rpc_err::@190::@192 RE_lb
bool_t(* xdrproc_t)(XDR *,...)