|
Defines |
#define | BYTES_PER_XDR_UNIT (4) |
#define | RNDUP(x) |
#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_LONG(buf) ((long)ntohl((u_long)*(buf)++)) |
#define | IXDR_PUT_LONG(buf, v) (*(buf)++ = (long)htonl((u_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_U_LONG(buf) ((u_long)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_U_LONG(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 |
Typedefs |
typedef __rpc_xdr | XDR |
typedef bool_t xdrproc_t | __P (()) |
typedef netobj | netobj |
Enumerations |
enum | xdr_op { XDR_ENCODE = 0,
XDR_DECODE = 1,
XDR_FREE = 2
} |
Functions |
__BEGIN_DECLS bool_t xdr_void | __P ((void)) |
bool_t xdr_int | __P ((XDR *, int *)) |
bool_t xdr_u_int | __P ((XDR *, u_int *)) |
bool_t xdr_long | __P ((XDR *, long *)) |
bool_t xdr_u_long | __P ((XDR *, u_long *)) |
bool_t xdr_short | __P ((XDR *, short *)) |
bool_t xdr_u_short | __P ((XDR *, u_short *)) |
bool_t xdr_int16_t | __P ((XDR *, int16_t *)) |
bool_t xdr_u_int16_t | __P ((XDR *, u_int16_t *)) |
bool_t xdr_int32_t | __P ((XDR *, int32_t *)) |
bool_t xdr_u_int32_t | __P ((XDR *, u_int32_t *)) |
bool_t xdr_bool | __P ((XDR *, bool_t *)) |
bool_t xdr_enum | __P ((XDR *, enum_t *)) |
bool_t xdr_array | __P ((XDR *, char **, u_int *, u_int, u_int, xdrproc_t)) |
bool_t xdr_bytes | __P ((XDR *, char **, u_int *, u_int)) |
bool_t xdr_opaque | __P ((XDR *, caddr_t, u_int)) |
bool_t xdr_string | __P ((XDR *, char **, u_int)) |
bool_t xdr_union | __P ((XDR *, enum_t *, char *, struct xdr_discrim *, xdrproc_t)) |
bool_t xdr_char | __P ((XDR *, char *)) |
bool_t xdr_u_char | __P ((XDR *, u_char *)) |
bool_t xdr_vector | __P ((XDR *, char *, u_int, u_int, xdrproc_t)) |
bool_t xdr_float | __P ((XDR *, float *)) |
bool_t xdr_double | __P ((XDR *, double *)) |
bool_t xdr_reference | __P ((XDR *, caddr_t *, u_int, xdrproc_t)) |
bool_t xdr_wrapstring | __P ((XDR *, char **)) |
void xdr_free | __P ((xdrproc_t, char *)) |
bool_t xdr_netobj | __P ((XDR *, struct netobj *)) |
__BEGIN_DECLS void xdrmem_create | __P ((XDR *, char *, u_int, enum xdr_op)) |
void xdrrec_create | __P ((XDR *, u_int, u_int, char *, int(*) __P((caddr_t, caddr_t, int)), int(*) __P((caddr_t, caddr_t, int)))) |
bool_t xdrrec_endofrecord | __P ((XDR *, int)) |
bool_t xdrrec_skiprecord | __P ((XDR *)) |