require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_BLOCKLIST_H)) {
    eval 'sub _BLOCKLIST_H () {1;}' unless defined(&_BLOCKLIST_H);
    require 'sys/socket.ph';
    require 'syslog.ph';
    eval 'sub BLOCKLIST_API_ENUM () {1;}' unless defined(&BLOCKLIST_API_ENUM);
    eval("sub BLOCKLIST_AUTH_OK () { 0; }") unless defined(&BLOCKLIST_AUTH_OK);
    eval("sub BLOCKLIST_AUTH_FAIL () { 1; }") unless defined(&BLOCKLIST_AUTH_FAIL);
    eval("sub BLOCKLIST_ABUSIVE_BEHAVIOR () { 2; }") unless defined(&BLOCKLIST_ABUSIVE_BEHAVIOR);
    eval("sub BLOCKLIST_BAD_USER () { 3; }") unless defined(&BLOCKLIST_BAD_USER);
}
1;
