diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-03-19 17:44:57 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-03-19 17:44:57 +0300 |
commit | e1250bcf595973ff46cf7766590a1491eddfe60d (patch) | |
tree | ff5ee21edafb21cb434261c6a0f2d2f153850783 /src/cfg_file.h | |
parent | 5f4f8d47039fbc366c4d7e34e4870d7d374c2061 (diff) | |
download | rspamd-e1250bcf595973ff46cf7766590a1491eddfe60d.tar.gz rspamd-e1250bcf595973ff46cf7766590a1491eddfe60d.zip |
* Add functions support to rspamd regexps
* Parse expressions with state machine which allows different kinds of arguments in expressions
* Fix test to accord current data
* Add support of fucntions to regexp module
* Move all regexp logic to separate file, describe its API
* Fix descriptors leakage in surbl module
Diffstat (limited to 'src/cfg_file.h')
-rw-r--r-- | src/cfg_file.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/cfg_file.h b/src/cfg_file.h index 646f228e0..7a4a7c7a3 100644 --- a/src/cfg_file.h +++ b/src/cfg_file.h @@ -296,21 +296,6 @@ char* substitute_variable (struct config_file *cfg, char *str, u_char recursive) */ void post_load_config (struct config_file *cfg); -/** - * Parse regexp line to regexp structure - * @param pool memory pool to use - * @param line incoming line - * @return regexp structure or NULL in case of error - */ -struct rspamd_regexp* parse_regexp (memory_pool_t *pool, char *line); - -/** - * Parse composites line to composites structure (eg. "SYMBOL1&SYMBOL2|!SYMBOL3") - * @param pool memory pool to use - * @param line incoming line - * @return expression structure or NULL in case of error - */ -struct expression* parse_expression (memory_pool_t *pool, char *line); /** * Replace all \" with a single " in given string |