require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&EVENT2_BUFFER_H_INCLUDED_)) {
    eval 'sub EVENT2_BUFFER_H_INCLUDED_ () {1;}' unless defined(&EVENT2_BUFFER_H_INCLUDED_);
    require 'event2/visibility.ph';
    if(defined(&__cplusplus)) {
    }
    require 'event2/event-config.ph';
    require 'stdarg.ph';
    if(defined(&EVENT__HAVE_SYS_TYPES_H)) {
	require 'sys/types.ph';
    }
    if(defined(&EVENT__HAVE_SYS_UIO_H)) {
	require 'sys/uio.ph';
    }
    require 'event2/util.ph';
    if(defined(&EVENT_IN_DOXYGEN_)) {
    }
    if(defined(&EVENT__HAVE_SYS_UIO_H)) {
	eval 'sub evbuffer_iovec () { &iovec;}' unless defined(&evbuffer_iovec);
	eval 'sub EVBUFFER_IOVEC_IS_NATIVE_ () {1;}' unless defined(&EVBUFFER_IOVEC_IS_NATIVE_);
    } else {
    }
    eval 'sub EVBUFFER_FLAG_DRAINS_TO_FD () {1;}' unless defined(&EVBUFFER_FLAG_DRAINS_TO_FD);
    eval("sub EVBUFFER_EOL_ANY () { 0; }") unless defined(&EVBUFFER_EOL_ANY);
    eval("sub EVBUFFER_EOL_CRLF () { 1; }") unless defined(&EVBUFFER_EOL_CRLF);
    eval("sub EVBUFFER_EOL_CRLF_STRICT () { 2; }") unless defined(&EVBUFFER_EOL_CRLF_STRICT);
    eval("sub EVBUFFER_EOL_LF () { 3; }") unless defined(&EVBUFFER_EOL_LF);
    eval("sub EVBUFFER_EOL_NUL () { 4; }") unless defined(&EVBUFFER_EOL_NUL);
    eval 'sub EVBUF_FS_CLOSE_ON_FREE () {0x1;}' unless defined(&EVBUF_FS_CLOSE_ON_FREE);
    eval 'sub EVBUF_FS_DISABLE_MMAP () {0x2;}' unless defined(&EVBUF_FS_DISABLE_MMAP);
    eval 'sub EVBUF_FS_DISABLE_SENDFILE () {0x4;}' unless defined(&EVBUF_FS_DISABLE_SENDFILE);
    eval 'sub EVBUF_FS_DISABLE_LOCKING () {0x8;}' unless defined(&EVBUF_FS_DISABLE_LOCKING);
    if(defined(&__GNUC__)) {
    }
    if(defined(&__GNUC__)) {
    }
    eval("sub EVBUFFER_PTR_SET () { 0; }") unless defined(&EVBUFFER_PTR_SET);
    eval("sub EVBUFFER_PTR_ADD () { 1; }") unless defined(&EVBUFFER_PTR_ADD);
    eval 'sub EVBUFFER_CB_ENABLED () {1;}' unless defined(&EVBUFFER_CB_ENABLED);
    if(0) {
    }
    if(defined(&__cplusplus)) {
    }
}
1;
