|
#define | BYTES_PER_XDR_UNIT (4) |
|
#define | RNDUP(x) (((x) + BYTES_PER_XDR_UNIT - 1) & ~(BYTES_PER_XDR_UNIT - 1)) |
|
#define | XDR_GETINT32(xdrs, int32p) (*(xdrs)->x_ops->x_getint32)(xdrs, int32p) |
|
#define | xdr_getint32(xdrs, int32p) (*(xdrs)->x_ops->x_getint32)(xdrs, int32p) |
|
#define | XDR_PUTINT32(xdrs, int32p) (*(xdrs)->x_ops->x_putint32)(xdrs, int32p) |
|
#define | xdr_putint32(xdrs, int32p) (*(xdrs)->x_ops->x_putint32)(xdrs, int32p) |
|
#define | XDR_GETLONG(xdrs, longp) (*(xdrs)->x_ops->x_getlong)(xdrs, longp) |
|
#define | xdr_getlong(xdrs, longp) (*(xdrs)->x_ops->x_getlong)(xdrs, longp) |
|
#define | XDR_PUTLONG(xdrs, longp) (*(xdrs)->x_ops->x_putlong)(xdrs, longp) |
|
#define | xdr_putlong(xdrs, longp) (*(xdrs)->x_ops->x_putlong)(xdrs, longp) |
|
#define | XDR_GETBYTES(xdrs, addr, len) (*(xdrs)->x_ops->x_getbytes)(xdrs, addr, len) |
|
#define | xdr_getbytes(xdrs, addr, len) (*(xdrs)->x_ops->x_getbytes)(xdrs, addr, len) |
|
#define | XDR_PUTBYTES(xdrs, addr, len) (*(xdrs)->x_ops->x_putbytes)(xdrs, addr, len) |
|
#define | xdr_putbytes(xdrs, addr, len) (*(xdrs)->x_ops->x_putbytes)(xdrs, addr, len) |
|
#define | XDR_GETPOS(xdrs) (*(xdrs)->x_ops->x_getpostn)(xdrs) |
|
#define | xdr_getpos(xdrs) (*(xdrs)->x_ops->x_getpostn)(xdrs) |
|
#define | XDR_SETPOS(xdrs, pos) (*(xdrs)->x_ops->x_setpostn)(xdrs, pos) |
|
#define | xdr_setpos(xdrs, pos) (*(xdrs)->x_ops->x_setpostn)(xdrs, pos) |
|
#define | XDR_INLINE(xdrs, len) (*(xdrs)->x_ops->x_inline)(xdrs, len) |
|
#define | xdr_inline(xdrs, len) (*(xdrs)->x_ops->x_inline)(xdrs, len) |
|
#define | XDR_DESTROY(xdrs) |
|
#define | xdr_destroy(xdrs) |
|
#define | NULL_xdrproc_t ((xdrproc_t)0) |
|
#define | IXDR_GET_INT32(buf) ((int32_t)ntohl((uint32_t) * (buf)++)) |
|
#define | IXDR_PUT_INT32(buf, v) (*(buf)++ = (int32_t)htonl((uint32_t)(v))) |
|
#define | IXDR_GET_U_INT32(buf) ((uint32_t)IXDR_GET_INT32(buf)) |
|
#define | IXDR_PUT_U_INT32(buf, v) IXDR_PUT_INT32(buf, (int32_t)(v)) |
|
#define | IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf)) |
|
#define | IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v))) |
|
#define | IXDR_GET_U_LONG(buf) ((u_long)IXDR_GET_LONG(buf)) |
|
#define | IXDR_PUT_U_LONG(buf, v) IXDR_PUT_LONG(buf, (long)(v)) |
|
#define | IXDR_GET_BOOL(buf) ((bool_t)IXDR_GET_LONG(buf)) |
|
#define | IXDR_GET_ENUM(buf, t) ((t)IXDR_GET_LONG(buf)) |
|
#define | IXDR_GET_SHORT(buf) ((short)IXDR_GET_LONG(buf)) |
|
#define | IXDR_GET_U_SHORT(buf) ((u_short)IXDR_GET_LONG(buf)) |
|
#define | IXDR_PUT_BOOL(buf, v) IXDR_PUT_LONG(buf, (long)(v)) |
|
#define | IXDR_PUT_ENUM(buf, v) IXDR_PUT_LONG(buf, (long)(v)) |
|
#define | IXDR_PUT_SHORT(buf, v) IXDR_PUT_LONG(buf, (long)(v)) |
|
#define | IXDR_PUT_U_SHORT(buf, v) IXDR_PUT_LONG(buf, (long)(v)) |
|
#define | MAX_NETOBJ_SZ 1024 |
|
|
bool_t | xdr_void (void) __THROW |
|
bool_t | xdr_short (XDR *__xdrs, short *__sp) __THROW |
|
bool_t | xdr_u_short (XDR *__xdrs, u_short *__usp) __THROW |
|
bool_t | xdr_int (XDR *__xdrs, int *__ip) __THROW |
|
bool_t | xdr_u_int (XDR *__xdrs, u_int *__up) __THROW |
|
bool_t | xdr_long (XDR *__xdrs, long *__lp) __THROW |
|
bool_t | xdr_u_long (XDR *__xdrs, u_long *__ulp) __THROW |
|
bool_t | xdr_hyper (XDR *__xdrs, quad_t *__llp) __THROW |
|
bool_t | xdr_u_hyper (XDR *__xdrs, u_quad_t *__ullp) __THROW |
|
bool_t | xdr_longlong_t (XDR *__xdrs, quad_t *__llp) __THROW |
|
bool_t | xdr_u_longlong_t (XDR *__xdrs, u_quad_t *__ullp) __THROW |
|
bool_t | xdr_int8_t (XDR *__xdrs, int8_t *__ip) __THROW |
|
bool_t | xdr_uint8_t (XDR *__xdrs, uint8_t *__up) __THROW |
|
bool_t | xdr_int16_t (XDR *__xdrs, int16_t *__ip) __THROW |
|
bool_t | xdr_uint16_t (XDR *__xdrs, uint16_t *__up) __THROW |
|
bool_t | xdr_int32_t (XDR *__xdrs, int32_t *__ip) __THROW |
|
bool_t | xdr_uint32_t (XDR *__xdrs, uint32_t *__up) __THROW |
|
bool_t | xdr_int64_t (XDR *__xdrs, int64_t *__ip) __THROW |
|
bool_t | xdr_uint64_t (XDR *__xdrs, uint64_t *__up) __THROW |
|
bool_t | xdr_quad_t (XDR *__xdrs, quad_t *__ip) __THROW |
|
bool_t | xdr_u_quad_t (XDR *__xdrs, u_quad_t *__up) __THROW |
|
bool_t | xdr_bool (XDR *__xdrs, bool_t *__bp) __THROW |
|
bool_t | xdr_enum (XDR *__xdrs, enum_t *__ep) __THROW |
|
bool_t | xdr_array (XDR *_xdrs, caddr_t *__addrp, u_int *__sizep, u_int __maxsize, u_int __elsize, xdrproc_t __elproc) __THROW |
|
bool_t | xdr_bytes (XDR *__xdrs, char **__cpp, u_int *__sizep, u_int __maxsize) __THROW |
|
bool_t | xdr_opaque (XDR *__xdrs, caddr_t __cp, u_int __cnt) __THROW |
|
bool_t | xdr_string (XDR *__xdrs, char **__cpp, u_int __maxsize) __THROW |
|
bool_t | xdr_union (XDR *__xdrs, enum_t *__dscmp, char *__unp, __const struct xdr_discrim *__choices, xdrproc_t __dfault) __THROW |
|
bool_t | xdr_char (XDR *__xdrs, char *__cp) __THROW |
|
bool_t | xdr_u_char (XDR *__xdrs, u_char *__cp) __THROW |
|
bool_t | xdr_vector (XDR *__xdrs, char *__basep, u_int __nelem, u_int __elemsize, xdrproc_t __xdr_elem) __THROW |
|
bool_t | xdr_float (XDR *__xdrs, float *__fp) __THROW |
|
bool_t | xdr_double (XDR *__xdrs, double *__dp) __THROW |
|
bool_t | xdr_reference (XDR *__xdrs, caddr_t *__xpp, u_int __size, xdrproc_t __proc) __THROW |
|
bool_t | xdr_pointer (XDR *__xdrs, char **__objpp, u_int __obj_size, xdrproc_t __xdr_obj) __THROW |
|
bool_t | xdr_wrapstring (XDR *__xdrs, char **__cpp) __THROW |
|
u_long | xdr_sizeof (xdrproc_t, void *) __THROW |
|
bool_t | xdr_netobj (XDR *__xdrs, struct netobj *__np) __THROW |
|
void | xdrmem_create (XDR *__xdrs, __const caddr_t __addr, u_int __size, enum xdr_op __xop) __THROW |
|
void | xdrstdio_create (XDR *__xdrs, FILE *__file, enum xdr_op __xop) __THROW |
|
void | xdrrec_create (XDR *__xdrs, u_int __sendsize, u_int __recvsize, caddr_t __tcp_handle, int(*__readit)(char *, char *, int), int(*__writeit)(char *, char *, int)) __THROW |
|
bool_t | xdrrec_endofrecord (XDR *__xdrs, bool_t __sendnow) __THROW |
|
bool_t | xdrrec_skiprecord (XDR *__xdrs) __THROW |
|
bool_t | xdrrec_eof (XDR *__xdrs) __THROW |
|
void | xdr_free (xdrproc_t __proc, char *__objp) __THROW |
|
External Data Representation Serialization Routines.