aboutsummaryrefslogtreecommitdiffstats
path: root/src/cfg_rcl.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-08-30 13:59:21 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-08-30 13:59:21 +0100
commit8f90db61cf5b50dcbc8c46f1b20e0a87fea4fb96 (patch)
tree41e8689bcc29deeb349bc300bcff725c835b26f0 /src/cfg_rcl.h
parent82776e7dc0eed455fc7fdf144e96286abb3ef3bd (diff)
downloadrspamd-8f90db61cf5b50dcbc8c46f1b20e0a87fea4fb96.tar.gz
rspamd-8f90db61cf5b50dcbc8c46f1b20e0a87fea4fb96.zip
Add string list fields parser.
Diffstat (limited to 'src/cfg_rcl.h')
-rw-r--r--src/cfg_rcl.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/cfg_rcl.h b/src/cfg_rcl.h
index 8c77009a2..283e84d82 100644
--- a/src/cfg_rcl.h
+++ b/src/cfg_rcl.h
@@ -149,4 +149,16 @@ gboolean rspamd_rcl_parse_struct_double (struct config_file *cfg, rspamd_cl_obje
gboolean rspamd_rcl_parse_struct_time (struct config_file *cfg, rspamd_cl_object_t *obj,
gpointer ud, struct rspamd_rcl_section *section, GError **err);
+/**
+ * Parse a string list field of a structure presented by a GList* object
+ * @param cfg config pointer
+ * @param obj object to parse
+ * @param ud struct_parser structure (flags mean the exact structure used)
+ * @param section the current section
+ * @param err error pointer
+ * @return TRUE if a value has been successfully parsed
+ */
+gboolean rspamd_rcl_parse_struct_string_list (struct config_file *cfg, rspamd_cl_object_t *obj,
+ gpointer ud, struct rspamd_rcl_section *section, GError **err);
+
#endif /* CFG_RCL_H_ */