aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/multipattern.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-13 14:50:38 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-13 14:50:38 +0100
commit2c866f828334a0291b5d90763a09952adcb56c13 (patch)
tree7cf9a91afa5d06f31776e06e865417fcbb6fa939 /src/libutil/multipattern.h
parent79e437a712efba0d901c9b9d7c8c82e4d1283260 (diff)
downloadrspamd-2c866f828334a0291b5d90763a09952adcb56c13.tar.gz
rspamd-2c866f828334a0291b5d90763a09952adcb56c13.zip
[Feature] Match the beginning of pattern as well
Diffstat (limited to 'src/libutil/multipattern.h')
-rw-r--r--src/libutil/multipattern.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libutil/multipattern.h b/src/libutil/multipattern.h
index c27977159..345bfe33f 100644
--- a/src/libutil/multipattern.h
+++ b/src/libutil/multipattern.h
@@ -50,7 +50,8 @@ struct rspamd_multipattern;
*/
typedef gint (*rspamd_multipattern_cb_t) (struct rspamd_multipattern *mp,
guint strnum,
- gint textpos,
+ gint match_start,
+ gint match_pos,
const gchar *text,
gsize len,
void *context);