Update.
[glibc.git] / include / rpc / xdr.h
blobab43f83dcb08d8852754eade4d1bbf7982234e46
1 #include <sunrpc/rpc/xdr.h>
3 extern bool_t xdr_void_internal (void);
4 extern bool_t xdr_bool_internal (XDR *__xdrs, bool_t *__bp);
5 extern bool_t xdr_u_hyper_internal (XDR *__xdrs, u_quad_t *__ullp);
6 extern bool_t xdr_u_long_internal (XDR *__xdrs, u_long *__ulp);
7 extern bool_t xdr_u_int_internal (XDR *__xdrs, u_int *__up);
8 extern bool_t xdr_u_short_internal (XDR *__xdrs, u_short *__usp);
9 extern bool_t xdr_hyper_internal (XDR *__xdrs, quad_t *__ullp);
10 extern bool_t xdr_long_internal (XDR *__xdrs, long *__ulp);
11 extern bool_t xdr_int_internal (XDR *__xdrs, int *__up);
12 extern bool_t xdr_short_internal (XDR *__xdrs, short *__usp);
13 extern bool_t xdr_enum_internal (XDR *__xdrs, enum_t *__ep);
14 extern bool_t xdr_union_internal (XDR *__xdrs, enum_t *__dscmp, char *__unp,
15 const struct xdr_discrim *choices,
16 xdrproc_t dfault);
17 extern bool_t xdr_string_internal (XDR *__xdrs, char **__cpp, u_int __maxsize);
18 extern bool_t xdr_array_internal (XDR * _xdrs, caddr_t *__addrp,
19 u_int *__sizep, u_int __maxsize,
20 u_int __elsize, xdrproc_t __elproc);
21 extern bool_t xdr_reference_internal (XDR *__xdrs, caddr_t *__xpp,
22 u_int __size, xdrproc_t __proc);
23 extern bool_t xdr_bytes_internal (XDR *xdrs, char **cpp, u_int *sizep,
24 u_int maxsize);
25 extern bool_t xdr_netobj_internal (XDR *__xdrs, struct netobj *__np);
26 extern bool_t xdr_opaque_internal (XDR *__xdrs, caddr_t __cp, u_int __cnt);
27 extern void xdrrec_create_internal (XDR *__xdrs, u_int __sendsize,
28 u_int __recvsize, caddr_t __tcp_handle,
29 int (*__readit) (char *, char *, int),
30 int (*__writeit) (char *, char *, int));
31 extern void xdrmem_create_internal (XDR *, const caddr_t, u_int, enum xdr_op);
32 extern bool_t xdrrec_endofrecord_internal (XDR *__xdrs, bool_t __sendnow);
33 extern bool_t xdrrec_skiprecord_internal (XDR *__xdrs);
34 extern bool_t xdrrec_eof_internal (XDR *__xdrs);
36 libc_hidden_proto (xdrstdio_create)