require '_h2ph_pre.ph';

unless(defined(&__IP_PROXY_H__)) {
    eval 'sub __IP_PROXY_H__ () {1;}' unless defined(&__IP_PROXY_H__);
    unless(defined(&SOLARIS)) {
	eval 'sub SOLARIS () {(defined( &sun)  && (defined( &__svr4__) || defined( &__SVR4)));}' unless defined(&SOLARIS);
    }
    unless(defined(&APR_LABELLEN)) {
	eval 'sub APR_LABELLEN () {16;}' unless defined(&APR_LABELLEN);
    }
    eval 'sub AP_SESS_SIZE () {53;}' unless defined(&AP_SESS_SIZE);
    eval 'sub aps_sport () { ($aps_un->{apu_tcp}->{apt_sport});}' unless defined(&aps_sport);
    eval 'sub aps_dport () { ($aps_un->{apu_tcp}->{apt_dport});}' unless defined(&aps_dport);
    eval 'sub aps_sel () { ($aps_un->{apu_tcp}->{apt_sel});}' unless defined(&aps_sel);
    eval 'sub aps_seqoff () { ($aps_un->{apu_tcp}->{apt_seqoff});}' unless defined(&aps_seqoff);
    eval 'sub aps_seqmin () { ($aps_un->{apu_tcp}->{apt_seqmin});}' unless defined(&aps_seqmin);
    eval 'sub aps_state () { ($aps_un->{apu_tcp}->{apt_state});}' unless defined(&aps_state);
    eval 'sub aps_ackoff () { ($aps_un->{apu_tcp}->{apt_ackoff});}' unless defined(&aps_ackoff);
    eval 'sub aps_ackmin () { ($aps_un->{apu_tcp}->{apt_ackmin});}' unless defined(&aps_ackmin);
    eval 'sub APR_DELETE () {1;}' unless defined(&APR_DELETE);
    eval 'sub APR_ERR {
        local($x) = @_;
	    eval q(((($x) & 0xffff) << 16));
    }' unless defined(&APR_ERR);
    eval 'sub APR_EXIT {
        local($x) = @_;
	    eval q(((($x) >> 16) & 0xffff));
    }' unless defined(&APR_EXIT);
    eval 'sub APR_INC {
        local($x) = @_;
	    eval q((($x) & 0xffff));
    }' unless defined(&APR_INC);
    eval 'sub FTP_BUFSZ () {160;}' unless defined(&FTP_BUFSZ);
    eval 'sub RA_ID_END () {0;}' unless defined(&RA_ID_END);
    eval 'sub RA_ID_UDP () {1;}' unless defined(&RA_ID_UDP);
    eval 'sub RA_ID_ROBUST () {7;}' unless defined(&RA_ID_ROBUST);
    eval 'sub RAP_M_UDP () {1;}' unless defined(&RAP_M_UDP);
    eval 'sub RAP_M_ROBUST () {2;}' unless defined(&RAP_M_ROBUST);
    eval 'sub RAP_M_TCP () {4;}' unless defined(&RAP_M_TCP);
    eval 'sub RAP_M_UDP_ROBUST () {( &RAP_M_UDP| &RAP_M_ROBUST);}' unless defined(&RAP_M_UDP_ROBUST);
}
1;
