ze-filter  (ze-filter-0.8.0-develop-180218)
ze-dbpolicy.h File Reference

Go to the source code of this file.

Macros

#define DB_POLICY_EXACT   0
 
#define DB_POLICY_DOMAIN   1
 
#define DB_POLICY_TLD   2
 
#define DB_POLICY_NETCLASS   4
 
#define DB_POLICY_RCPT   16
 
#define __ZE_DBPOLICY_H
 

Functions

bool db_policy_open (bool)
 
bool db_policy_reopen ()
 
bool db_policy_close ()
 
bool db_policy_check (char *prefix, char *key, char *bufout, size_t szbuf)
 
bool db_policy_lookup (char *prefix, char *key, char *bufout, size_t szbuf)
 
bool db_policy_check_spec (char *prefix, char *key, char *bufout, size_t szbuf, int32_t flags)
 

Macro Definition Documentation

◆ __ZE_DBPOLICY_H

#define __ZE_DBPOLICY_H

Definition at line 53 of file ze-dbpolicy.h.