xdr.h (a4add9a9b110cb5deed00bf9cf7ca970daae2da7) xdr.h (c447342094276b4d604449bb776063c7b88c4992)
1/*
2 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
3 * unrestricted use provided that this legend is included on all tape
4 * media and as a part of the software program in whole or part. Users
5 * may copy or modify Sun RPC without charge, but are not authorized
6 * to license or distribute it to anyone else except as part of a product or
7 * program developed by the user.
8 *

--- 115 unchanged lines hidden (view full) ---

124/*
125 * A xdrproc_t exists for each data type which is to be encoded or decoded.
126 *
127 * The second argument to the xdrproc_t is a pointer to an opaque pointer.
128 * The opaque pointer generally points to a structure of the data type
129 * to be decoded. If this pointer is 0, then the type routines should
130 * allocate dynamic storage of the appropriate size and return it.
131 */
1/*
2 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
3 * unrestricted use provided that this legend is included on all tape
4 * media and as a part of the software program in whole or part. Users
5 * may copy or modify Sun RPC without charge, but are not authorized
6 * to license or distribute it to anyone else except as part of a product or
7 * program developed by the user.
8 *

--- 115 unchanged lines hidden (view full) ---

124/*
125 * A xdrproc_t exists for each data type which is to be encoded or decoded.
126 *
127 * The second argument to the xdrproc_t is a pointer to an opaque pointer.
128 * The opaque pointer generally points to a structure of the data type
129 * to be decoded. If this pointer is 0, then the type routines should
130 * allocate dynamic storage of the appropriate size and return it.
131 */
132#ifdef KERNEL
132#ifdef _KERNEL
133typedef bool_t (*xdrproc_t) __P((XDR *, void *, u_int));
134#else
135/*
136 * XXX can't actually prototype it, because some take two args!!!
137 */
138typedef bool_t (*xdrproc_t) __P((/* XDR *, void *, u_int */));
139#endif
140

--- 174 unchanged lines hidden ---
133typedef bool_t (*xdrproc_t) __P((XDR *, void *, u_int));
134#else
135/*
136 * XXX can't actually prototype it, because some take two args!!!
137 */
138typedef bool_t (*xdrproc_t) __P((/* XDR *, void *, u_int */));
139#endif
140

--- 174 unchanged lines hidden ---