/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
#ident "%Z%%M% %I% %E% SMI"
/*
* Copyright (c) 1995 Sun Microsystems, Inc
* All rights reserved.
*/
/*
* This contains the xdr functions needed by ypserv and the NIS
* administrative tools to support the previous version of the NIS protocol.
* Note that many "old" xdr functions are called, with the assumption that
* they have not changed between the v1 protocol (which this module exists
* to support) and the current v2 protocol.
*/
#define NULL 0
#include "ypv1_prot.h"
extern bool xdr_ypreq_key();
extern bool xdr_ypreq_nokey();
extern bool xdr_ypresp_val();
extern bool xdr_ypresp_key_val();
extern bool xdr_ypmap_parms();
/*
* Serializes/deserializes a yprequest structure.
*/
bool
{
(int *) &ps->yp_reqtype,
(char *) &ps->yp_reqbody,
yprequest_arms, NULL));
}
/*
* Serializes/deserializes a ypresponse structure.
*/
bool
{
(int *) &ps->yp_resptype,
(char *) &ps->yp_respbody,
ypresponse_arms, NULL));
}
/* XXX - Excess baggage? - georgn */
#if 0
/*
* Serializes/deserializes a ypbind_oldsetdom structure.
*/
bool
{
}
#endif