#include <ze-sys.h>
#include "ze-filter.h"
Go to the source code of this file.
|
bool | db_open_blacklist () |
|
bool | db_close_blacklist () |
|
bool | db_check_blacklist (char *ip) |
|
bool | db_update_blacklist (char *ip, int what) |
|
bool | db_blackliste_check (char *why, char *key, db_map_T *r) |
|
bool | db_map_open (char *bl) |
|
bool | db_map_close (char *bl) |
|
bool | db_map_close_all () |
|
bool | db_map_check (char *bl, char *why, char *key, char *buf, size_t sz) |
|
bool | db_map_add (char *bl, char *why, char *key, char *buf) |
|
◆ DATA_LOCK
Value:if (pthread_mutex_lock(&blpool.
mutex) != 0) { \
ZE_LogSysError("pthread_mutex_lock"); \
}
Definition at line 276 of file ze-dbbl.c.
◆ DATA_UNLOCK
Value:if (pthread_mutex_unlock(&blpool.
mutex) != 0) { \
ZE_LogSysError("pthread_mutex_unlock"); \
}
Definition at line 281 of file ze-dbbl.c.
◆ DIM_BL
◆ DREF
◆ JDEBUG
◆ SZPOOL
◆ blpool_T
◆ db_blackliste_check()
bool db_blackliste_check |
( |
char * |
why, |
|
|
char * |
key, |
|
|
db_map_T * |
r |
|
) |
| |
◆ db_check_blacklist()
bool db_check_blacklist |
( |
char * |
ip | ) |
|
◆ db_close_blacklist()
bool db_close_blacklist |
( |
| ) |
|
◆ db_map_add()
bool db_map_add |
( |
char * |
bl, |
|
|
char * |
why, |
|
|
char * |
key, |
|
|
char * |
buf |
|
) |
| |
◆ db_map_check()
bool db_map_check |
( |
char * |
bl, |
|
|
char * |
why, |
|
|
char * |
key, |
|
|
char * |
buf, |
|
|
size_t |
sz |
|
) |
| |
◆ db_map_close()
bool db_map_close |
( |
char * |
bl | ) |
|
◆ db_map_close_all()
bool db_map_close_all |
( |
void |
| ) |
|
◆ db_map_open()
bool db_map_open |
( |
char * |
bl | ) |
|
◆ db_open_blacklist()
bool db_open_blacklist |
( |
| ) |
|
◆ db_update_blacklist()
bool db_update_blacklist |
( |
char * |
ip, |
|
|
int |
what |
|
) |
| |