Home | History | Annotate | Download | only in rpc

Lines Matching refs:xdr

39  * XDR provides a conventional way for converting between C data
49 * XDR *xdrs;
52 * xdrs is an instance of a XDR handle, to which or from which the data
54 * converted. The XDR handle contains an operation field which indicates
78 typedef int bool_t; /* This has to be a long, as it is used for XDR boolean too, which is a 4-byte value */
100 * Xdr operations. XDR_ENCODE causes the type to be encoded into the
117 * The XDR handle.
122 typedef struct xdr_struct XDR;
130 * bool_t (*xdrproc_t)(XDR *, caddr_t *);
132 typedef bool_t (*xdrproc_t) (XDR *, void *,...);
188 * for a matching value. If a match is found the associated xdr routine
318 /* XDR memory wrapper structure */
338 Defining the XDR structure
344 typedef void (*rpc_reply_cb_type)(xdr_s_type *xdr, void *data);
346 /* Entry points that must be provided by xdr */
349 void (*xdr_destroy) (xdr_s_type *xdr);
350 bool_t (*xdr_control) (xdr_s_type *xdr, int request, void *info);
353 bool_t (*read) (xdr_s_type *xdr);
354 bool_t (*msg_done) (xdr_s_type *xdr);
357 bool_t (*msg_start) (xdr_s_type *xdr, rpc_msg_e_type rpc_msg_type);
358 bool_t (*msg_abort) (xdr_s_type *xdr);
359 bool_t (*msg_send) (xdr_s_type *xdr);
362 bool_t (*send_int8) (xdr_s_type *xdr, const int8 *value);
363 bool_t (*send_uint8) (xdr_s_type *xdr, const uint8 *value);
364 bool_t (*send_int16) (xdr_s_type *xdr, const int16 *value);
365 bool_t (*send_uint16) (xdr_s_type *xdr, const uint16 *value);
366 bool_t (*send_int32) (xdr_s_type *xdr, const int32 *value);
367 bool_t (*send_uint32) (xdr_s_type *xdr, const uint32 *value);
368 bool_t (*send_bytes) (xdr_s_type *xdr, const uint8 *buf, uint32 len);
370 bool_t (*recv_int8) (xdr_s_type *xdr, int8 *value);
371 bool_t (*recv_uint8) (xdr_s_type *xdr, uint8 *value);
372 bool_t (*recv_int16) (xdr_s_type *xdr, int16 *value);
373 bool_t (*recv_uint16) (xdr_s_type *xdr, uint16 *value);
374 bool_t (*recv_int32) (xdr_s_type *xdr, int32 *value);
375 bool_t (*recv_uint32) (xdr_s_type *xdr, uint32 *value);
376 bool_t (*recv_bytes) (xdr_s_type *xdr, uint8 *buf, uint32 len);
382 XDR structure definition - provides a generic interface to each
383 supported transport. The xdr structure is used both for clients and
401 /* RPC-call message (if XDR is a client) or RPC-reply message (if
402 XDR is a server). */
407 /* Reply message or incoming-call message. For a client XDR, this
409 call. For a server XDR, this buffer always contains an incoming