Skip to content
Permalink
Browse files
Expose cf_blacklist as a config variable.
  • Loading branch information
i0rek committed Aug 27, 2013
1 parent fdf7f8b commit af2f47035eff6ded27fad61b6db0f0c5eeeb7ca5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
@@ -1,3 +1,3 @@
[submodule "lib"]
path = lib
url = git://github.com/markokr/libusual.git
url = git://github.com/i0rek/libusual.git
@@ -27,6 +27,7 @@
#include <usual/statlist.h>
#include <usual/string.h>
#include <usual/logging.h>
#include <usual/blacklisting.h>
#include <usual/aatree.h>
#include <usual/hashing/lookup3.h>
#include <usual/slab.h>
@@ -408,6 +409,8 @@ extern int cf_log_connections;
extern int cf_log_disconnections;
extern int cf_log_pooler_errors;

extern int cf_blacklist;

extern usec_t g_suspend_start;

extern struct DNSContext *adns;
@@ -182,6 +182,7 @@ CF_ABS("min_pool_size", CF_INT, cf_min_pool_size, 0, "0"),
CF_ABS("reserve_pool_size", CF_INT, cf_res_pool_size, 0, "0"),
CF_ABS("reserve_pool_timeout", CF_TIME_USEC, cf_res_pool_timeout, 0, "5"),
CF_ABS("syslog", CF_INT, cf_syslog, 0, "0"),
CF_ABS("blacklist", CF_INT, cf_blacklist, 0, "0"),
CF_ABS("syslog_facility", CF_STR, cf_syslog_facility, 0, "daemon"),
CF_ABS("syslog_ident", CF_STR, cf_syslog_ident, 0, "pgbouncer"),
#ifndef WIN32

0 comments on commit af2f470

Please sign in to comment.