From a639bf512e3df778fa33c49d83c3996c9fe60d77 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 16 Jun 2010 20:43:26 +0400 Subject: * Change metric logic * Completely remove lex/yacc readers for config * Make common sense of metric/action and symbols * Sync changes with all plugins TODO: add this to documentation --- src/cfg_xml.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/cfg_xml.h') diff --git a/src/cfg_xml.h b/src/cfg_xml.h index a4dc91b49..50fa7ac3f 100644 --- a/src/cfg_xml.h +++ b/src/cfg_xml.h @@ -19,7 +19,6 @@ enum xml_read_state { XML_READ_MODULES, XML_READ_CLASSIFIER, XML_READ_STATFILE, - XML_READ_FACTORS, XML_READ_METRIC, XML_READ_WORKER, XML_READ_VIEW, @@ -92,7 +91,7 @@ gboolean worker_handle_param (struct config_file *cfg, struct rspamd_xml_userdat gboolean worker_handle_type (struct config_file *cfg, struct rspamd_xml_userdata *ctx, GHashTable *attrs, gchar *data, gpointer user_data, gpointer dest_struct, int offset); gboolean worker_handle_bind (struct config_file *cfg, struct rspamd_xml_userdata *ctx, GHashTable *attrs, gchar *data, gpointer user_data, gpointer dest_struct, int offset); -gboolean handle_factor (struct config_file *cfg, struct rspamd_xml_userdata *ctx, GHashTable *attrs, gchar *data, gpointer user_data, gpointer dest_struct, int offset); +gboolean handle_metric_symbol (struct config_file *cfg, struct rspamd_xml_userdata *ctx, GHashTable *attrs, gchar *data, gpointer user_data, gpointer dest_struct, int offset); gboolean handle_module_opt (struct config_file *cfg, struct rspamd_xml_userdata *ctx, GHashTable *attrs, gchar *data, gpointer user_data, gpointer dest_struct, int offset); -- cgit v1.2.3