diff options
Diffstat (limited to 'gnu/libexec')
-rw-r--r-- | gnu/libexec/ypxfr/yp_xdr.c | 91 |
1 files changed, 0 insertions, 91 deletions
diff --git a/gnu/libexec/ypxfr/yp_xdr.c b/gnu/libexec/ypxfr/yp_xdr.c index 7eea70f..91a3ad8 100644 --- a/gnu/libexec/ypxfr/yp_xdr.c +++ b/gnu/libexec/ypxfr/yp_xdr.c @@ -60,97 +60,6 @@ __xdr_ypresp_key_val(XDR *xdrs, ypresp_key_val *objp) } return (TRUE); } - -bool_t -xdr_ypxfrstat(xdrs, objp) - XDR *xdrs; - ypxfrstat *objp; -{ - if (!xdr_enum(xdrs, (enum_t *)objp)) { - return (FALSE); - } - return (TRUE); -} - - -bool_t -xdr_ypmap_parms(xdrs, objp) - XDR *xdrs; - ypmap_parms *objp; -{ - if (!xdr_domainname(xdrs, &objp->domain)) { - return (FALSE); - } - if (!xdr_mapname(xdrs, &objp->map)) { - return (FALSE); - } - if (!xdr_u_int(xdrs, &objp->ordernum)) { - return (FALSE); - } - if (!xdr_peername(xdrs, &objp->peer)) { - return (FALSE); - } - return (TRUE); -} - -bool_t -xdr_ypreq_xfr(xdrs, objp) - XDR *xdrs; - ypreq_xfr *objp; -{ - if (!xdr_ypmap_parms(xdrs, &objp->map_parms)) { - return (FALSE); - } - if (!xdr_u_int(xdrs, &objp->transid)) { - return (FALSE); - } - if (!xdr_u_int(xdrs, &objp->prog)) { - return (FALSE); - } - if (!xdr_u_int(xdrs, &objp->port)) { - return (FALSE); - } - return (TRUE); -} -bool_t -xdr_ypresp_xfr(xdrs, objp) - XDR *xdrs; - ypresp_xfr *objp; -{ - if (!xdr_u_int(xdrs, &objp->transid)) { - return (FALSE); - } - if (!xdr_ypxfrstat(xdrs, &objp->xfrstat)) { - return (FALSE); - } - return (TRUE); -} -bool_t -xdr_yppush_status(xdrs, objp) - XDR *xdrs; - yppush_status *objp; -{ - if (!xdr_enum(xdrs, (enum_t *)objp)) { - return (FALSE); - } - return (TRUE); -} - - -bool_t -xdr_yppushresp_xfr(xdrs, objp) - XDR *xdrs; - yppushresp_xfr *objp; -{ - if (!xdr_u_int(xdrs, &objp->transid)) { - return (FALSE); - } - if (!xdr_yppush_status(xdrs, &objp->status)) { - return (FALSE); - } - return (TRUE); -} - bool_t __xdr_ypresp_all(XDR *xdrs, ypresp_all *objp) { |