aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/map.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-04-23 10:38:55 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-04-23 10:42:05 +0100
commit12383cf84693cf54874ce8a33f0e1d26d1a6b1a4 (patch)
tree3997feaeb606f969bfe5f2d0655328637e0d73f1 /src/libutil/map.h
parent79f15b27c647f6a7028b6167f9c243ca3f6fa96a (diff)
downloadrspamd-12383cf84693cf54874ce8a33f0e1d26d1a6b1a4.tar.gz
rspamd-12383cf84693cf54874ce8a33f0e1d26d1a6b1a4.zip
[Feature] Implement glob maps in addition to regexp maps
Diffstat (limited to 'src/libutil/map.h')
-rw-r--r--src/libutil/map.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libutil/map.h b/src/libutil/map.h
index b1479a1b1..0523c2a20 100644
--- a/src/libutil/map.h
+++ b/src/libutil/map.h
@@ -129,6 +129,11 @@ gchar * rspamd_regexp_list_read_multiple (
gint len,
struct map_cb_data *data,
gboolean final);
+gchar * rspamd_glob_list_read_single (
+ gchar *chunk,
+ gint len,
+ struct map_cb_data *data,
+ gboolean final);
void rspamd_regexp_list_fin (struct map_cb_data *data);
/**