XDR(3) | Library Functions Manual | XDR(3) |
int
xdr_bool(XDR *xdrs, bool_t *bp);
int
xdr_bytes(XDR *xdrs, char **sp, u_int *sizep, u_int maxsize);
int
xdr_char(XDR *xdrs, char *cp);
void
xdr_destroy(XDR *xdrs);
int
xdr_double(XDR *xdrs, double *dp);
int
xdr_enum(XDR *xdrs, enum_t *ep);
int
xdr_float(XDR *xdrs, float *fp);
void
xdr_free(xdrproc_t proc, char *objp);
u_int
xdr_getpos(XDR *xdrs);
int
xdr_hyper(XDR *xdrs, longlong_t *llp);
long *
xdr_inline(XDR *xdrs, int len);
int
xdr_int(XDR *xdrs, int *ip);
int
xdr_long(XDR *xdrs, long *lp);
int
xdr_longlong_t(XDR *xdrs, longlong_t *llp);
void
xdrmem_create(XDR *xdrs, char *addr, u_int size, enum xdr_op op);
int
xdr_opaque(XDR *xdrs, char *cp, u_int cnt);
int
xdr_pointer(XDR *xdrs, char **objpp, u_int objsize, xdrproc_t xdrobj);
void
xdrrec_create(XDR *xdrs, u_int sendsize, u_int recvsize, char *handle, int (*readit)(), int (*writeit)());
int
xdrrec_endofrecord(XDR *xdrs, int sendnow);
int
xdrrec_eof(XDR *xdrs);
int
xdrrec_skiprecord(XDR *xdrs);
int
xdr_reference(XDR *xdrs, char **pp, u_int size, xdrproc_t proc);
int
xdr_setpos(XDR *xdrs, u_int pos);
int
xdr_short(XDR *xdrs, short *sp);
nsigned long
xdr_sizeof(xdrproc_t func, void *data);
void
xdrstdio_create(XDR *xdrs, FILE *file, enum xdr_op op);
int
xdr_string(XDR *xdrs, char **sp, u_int maxsize);
int
xdr_u_char(XDR *xdrs, unsigned char *ucp);
int
xdr_u_hyper(XDR *xdrs, u_longlong_t *ullp);
int
xdr_u_int(XDR *xdrs, unsigned *up);
int
xdr_u_long(XDR *xdrs, unsigned long *ulp);
int
xdr_u_longlong_t(XDR *xdrs, u_longlong_t *ullp);
int
xdr_u_short(XDR *xdrs, unsigned short *usp);
int
xdr_union(XDR *xdrs, int *dscmp, char *unp, struct xdr_discrim *choices, bool_t (*defaultarm)());
int
xdr_vector(XDR *xdrs, char *arrp, u_int size, u_int elsize, xdrproc_t elproc);
int
xdr_void(void);
int
xdr_wrapstring(XDR *xdrs, char **sp);
Warning: xdr_inline() may return NULL if it cannot allocate a contiguous piece of a buffer. Therefore the behavior may vary among stream instances; it exists for the sake of efficiency.
Warning: this XDR stream implements an intermediate record stream. Therefore there are additional bytes in the stream to provide record boundary information.
Warning: this routine does not understand NULL pointers. Use xdr_pointer() instead.
Warning: it is difficult to reposition some types of XDR streams, so this routine may fail with one type of stream and succeed with another.
Warning: the destroy routine associated with such XDR streams calls fflush(3) on the file stream, but never fclose(3).
The following manuals:
eXternal Data Representation Standard: Protocol Specification.
eXternal Data Representation: Sun Technical Notes.
Sun Microsystems, Inc., USC-ISI, XDR: External Data Representation Standard, RFC 1014, USC-ISI, 1014.
July 4, 2011 | NetBSD 6.1 |