Lines Matching refs:CLIENT
32 * clnt.h - Client side remote procedure call interface.
128 * Client rpc handle.
130 * Client is responsible for initializing auth, see e.g. auth_none.c.
132 typedef struct CLIENT CLIENT;
133 struct CLIENT {
136 enum clnt_stat (*cl_call) (CLIENT *, u_long, xdrproc_t, caddr_t, xdrproc_t,
140 void (*cl_geterr) (CLIENT *, struct rpc_err *);
142 bool_t (*cl_freeres) (CLIENT *, xdrproc_t, caddr_t);
144 void (*cl_destroy) (CLIENT *); /* destroy this structure */
145 bool_t (*cl_control) (CLIENT *, int, char *);
153 * client side rpc interface ops
162 * CLIENT *rh;
178 * CLIENT *rh;
186 * CLIENT *rh;
195 * CLIENT *rh;
205 * CLIENT *cl;
244 * CLIENT *rh;
268 * Below are the client handle creation routines for the various
269 * implementations of client side rpc. They can return NULL if a
275 * CLIENT *
280 extern CLIENT *clntraw_create (__const u_long __prog, __const u_long __vers)
285 * Generic client creation routine. Supported protocols are "udp", "tcp" and
287 * CLIENT *
294 extern CLIENT *clnt_create (__const char *__host, __const u_long __prog,
301 * CLIENT *
310 extern CLIENT *clnttcp_create (struct sockaddr_in *__raddr, u_long __prog,
316 * CLIENT *
325 * CLIENT *
335 extern CLIENT *clntudp_create (struct sockaddr_in *__raddr, u_long __program,
338 extern CLIENT *clntudp_bufcreate (struct sockaddr_in *__raddr,
348 * CLIENT *
357 extern CLIENT *clntunix_create (struct sockaddr_un *__raddr, u_long __program,
380 * Print an English error message, given the client error code
382 extern void clnt_perror (CLIENT *__clnt, __const char *__msg);
384 extern char *clnt_sperror (CLIENT *__clnt, __const char *__msg) __THROW;