diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2008-12-01 19:15:52 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2008-12-01 19:15:52 +0300 |
commit | 9a1ba2296dd152c8eb7d19a70de51721be836baa (patch) | |
tree | 46ba67bcd6e5833318b3ee5410b487fb9da59bb4 /src/util.h | |
parent | 06661f20cbb9d2f1d0f8a68fb7bc46dcd97c6276 (diff) | |
download | rspamd-9a1ba2296dd152c8eb7d19a70de51721be836baa.tar.gz rspamd-9a1ba2296dd152c8eb7d19a70de51721be836baa.zip |
* Add config routines for stat files
* Add function to resolve stat file name
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 1791f4635..9c05a2a27 100644 --- a/src/util.h +++ b/src/util.h @@ -57,4 +57,8 @@ int reopen_log (struct config_file *cfg); void syslog_log_function (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer arg); void file_log_function (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer arg); +/* Replace %r with rcpt value and %f with from value, new string is allocated in pool */ +char* resolve_stat_filename (memory_pool_t *pool, char *pattern, char *rcpt, char *from); + + #endif |