|
Defines |
#define | re_errno ru.RE_errno |
#define | re_why ru.RE_why |
#define | re_vers ru.RE_vers |
#define | re_lb ru.RE_lb |
#define | CLNT_CALL(rh, proc, xargs, argsp, xres, resp, secs) |
#define | clnt_call(rh, proc, xargs, argsp, xres, resp, secs) |
#define | CLNT_ABORT(rh) ((*(rh)->cl_ops->cl_abort)(rh)) |
#define | clnt_abort(rh) ((*(rh)->cl_ops->cl_abort)(rh)) |
#define | CLNT_GETERR(rh, errp) ((*(rh)->cl_ops->cl_geterr)(rh, errp)) |
#define | clnt_geterr(rh, errp) ((*(rh)->cl_ops->cl_geterr)(rh, errp)) |
#define | CLNT_FREERES(rh, xres, resp) ((*(rh)->cl_ops->cl_freeres)(rh,xres,resp)) |
#define | clnt_freeres(rh, xres, resp) ((*(rh)->cl_ops->cl_freeres)(rh,xres,resp)) |
#define | CLNT_CONTROL(cl, rq, in) ((*(cl)->cl_ops->cl_control)(cl,rq,in)) |
#define | clnt_control(cl, rq, in) ((*(cl)->cl_ops->cl_control)(cl,rq,in)) |
#define | CLSET_TIMEOUT 1 |
#define | CLGET_TIMEOUT 2 |
#define | CLGET_SERVER_ADDR 3 |
#define | CLSET_RETRY_TIMEOUT 4 |
#define | CLGET_RETRY_TIMEOUT 5 |
#define | CLNT_DESTROY(rh) ((*(rh)->cl_ops->cl_destroy)(rh)) |
#define | clnt_destroy(rh) ((*(rh)->cl_ops->cl_destroy)(rh)) |
#define | RPCTEST_PROGRAM ((u_long)1) |
#define | RPCTEST_VERSION ((u_long)1) |
#define | RPCTEST_NULL_PROC ((u_long)2) |
#define | RPCTEST_NULL_BATCH_PROC ((u_long)3) |
#define | NULLPROC ((u_int)0) |
#define | UDPMSGSIZE 8800 |
#define | RPCSMALLMSGSIZE 400 |
Typedefs |
typedef __rpc_client | CLIENT |
Enumerations |
enum | clnt_stat {
RPC_SUCCESS = 0,
RPC_CANTENCODEARGS = 1,
RPC_CANTDECODERES = 2,
RPC_CANTSEND = 3,
RPC_CANTRECV = 4,
RPC_TIMEDOUT = 5,
RPC_VERSMISMATCH = 6,
RPC_AUTHERROR = 7,
RPC_PROGUNAVAIL = 8,
RPC_PROGVERSMISMATCH = 9,
RPC_PROCUNAVAIL = 10,
RPC_CANTDECODEARGS = 11,
RPC_SYSTEMERROR = 12,
RPC_UNKNOWNHOST = 13,
RPC_UNKNOWNPROTO = 17,
RPC_PMAPFAILURE = 14,
RPC_PROGNOTREGISTERED = 15,
RPC_FAILED = 16
} |
Functions |
__BEGIN_DECLS CLIENT *clntraw_create | __P ((u_long, u_long)) |
__END_DECLS __BEGIN_DECLS
CLIENT *clnt_create | __P ((char *, u_long, u_long, char *)) |
__END_DECLS __BEGIN_DECLS
CLIENT *clnttcp_create | __P ((struct sockaddr_in *, u_long, u_long, int *, u_int, u_int)) |
__END_DECLS __BEGIN_DECLS
CLIENT *clntudp_create | __P ((struct sockaddr_in *, u_long, u_long, struct timeval, int *)) |
CLIENT *clntudp_bufcreate | __P ((struct sockaddr_in *, u_long, u_long, struct timeval, int *, u_int, u_int)) |
__END_DECLS __BEGIN_DECLS
void clnt_pcreateerror | __P ((char *)) |
__END_DECLS __BEGIN_DECLS
void clnt_perrno | __P ((enum clnt_stat)) |
__END_DECLS __BEGIN_DECLS
void clnt_perror | __P ((CLIENT *, char *)) |
Variables |
rpc_createerr | rpc_createerr |