summaryrefslogtreecommitdiffstats
path: root/src/libserver/rspamd_symcache.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-08-12 20:44:35 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-08-12 20:44:35 +0100
commit349f4291d308ab1db7b9bcb7f8cc8c60dcad57f5 (patch)
tree2d5a5d59a1b6908d4307404c25128d30c71ade62 /src/libserver/rspamd_symcache.h
parent33f69f85ea3c7f27ac3a98a5eaf8ed0d232110fd (diff)
downloadrspamd-349f4291d308ab1db7b9bcb7f8cc8c60dcad57f5.tar.gz
rspamd-349f4291d308ab1db7b9bcb7f8cc8c60dcad57f5.zip
[Project] Support augmentations with values
Diffstat (limited to 'src/libserver/rspamd_symcache.h')
-rw-r--r--src/libserver/rspamd_symcache.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libserver/rspamd_symcache.h b/src/libserver/rspamd_symcache.h
index a72581432..ee3f4862a 100644
--- a/src/libserver/rspamd_symcache.h
+++ b/src/libserver/rspamd_symcache.h
@@ -134,7 +134,9 @@ gint rspamd_symcache_add_symbol (struct rspamd_symcache *cache,
* @return
*/
bool rspamd_symcache_add_symbol_augmentation(struct rspamd_symcache *cache,
- int sym_id, const char *augmentation);
+ int sym_id,
+ const char *augmentation,
+ const char *value);
/**
* Add callback to be executed whenever symbol has peak value