require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&EVENTDNS_H)) {
    eval 'sub EVENTDNS_H () {1;}' unless defined(&EVENTDNS_H);
    if(defined(&__cplusplus)) {
    }
    eval 'sub DNS_ERR_NONE () {0;}' unless defined(&DNS_ERR_NONE);
    eval 'sub DNS_ERR_FORMAT () {1;}' unless defined(&DNS_ERR_FORMAT);
    eval 'sub DNS_ERR_SERVERFAILED () {2;}' unless defined(&DNS_ERR_SERVERFAILED);
    eval 'sub DNS_ERR_NOTEXIST () {3;}' unless defined(&DNS_ERR_NOTEXIST);
    eval 'sub DNS_ERR_NOTIMPL () {4;}' unless defined(&DNS_ERR_NOTIMPL);
    eval 'sub DNS_ERR_REFUSED () {5;}' unless defined(&DNS_ERR_REFUSED);
    eval 'sub DNS_ERR_TRUNCATED () {65;}' unless defined(&DNS_ERR_TRUNCATED);
    eval 'sub DNS_ERR_UNKNOWN () {66;}' unless defined(&DNS_ERR_UNKNOWN);
    eval 'sub DNS_ERR_TIMEOUT () {67;}' unless defined(&DNS_ERR_TIMEOUT);
    eval 'sub DNS_ERR_SHUTDOWN () {68;}' unless defined(&DNS_ERR_SHUTDOWN);
    eval 'sub DNS_IPv4_A () {1;}' unless defined(&DNS_IPv4_A);
    eval 'sub DNS_PTR () {2;}' unless defined(&DNS_PTR);
    eval 'sub DNS_IPv6_AAAA () {3;}' unless defined(&DNS_IPv6_AAAA);
    eval 'sub DNS_QUERY_NO_SEARCH () {1;}' unless defined(&DNS_QUERY_NO_SEARCH);
    eval 'sub DNS_OPTION_SEARCH () {1;}' unless defined(&DNS_OPTION_SEARCH);
    eval 'sub DNS_OPTION_NAMESERVERS () {2;}' unless defined(&DNS_OPTION_NAMESERVERS);
    eval 'sub DNS_OPTION_MISC () {4;}' unless defined(&DNS_OPTION_MISC);
    eval 'sub DNS_OPTIONS_ALL () {7;}' unless defined(&DNS_OPTIONS_ALL);
    if(defined(&MS_WINDOWS)) {
    }
    eval 'sub DNS_NO_SEARCH () {1;}' unless defined(&DNS_NO_SEARCH);
    eval 'sub EVDNS_ANSWER_SECTION () {0;}' unless defined(&EVDNS_ANSWER_SECTION);
    eval 'sub EVDNS_AUTHORITY_SECTION () {1;}' unless defined(&EVDNS_AUTHORITY_SECTION);
    eval 'sub EVDNS_ADDITIONAL_SECTION () {2;}' unless defined(&EVDNS_ADDITIONAL_SECTION);
    eval 'sub EVDNS_TYPE_A () {1;}' unless defined(&EVDNS_TYPE_A);
    eval 'sub EVDNS_TYPE_NS () {2;}' unless defined(&EVDNS_TYPE_NS);
    eval 'sub EVDNS_TYPE_CNAME () {5;}' unless defined(&EVDNS_TYPE_CNAME);
    eval 'sub EVDNS_TYPE_SOA () {6;}' unless defined(&EVDNS_TYPE_SOA);
    eval 'sub EVDNS_TYPE_PTR () {12;}' unless defined(&EVDNS_TYPE_PTR);
    eval 'sub EVDNS_TYPE_MX () {15;}' unless defined(&EVDNS_TYPE_MX);
    eval 'sub EVDNS_TYPE_TXT () {16;}' unless defined(&EVDNS_TYPE_TXT);
    eval 'sub EVDNS_TYPE_AAAA () {28;}' unless defined(&EVDNS_TYPE_AAAA);
    eval 'sub EVDNS_QTYPE_AXFR () {252;}' unless defined(&EVDNS_QTYPE_AXFR);
    eval 'sub EVDNS_QTYPE_ALL () {255;}' unless defined(&EVDNS_QTYPE_ALL);
    eval 'sub EVDNS_CLASS_INET () {1;}' unless defined(&EVDNS_CLASS_INET);
    if(defined(&__cplusplus)) {
    }
}
1;
