summaryrefslogtreecommitdiffstats
path: root/src/cfg_xml.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-07-15 18:23:22 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-07-15 18:23:22 +0400
commitecbbd935773673d8df1f2cb8334b447f7b834b5a (patch)
treef97a716b471f52c3f6e05347c1e7866d497868a4 /src/cfg_xml.h
parent99cd57ba7f0e6b9178ccacc6987b0854ed137d83 (diff)
downloadrspamd-ecbbd935773673d8df1f2cb8334b447f7b834b5a.tar.gz
rspamd-ecbbd935773673d8df1f2cb8334b447f7b834b5a.zip
* Add ability to set metric's action from config file
* Fix bug with writing garbadge if message has no urls or no messages * Fix bug with incorrect behaviour of compare_parts_distance function
Diffstat (limited to 'src/cfg_xml.h')
-rw-r--r--src/cfg_xml.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cfg_xml.h b/src/cfg_xml.h
index b61c2f825..c91bb1779 100644
--- a/src/cfg_xml.h
+++ b/src/cfg_xml.h
@@ -92,6 +92,7 @@ gboolean worker_handle_type (struct config_file *cfg, struct rspamd_xml_userdata
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_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_metric_action (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);