require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_YP_H_RPCGEN)) {
    eval 'sub _YP_H_RPCGEN () {1;}' unless defined(&_YP_H_RPCGEN);
    eval 'sub RPCGEN_VERSION () {199506;}' unless defined(&RPCGEN_VERSION);
    require 'rpc/rpc.ph';
    eval 'sub YPMAXRECORD () {1024;}' unless defined(&YPMAXRECORD);
    eval 'sub YPMAXDOMAIN () {64;}' unless defined(&YPMAXDOMAIN);
    eval 'sub YPMAXMAP () {64;}' unless defined(&YPMAXMAP);
    eval 'sub YPMAXPEER () {64;}' unless defined(&YPMAXPEER);
    eval("sub YP_TRUE () { 1; }") unless defined(&YP_TRUE);
    eval("sub YP_NOMORE () { 2; }") unless defined(&YP_NOMORE);
    eval("sub YP_FALSE () { 0; }") unless defined(&YP_FALSE);
    eval("sub YP_NOMAP () { -1; }") unless defined(&YP_NOMAP);
    eval("sub YP_NODOM () { -2; }") unless defined(&YP_NODOM);
    eval("sub YP_NOKEY () { -3; }") unless defined(&YP_NOKEY);
    eval("sub YP_BADOP () { -4; }") unless defined(&YP_BADOP);
    eval("sub YP_BADDB () { -5; }") unless defined(&YP_BADDB);
    eval("sub YP_YPERR () { -6; }") unless defined(&YP_YPERR);
    eval("sub YP_BADARGS () { -7; }") unless defined(&YP_BADARGS);
    eval("sub YP_VERS () { -8; }") unless defined(&YP_VERS);
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    eval("sub YPXFR_SUCC () { 1; }") unless defined(&YPXFR_SUCC);
    eval("sub YPXFR_AGE () { 2; }") unless defined(&YPXFR_AGE);
    eval("sub YPXFR_NOMAP () { -1; }") unless defined(&YPXFR_NOMAP);
    eval("sub YPXFR_NODOM () { -2; }") unless defined(&YPXFR_NODOM);
    eval("sub YPXFR_RSRC () { -3; }") unless defined(&YPXFR_RSRC);
    eval("sub YPXFR_RPC () { -4; }") unless defined(&YPXFR_RPC);
    eval("sub YPXFR_MADDR () { -5; }") unless defined(&YPXFR_MADDR);
    eval("sub YPXFR_YPERR () { -6; }") unless defined(&YPXFR_YPERR);
    eval("sub YPXFR_BADARGS () { -7; }") unless defined(&YPXFR_BADARGS);
    eval("sub YPXFR_DBM () { -8; }") unless defined(&YPXFR_DBM);
    eval("sub YPXFR_FILE () { -9; }") unless defined(&YPXFR_FILE);
    eval("sub YPXFR_SKEW () { -10; }") unless defined(&YPXFR_SKEW);
    eval("sub YPXFR_CLEAR () { -11; }") unless defined(&YPXFR_CLEAR);
    eval("sub YPXFR_FORCE () { -12; }") unless defined(&YPXFR_FORCE);
    eval("sub YPXFR_XFRERR () { -13; }") unless defined(&YPXFR_XFRERR);
    eval("sub YPXFR_REFUSED () { -14; }") unless defined(&YPXFR_REFUSED);
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    eval("sub YPPUSH_SUCC () { 1; }") unless defined(&YPPUSH_SUCC);
    eval("sub YPPUSH_AGE () { 2; }") unless defined(&YPPUSH_AGE);
    eval("sub YPPUSH_NOMAP () { -1; }") unless defined(&YPPUSH_NOMAP);
    eval("sub YPPUSH_NODOM () { -2; }") unless defined(&YPPUSH_NODOM);
    eval("sub YPPUSH_RSRC () { -3; }") unless defined(&YPPUSH_RSRC);
    eval("sub YPPUSH_RPC () { -4; }") unless defined(&YPPUSH_RPC);
    eval("sub YPPUSH_MADDR () { -5; }") unless defined(&YPPUSH_MADDR);
    eval("sub YPPUSH_YPERR () { -6; }") unless defined(&YPPUSH_YPERR);
    eval("sub YPPUSH_BADARGS () { -7; }") unless defined(&YPPUSH_BADARGS);
    eval("sub YPPUSH_DBM () { -8; }") unless defined(&YPPUSH_DBM);
    eval("sub YPPUSH_FILE () { -9; }") unless defined(&YPPUSH_FILE);
    eval("sub YPPUSH_SKEW () { -10; }") unless defined(&YPPUSH_SKEW);
    eval("sub YPPUSH_CLEAR () { -11; }") unless defined(&YPPUSH_CLEAR);
    eval("sub YPPUSH_FORCE () { -12; }") unless defined(&YPPUSH_FORCE);
    eval("sub YPPUSH_XFRERR () { -13; }") unless defined(&YPPUSH_XFRERR);
    eval("sub YPPUSH_REFUSED () { -14; }") unless defined(&YPPUSH_REFUSED);
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    eval("sub YPBIND_SUCC_VAL () { 1; }") unless defined(&YPBIND_SUCC_VAL);
    eval("sub YPBIND_FAIL_VAL () { 2; }") unless defined(&YPBIND_FAIL_VAL);
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    eval 'sub YPBIND_ERR_ERR () {1;}' unless defined(&YPBIND_ERR_ERR);
    eval 'sub YPBIND_ERR_NOSERV () {2;}' unless defined(&YPBIND_ERR_NOSERV);
    eval 'sub YPBIND_ERR_RESC () {3;}' unless defined(&YPBIND_ERR_RESC);
    if(defined(&__cplusplus)) {
    }
 elsif(defined( &__STDC__)) {
    } else {
    }
    eval 'sub YPPROG () {(100004);}' unless defined(&YPPROG);
    eval 'sub YPVERS () {(2);}' unless defined(&YPVERS);
    if(defined(&__cplusplus)) {
	eval 'sub YPPROC_NULL () {(0);}' unless defined(&YPPROC_NULL);
	eval 'sub YPPROC_DOMAIN () {(1);}' unless defined(&YPPROC_DOMAIN);
	eval 'sub YPPROC_DOMAIN_NONACK () {(2);}' unless defined(&YPPROC_DOMAIN_NONACK);
	eval 'sub YPPROC_MATCH () {(3);}' unless defined(&YPPROC_MATCH);
	eval 'sub YPPROC_FIRST () {(4);}' unless defined(&YPPROC_FIRST);
	eval 'sub YPPROC_NEXT () {(5);}' unless defined(&YPPROC_NEXT);
	eval 'sub YPPROC_XFR () {(6);}' unless defined(&YPPROC_XFR);
	eval 'sub YPPROC_CLEAR () {(7);}' unless defined(&YPPROC_CLEAR);
	eval 'sub YPPROC_ALL () {(8);}' unless defined(&YPPROC_ALL);
	eval 'sub YPPROC_MASTER () {(9);}' unless defined(&YPPROC_MASTER);
	eval 'sub YPPROC_ORDER () {(10);}' unless defined(&YPPROC_ORDER);
	eval 'sub YPPROC_MAPLIST () {(11);}' unless defined(&YPPROC_MAPLIST);
    }
 elsif(defined( &__STDC__)) {
	eval 'sub YPPROC_NULL () {(0);}' unless defined(&YPPROC_NULL);
	eval 'sub YPPROC_DOMAIN () {(1);}' unless defined(&YPPROC_DOMAIN);
	eval 'sub YPPROC_DOMAIN_NONACK () {(2);}' unless defined(&YPPROC_DOMAIN_NONACK);
	eval 'sub YPPROC_MATCH () {(3);}' unless defined(&YPPROC_MATCH);
	eval 'sub YPPROC_FIRST () {(4);}' unless defined(&YPPROC_FIRST);
	eval 'sub YPPROC_NEXT () {(5);}' unless defined(&YPPROC_NEXT);
	eval 'sub YPPROC_XFR () {(6);}' unless defined(&YPPROC_XFR);
	eval 'sub YPPROC_CLEAR () {(7);}' unless defined(&YPPROC_CLEAR);
	eval 'sub YPPROC_ALL () {(8);}' unless defined(&YPPROC_ALL);
	eval 'sub YPPROC_MASTER () {(9);}' unless defined(&YPPROC_MASTER);
	eval 'sub YPPROC_ORDER () {(10);}' unless defined(&YPPROC_ORDER);
	eval 'sub YPPROC_MAPLIST () {(11);}' unless defined(&YPPROC_MAPLIST);
    } else {
	eval 'sub YPPROC_NULL () {(0);}' unless defined(&YPPROC_NULL);
	eval 'sub YPPROC_DOMAIN () {(1);}' unless defined(&YPPROC_DOMAIN);
	eval 'sub YPPROC_DOMAIN_NONACK () {(2);}' unless defined(&YPPROC_DOMAIN_NONACK);
	eval 'sub YPPROC_MATCH () {(3);}' unless defined(&YPPROC_MATCH);
	eval 'sub YPPROC_FIRST () {(4);}' unless defined(&YPPROC_FIRST);
	eval 'sub YPPROC_NEXT () {(5);}' unless defined(&YPPROC_NEXT);
	eval 'sub YPPROC_XFR () {(6);}' unless defined(&YPPROC_XFR);
	eval 'sub YPPROC_CLEAR () {(7);}' unless defined(&YPPROC_CLEAR);
	eval 'sub YPPROC_ALL () {(8);}' unless defined(&YPPROC_ALL);
	eval 'sub YPPROC_MASTER () {(9);}' unless defined(&YPPROC_MASTER);
	eval 'sub YPPROC_ORDER () {(10);}' unless defined(&YPPROC_ORDER);
	eval 'sub YPPROC_MAPLIST () {(11);}' unless defined(&YPPROC_MAPLIST);
    }
    eval 'sub YPPUSH_XFRRESPPROG () {(0x40000000);}' unless defined(&YPPUSH_XFRRESPPROG);
    eval 'sub YPPUSH_XFRRESPVERS () {(1);}' unless defined(&YPPUSH_XFRRESPVERS);
    if(defined(&__cplusplus)) {
	eval 'sub YPPUSHPROC_NULL () {(0);}' unless defined(&YPPUSHPROC_NULL);
	eval 'sub YPPUSHPROC_XFRRESP () {(1);}' unless defined(&YPPUSHPROC_XFRRESP);
    }
 elsif(defined( &__STDC__)) {
	eval 'sub YPPUSHPROC_NULL () {(0);}' unless defined(&YPPUSHPROC_NULL);
	eval 'sub YPPUSHPROC_XFRRESP () {(1);}' unless defined(&YPPUSHPROC_XFRRESP);
    } else {
	eval 'sub YPPUSHPROC_NULL () {(0);}' unless defined(&YPPUSHPROC_NULL);
	eval 'sub YPPUSHPROC_XFRRESP () {(1);}' unless defined(&YPPUSHPROC_XFRRESP);
    }
    eval 'sub YPBINDPROG () {(100007);}' unless defined(&YPBINDPROG);
    eval 'sub YPBINDVERS () {(2);}' unless defined(&YPBINDVERS);
    if(defined(&__cplusplus)) {
	eval 'sub YPBINDPROC_NULL () {(0);}' unless defined(&YPBINDPROC_NULL);
	eval 'sub YPBINDPROC_DOMAIN () {(1);}' unless defined(&YPBINDPROC_DOMAIN);
	eval 'sub YPBINDPROC_SETDOM () {(2);}' unless defined(&YPBINDPROC_SETDOM);
    }
 elsif(defined( &__STDC__)) {
	eval 'sub YPBINDPROC_NULL () {(0);}' unless defined(&YPBINDPROC_NULL);
	eval 'sub YPBINDPROC_DOMAIN () {(1);}' unless defined(&YPBINDPROC_DOMAIN);
	eval 'sub YPBINDPROC_SETDOM () {(2);}' unless defined(&YPBINDPROC_SETDOM);
    } else {
	eval 'sub YPBINDPROC_NULL () {(0);}' unless defined(&YPBINDPROC_NULL);
	eval 'sub YPBINDPROC_DOMAIN () {(1);}' unless defined(&YPBINDPROC_DOMAIN);
	eval 'sub YPBINDPROC_SETDOM () {(2);}' unless defined(&YPBINDPROC_SETDOM);
    }
}
1;
