diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-06-03 17:48:49 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-06-03 17:48:49 +0400 |
commit | eeac979c5a56b2491153a7221726f9e1278861bf (patch) | |
tree | 0ac5517e1bcd3bc6a7bfee005dc16ad4a0a3f036 /src/util.h | |
parent | 6f5f7e7fde16088ddfdf993c2efd1736fc83b6e0 (diff) | |
download | rspamd-eeac979c5a56b2491153a7221726f9e1278861bf.tar.gz rspamd-eeac979c5a56b2491153a7221726f9e1278861bf.zip |
* Improve logic of reading list files, add automatic rereading of list files while changing
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h index 2727ef4a5..d771e74d8 100644 --- a/src/util.h +++ b/src/util.h @@ -59,4 +59,8 @@ const char* calculate_check_time (struct timespec *begin, int resolution); void set_counter (const char *name, long int value); +gboolean parse_host_list (memory_pool_t *pool, GHashTable *tbl, const char *filename); +gboolean maybe_parse_host_list (memory_pool_t *pool, GHashTable *tbl, const char *filename, time_t tv); + + #endif |