93#define BYTES_PER_XDR_UNIT (4)
94#define RNDUP(x) ((((x) + BYTES_PER_XDR_UNIT - 1) / BYTES_PER_XDR_UNIT) \
156#define XDR_GETLONG(xdrs, longp) \
157 (*(xdrs)->x_ops->x_getlong)(xdrs, longp)
158#define xdr_getlong(xdrs, longp) \
159 (*(xdrs)->x_ops->x_getlong)(xdrs, longp)
161#define XDR_PUTLONG(xdrs, longp) \
162 (*(xdrs)->x_ops->x_putlong)(xdrs, longp)
163#define xdr_putlong(xdrs, longp) \
164 (*(xdrs)->x_ops->x_putlong)(xdrs, longp)
186#define XDR_GETINT32(xdrs, int32p) xdr_getint32(xdrs, int32p)
187#define XDR_PUTINT32(xdrs, int32p) xdr_putint32(xdrs, int32p)
189#define XDR_GETBYTES(xdrs, addr, len) \
190 (*(xdrs)->x_ops->x_getbytes)(xdrs, addr, len)
191#define xdr_getbytes(xdrs, addr, len) \
192 (*(xdrs)->x_ops->x_getbytes)(xdrs, addr, len)
194#define XDR_PUTBYTES(xdrs, addr, len) \
195 (*(xdrs)->x_ops->x_putbytes)(xdrs, addr, len)
196#define xdr_putbytes(xdrs, addr, len) \
197 (*(xdrs)->x_ops->x_putbytes)(xdrs, addr, len)
199#define XDR_GETPOS(xdrs) \
200 (*(xdrs)->x_ops->x_getpostn)(xdrs)
201#define xdr_getpos(xdrs) \
202 (*(xdrs)->x_ops->x_getpostn)(xdrs)
204#define XDR_SETPOS(xdrs, pos) \
205 (*(xdrs)->x_ops->x_setpostn)(xdrs, pos)
206#define xdr_setpos(xdrs, pos) \
207 (*(xdrs)->x_ops->x_setpostn)(xdrs, pos)
209#define XDR_INLINE(xdrs, len) \
210 (*(xdrs)->x_ops->x_inline)(xdrs, len)
211#define xdr_inline(xdrs, len) \
212 (*(xdrs)->x_ops->x_inline)(xdrs, len)
214#define XDR_DESTROY(xdrs) \
215 if ((xdrs)->x_ops->x_destroy) \
216 (*(xdrs)->x_ops->x_destroy)(xdrs)
217#define xdr_destroy(xdrs) \
218 if ((xdrs)->x_ops->x_destroy) \
219 (*(xdrs)->x_ops->x_destroy)(xdrs)
221#define XDR_CONTROL(xdrs, req, op) \
222 if ((xdrs)->x_ops->x_control) \
223 (*(xdrs)->x_ops->x_control)(xdrs, req, op)
224#define xdr_control(xdrs, req, op) XDR_CONTROL(xdrs, req, op)
230#define xdr_rpcvers(xdrs, versp) xdr_u_int32(xdrs, versp)
231#define xdr_rpcprog(xdrs, progp) xdr_u_int32(xdrs, progp)
232#define xdr_rpcproc(xdrs, procp) xdr_u_int32(xdrs, procp)
233#define xdr_rpcprot(xdrs, protp) xdr_u_int32(xdrs, protp)
234#define xdr_rpcport(xdrs, portp) xdr_u_int32(xdrs, portp)
246#define NULL_xdrproc_t ((xdrproc_t)0)
267#define IXDR_GET_INT32(buf) ((int32_t)ntohl((u_int32_t)*(buf)++))
268#define IXDR_PUT_INT32(buf, v) (*(buf)++ =(int32_t)htonl((u_int32_t)v))
269#define IXDR_GET_U_INT32(buf) ((u_int32_t)IXDR_GET_INT32(buf))
270#define IXDR_PUT_U_INT32(buf, v) IXDR_PUT_INT32((buf), ((int32_t)(v)))
272#define IXDR_GET_LONG(buf) ((long)ntohl((u_int32_t)*(buf)++))
273#define IXDR_PUT_LONG(buf, v) (*(buf)++ =(int32_t)htonl((u_int32_t)v))
275#define IXDR_GET_BOOL(buf) ((bool_t)IXDR_GET_LONG(buf))
276#define IXDR_GET_ENUM(buf, t) ((t)IXDR_GET_LONG(buf))
277#define IXDR_GET_U_LONG(buf) ((u_long)IXDR_GET_LONG(buf))
278#define IXDR_GET_SHORT(buf) ((short)IXDR_GET_LONG(buf))
279#define IXDR_GET_U_SHORT(buf) ((u_short)IXDR_GET_LONG(buf))
281#define IXDR_PUT_BOOL(buf, v) IXDR_PUT_LONG((buf), (v))
282#define IXDR_PUT_ENUM(buf, v) IXDR_PUT_LONG((buf), (v))
283#define IXDR_PUT_U_LONG(buf, v) IXDR_PUT_LONG((buf), (v))
284#define IXDR_PUT_SHORT(buf, v) IXDR_PUT_LONG((buf), (v))
285#define IXDR_PUT_U_SHORT(buf, v) IXDR_PUT_LONG((buf), (v))
331#define MAX_NETOBJ_SZ 1024
352 int (*)(
void *,
void *,
int),
353 int (*)(
void *,
void *,
int));
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
void(* x_destroy)(struct __rpc_xdr *)
bool_t(* x_control)(struct __rpc_xdr *, int, void *)
bool_t(* x_getlong)(struct __rpc_xdr *, long *)
bool_t(* x_putlong)(struct __rpc_xdr *, const long *)
bool_t(* x_putbytes)(struct __rpc_xdr *, const char *, u_int)
bool_t(* x_setpostn)(struct __rpc_xdr *, u_int)
u_int(* x_getpostn)(struct __rpc_xdr *)
bool_t(* x_getbytes)(struct __rpc_xdr *, char *, u_int)
const struct __rpc_xdr::xdr_ops * x_ops
bool_t xdr_reference(XDR *, char **, u_int, xdrproc_t)
bool_t xdr_netobj(XDR *, struct netobj *)
__BEGIN_DECLS bool_t xdr_void(void)
__BEGIN_DECLS void xdrmem_create(XDR *, char *, u_int, enum xdr_op)
bool_t xdr_double(XDR *, double *)
bool_t xdr_array(XDR *, char **, u_int *, u_int, u_int, xdrproc_t)
bool_t xdr_pointer(XDR *, char **, u_int, xdrproc_t)
bool_t xdr_bool(XDR *, bool_t *)
int32_t * xdrrec_getoutbase(XDR *)
bool_t xdr_union(XDR *, enum_t *, char *, const struct xdr_discrim *, xdrproc_t)
bool_t xdr_u_longlong_t(XDR *, u_quad_t *)
bool_t xdr_longlong_t(XDR *, quad_t *)
bool_t xdr_u_char(XDR *, u_char *)
bool_t xdr_hyper(XDR *, quad_t *)
bool_t xdrrec_skiprecord(XDR *)
bool_t xdr_string(XDR *, char **, u_int)
u_int xdrrec_readbytes(XDR *, caddr_t, u_int)
bool_t xdr_u_int(XDR *, u_int *)
bool_t xdr_quadruple(XDR *, long double *)
void xdr_free(xdrproc_t, void *)
bool_t xdr_int(XDR *, int *)
void xdrrec_setlastfrag(XDR *)
static __inline int xdr_getint32(XDR *xdrs, int32_t *ip)
bool_t(* xdrproc_t)(XDR *,...)
bool_t xdr_bytes(XDR *, char **, u_int *, u_int)
void xdrrec_create(XDR *, u_int, u_int, void *, int(*)(void *, void *, int), int(*)(void *, void *, int))
#define xdr_putlong(xdrs, longp)
bool_t xdr_float(XDR *, float *)
bool_t xdr_u_long(XDR *, u_long *)
bool_t xdr_int64_t(XDR *, int64_t *)
bool_t xdr_u_int64_t(XDR *, u_int64_t *)
bool_t xdr_vector(XDR *, char *, u_int, u_int, xdrproc_t)
bool_t xdr_enum(XDR *, enum_t *)
bool_t xdr_int16_t(XDR *, int16_t *)
bool_t xdr_opaque(XDR *, char *, u_int)
bool_t xdr_int32_t(XDR *, int32_t *)
bool_t xdr_u_int32_t(XDR *, u_int32_t *)
bool_t xdr_u_int16_t(XDR *, u_int16_t *)
bool_t xdr_long(XDR *, long *)
bool_t xdr_u_hyper(XDR *, u_quad_t *)
static __inline int xdr_putint32(XDR *xdrs, int32_t *ip)
bool_t xdr_short(XDR *, short *)
bool_t xdr_u_short(XDR *, u_short *)
#define xdr_getlong(xdrs, longp)
void xdrstdio_create(XDR *, FILE *, enum xdr_op)
bool_t xdr_wrapstring(XDR *, char **)
bool_t xdrrec_endofrecord(XDR *, int)
bool_t xdr_char(XDR *, char *)