This commit is contained in:
Ralf Corsepius
2008-08-01 16:57:19 +00:00
parent 848b53b54a
commit 0eeca97769
2 changed files with 8 additions and 8 deletions
+6 -6
View File
@@ -101,21 +101,21 @@ typedef struct __rpc_client {
struct clnt_ops {
/* call remote procedure */
enum clnt_stat (*cl_call)(struct __rpc_client *,
rpcproc_t, xdrproc_t, void *, xdrproc_t,
void *, struct timeval);
u_long, xdrproc_t, caddr_t, xdrproc_t,
caddr_t, struct timeval);
/* abort a call */
void (*cl_abort)(struct __rpc_client *);
void (*cl_abort)(void);
/* get specific error code */
void (*cl_geterr)(struct __rpc_client *,
struct rpc_err *);
/* frees results */
bool_t (*cl_freeres)(struct __rpc_client *,
xdrproc_t, void *);
xdrproc_t, caddr_t);
/* destroy this structure */
void (*cl_destroy)(struct __rpc_client *);
/* the ioctl() of rpc */
bool_t (*cl_control)(struct __rpc_client *, u_int,
void *);
bool_t (*cl_control)(struct __rpc_client *, int,
char *);
} *cl_ops;
void *cl_private; /* private stuff */
} CLIENT;
+2 -2
View File
@@ -84,12 +84,12 @@ typedef struct __rpc_svcxprt {
enum xprt_stat (*xp_stat)(struct __rpc_svcxprt *);
/* get arguments */
bool_t (*xp_getargs)(struct __rpc_svcxprt *, xdrproc_t,
void *);
caddr_t args_ptr);
/* send reply */
bool_t (*xp_reply)(struct __rpc_svcxprt *, struct rpc_msg *);
/* free mem allocated for args */
bool_t (*xp_freeargs)(struct __rpc_svcxprt *, xdrproc_t,
void *);
caddr_t args_ptr);
/* destroy this struct */
void (*xp_destroy)(struct __rpc_svcxprt *);
} *xp_ops;