diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-04-23 18:47:21 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-04-23 18:47:21 +0400 |
commit | 9a8f854b5bc2279a8d2ee6ff3bac362dac635372 (patch) | |
tree | df994ddce2df1612f5c55bba9e4f0938c6ed647c /src/cfg_xml.h | |
parent | 6ec2d38af719d146d2539db6f401cc1b14fc2c10 (diff) | |
download | rspamd-9a8f854b5bc2279a8d2ee6ff3bac362dac635372.tar.gz rspamd-9a8f854b5bc2279a8d2ee6ff3bac362dac635372.zip |
Add basic list config parser.
Diffstat (limited to 'src/cfg_xml.h')
-rw-r--r-- | src/cfg_xml.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cfg_xml.h b/src/cfg_xml.h index 4e7f1481a..b78a74fd9 100644 --- a/src/cfg_xml.h +++ b/src/cfg_xml.h @@ -95,6 +95,9 @@ void rspamd_xml_error (GMarkupParseContext *context, gboolean xml_handle_string (struct config_file *cfg, struct rspamd_xml_userdata *ctx, GHashTable *attrs, gchar *data, gpointer user_data, gpointer dest_struct, gint offset); gboolean xml_handle_string_list (struct config_file *cfg, struct rspamd_xml_userdata *ctx, GHashTable *attrs, gchar *data, gpointer user_data, gpointer dest_struct, gint offset); +/* Handle glist attributes as strings */ +gboolean xml_handle_list (struct config_file *cfg, struct rspamd_xml_userdata *ctx, GHashTable *attrs, gchar *data, gpointer user_data, gpointer dest_struct, gint offset); + /* Numeric params */ gboolean xml_handle_size (struct config_file *cfg, struct rspamd_xml_userdata *ctx, GHashTable *attrs, gchar *data, gpointer user_data, gpointer dest_struct, gint offset); gboolean xml_handle_size_64 (struct config_file *cfg, struct rspamd_xml_userdata *ctx, GHashTable *attrs, gchar *data, gpointer user_data, gpointer dest_struct, gint offset); |