aboutsummaryrefslogtreecommitdiffstats
path: root/src/symbols_cache.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-06-01 19:40:59 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-06-01 19:40:59 +0400
commit6be6bdef362e1120dedfe2f45fdb3a74e092f3aa (patch)
tree78e2662b887a813d4c15d74a4229ca971b6c4d96 /src/symbols_cache.h
parent8c89dee54e1be32e8191cc0e8cd6b680bafadae1 (diff)
downloadrspamd-6be6bdef362e1120dedfe2f45fdb3a74e092f3aa.tar.gz
rspamd-6be6bdef362e1120dedfe2f45fdb3a74e092f3aa.zip
* Add experimental support of dynamic rules to regexp module
Diffstat (limited to 'src/symbols_cache.h')
-rw-r--r--src/symbols_cache.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/symbols_cache.h b/src/symbols_cache.h
index af92b4891..dfd5672ad 100644
--- a/src/symbols_cache.h
+++ b/src/symbols_cache.h
@@ -51,7 +51,6 @@ struct symbols_cache {
GList *dynamic_items;
memory_pool_t *static_pool;
- memory_pool_t *dynamic_pool;
guint cur_items;
guint used_items;
@@ -79,8 +78,9 @@ void register_symbol (struct symbols_cache **cache, const char *name, double wei
* @param func pointer to handler
* @param user_data pointer to user_data
*/
-void register_dynamic_symbol (struct symbols_cache **cache, const char *name, double weight, symbol_func_t func,
- gpointer user_data, struct dynamic_map_item *networks, gsize network_count);
+void register_dynamic_symbol (memory_pool_t *pool, struct symbols_cache **cache, const char *name,
+ double weight, symbol_func_t func,
+ gpointer user_data, GList *networks);
/**
* Call function for cached symbol using saved callback