NetBSD/usr.sbin/ypserv/common/ypresp_xdr.c
thorpej 60aa689c94 A ypserv implementation, originally written by Mats O Jansson, with
some changes by me, including misc. cleanup, minor bug fixes, and
brand-new access control list code.
1996-08-09 10:14:49 +00:00

30 lines
518 B
C

/* $NetBSD: ypresp_xdr.c,v 1.1.1.1 1996/08/09 10:14:52 thorpej Exp $ */
/*
* This file was originally generated with rpcgen, then modified
* by Jason R. Thorpe <thorpej@NetBSD.ORG>.
*/
#include <sys/types.h>
#include <rpc/rpc.h>
#include <rpc/xdr.h>
#include <rpcsvc/yp_prot.h>
#include "ypdef.h"
bool_t
xdr_ypresp_xfr(xdrs, objp)
XDR *xdrs;
struct ypresp_xfr *objp;
{
if (!xdr_u_int(xdrs, &objp->transid))
return FALSE;
if (!xdr_enum(xdrs, (enum_t *)&objp->xfrstat))
return FALSE;
return TRUE;
}