From 6be6bdef362e1120dedfe2f45fdb3a74e092f3aa Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 1 Jun 2010 19:40:59 +0400 Subject: * Add experimental support of dynamic rules to regexp module --- src/symbols_cache.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/symbols_cache.h') 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 -- cgit v1.2.3