/* This set of routines implements the rpc message definition, its serializer and some common rpc utility routines. The routines are meant for various implementations of rpc - they are NOT for the rpc client or rpc service implementations! Because authentication stuff is easy and is part of rpc, the opaque routines are also in this program. XDR an opaque authentication struct (see auth.h)  */
bool_t xdr_opaque_auth(XDR *xdrs, struct opaque_auth *ap)
/* This set of routines implements the rpc message definition, its serializer and some common rpc utility routines. The routines are meant for various implementations of rpc - they are NOT for the rpc client or rpc service implementations! Because authentication stuff is easy and is part of rpc, the opaque routines are also in this program. XDR an opaque authentication struct (see auth.h)  */
bool_t xdr_opaque_auth(XDR *xdrs, struct opaque_auth *ap)
{
    if (xdr_enum(xdrs, &(ap->oa_flavor)))
        return (xdr_bytes(xdrs, &ap->oa_base,
                          &ap->oa_length, MAX_AUTH_BYTES));
    return (FALSE);
}