require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&EVENT2_LISTENER_H_INCLUDED_)) {
    eval 'sub EVENT2_LISTENER_H_INCLUDED_ () {1;}' unless defined(&EVENT2_LISTENER_H_INCLUDED_);
    require 'event2/visibility.ph';
    if(defined(&__cplusplus)) {
    }
    require 'event2/event.ph';
    eval 'sub LEV_OPT_LEAVE_SOCKETS_BLOCKING () {(1<<0);}' unless defined(&LEV_OPT_LEAVE_SOCKETS_BLOCKING);
    eval 'sub LEV_OPT_CLOSE_ON_FREE () {(1<<1);}' unless defined(&LEV_OPT_CLOSE_ON_FREE);
    eval 'sub LEV_OPT_CLOSE_ON_EXEC () {(1<<2);}' unless defined(&LEV_OPT_CLOSE_ON_EXEC);
    eval 'sub LEV_OPT_REUSEABLE () {(1<<3);}' unless defined(&LEV_OPT_REUSEABLE);
    eval 'sub LEV_OPT_THREADSAFE () {(1<<4);}' unless defined(&LEV_OPT_THREADSAFE);
    eval 'sub LEV_OPT_DISABLED () {(1<<5);}' unless defined(&LEV_OPT_DISABLED);
    eval 'sub LEV_OPT_DEFERRED_ACCEPT () {(1<<6);}' unless defined(&LEV_OPT_DEFERRED_ACCEPT);
    eval 'sub LEV_OPT_REUSEABLE_PORT () {(1<<7);}' unless defined(&LEV_OPT_REUSEABLE_PORT);
    eval 'sub LEV_OPT_BIND_IPV6ONLY () {(1<<8);}' unless defined(&LEV_OPT_BIND_IPV6ONLY);
    if(defined(&__cplusplus)) {
    }
}
1;
