require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_RPCSVC_YP_PROT_H_)) {
    eval 'sub _RPCSVC_YP_PROT_H_ () {1;}' unless defined(&_RPCSVC_YP_PROT_H_);
    unless(defined(&BOOL_DEFINED)) {
	eval 'sub BOOL_DEFINED () {1;}' unless defined(&BOOL_DEFINED);
    }
    eval 'sub YPPROG () {(100004);}' unless defined(&YPPROG);
    eval 'sub YPVERS () {(2);}' unless defined(&YPVERS);
    eval 'sub YPVERS_ORIG () {(1);}' unless defined(&YPVERS_ORIG);
    eval 'sub YPMAXRECORD () {(1024);}' unless defined(&YPMAXRECORD);
    eval 'sub YPMAXDOMAIN () {(64);}' unless defined(&YPMAXDOMAIN);
    eval 'sub YPMAXMAP () {(64);}' unless defined(&YPMAXMAP);
    eval 'sub YPMAXPEER () {(256);}' unless defined(&YPMAXPEER);
    eval 'sub YPMSGSZ () {1600;}' unless defined(&YPMSGSZ);
    unless(defined(&DATUM)) {
	eval 'sub DATUM () {1;}' unless defined(&DATUM);
    }
    eval 'sub ypxfr_domain () { ($map_parms->{domain});}' unless defined(&ypxfr_domain);
    eval 'sub ypxfr_map () { ($map_parms->{map});}' unless defined(&ypxfr_map);
    eval 'sub ypxfr_ordernum () { ($map_parms->{ordernum});}' unless defined(&ypxfr_ordernum);
    eval 'sub ypxfr_owner () { ($map_parms->{owner});}' unless defined(&ypxfr_owner);
    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 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);
    eval 'sub YPBINDPROG () {(100007);}' unless defined(&YPBINDPROG);
    eval 'sub YPBINDVERS () {(2);}' unless defined(&YPBINDVERS);
    eval 'sub YPBINDVERS_ORIG () {(1);}' unless defined(&YPBINDVERS_ORIG);
    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);
    eval("sub YPBIND_SUCC_VAL () { 1; }") unless defined(&YPBIND_SUCC_VAL);
    eval("sub YPBIND_FAIL_VAL () { 2; }") unless defined(&YPBIND_FAIL_VAL);
    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);
    eval 'sub ypsetdom_addr () { ($ypsetdom_binding->{ypbind_binding_addr});}' unless defined(&ypsetdom_addr);
    eval 'sub ypsetdom_port () { ($ypsetdom_binding->{ypbind_binding_port});}' unless defined(&ypsetdom_port);
    eval 'sub YPPUSHVERS () {(1);}' unless defined(&YPPUSHVERS);
    eval 'sub YPPUSHVERS_ORIG () {(1);}' unless defined(&YPPUSHVERS_ORIG);
    eval 'sub YPPUSHPROC_NULL () {(0);}' unless defined(&YPPUSHPROC_NULL);
    eval 'sub YPPUSHPROC_XFRRESP () {(1);}' unless defined(&YPPUSHPROC_XFRRESP);
    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);
}
1;
