aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_rcl.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-09-01 17:34:12 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-09-01 17:34:12 +0100
commit04dee5ab21432d54df1c3e9d8d878e6c5dd99143 (patch)
tree9749b102ab39a77adcbbe651536f16d4cc43fae1 /src/libserver/cfg_rcl.h
parent5f0f8b6fd6eba17c11c6bf8e16b33323d31ae8c1 (diff)
downloadrspamd-04dee5ab21432d54df1c3e9d8d878e6c5dd99143.tar.gz
rspamd-04dee5ab21432d54df1c3e9d8d878e6c5dd99143.zip
Allow to add lists of strings to hash table.
Diffstat (limited to 'src/libserver/cfg_rcl.h')
-rw-r--r--src/libserver/cfg_rcl.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/libserver/cfg_rcl.h b/src/libserver/cfg_rcl.h
index ca9ffe83f..b18867cd1 100644
--- a/src/libserver/cfg_rcl.h
+++ b/src/libserver/cfg_rcl.h
@@ -54,7 +54,8 @@ struct rspamd_rcl_struct_parser {
RSPAMD_CL_FLAG_UINT = 0x1 << 8,
RSPAMD_CL_FLAG_INT_SIZE = 0x1 << 9,
RSPAMD_CL_FLAG_STRING_PATH = 0x1 << 10,
- RSPAMD_CL_FLAG_BOOLEAN_INVERSE = 0x1 << 11
+ RSPAMD_CL_FLAG_BOOLEAN_INVERSE = 0x1 << 11,
+ RSPAMD_CL_FLAG_STRING_LIST_HASH = 0x1 << 12
} flags;
};
@@ -96,11 +97,11 @@ typedef void (*rspamd_rcl_section_fin_t)(rspamd_mempool_t *pool, gpointer ud);
* @return newly created structure
*/
struct rspamd_rcl_default_handler_data * rspamd_rcl_add_default_handler (
- struct rspamd_rcl_section *section,
- const gchar *name,
- rspamd_rcl_default_handler_t handler,
- gsize offset,
- gint flags);
+ struct rspamd_rcl_section *section,
+ const gchar *name,
+ rspamd_rcl_default_handler_t handler,
+ goffset offset,
+ gint flags);
/**
* Add new section to the configuration