aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/hyperscan_tools.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-10-24 17:53:10 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-10-24 17:53:10 +0100
commitac82ae305135c1f5d760d522d66ce47c5ccd9cf4 (patch)
tree74a4f1985ae4ce20b6fc39f0808618a1b9f28d1e /src/libserver/hyperscan_tools.h
parentb7b1b264b58c2b7bbe0fc1aafc623e9d609d1f63 (diff)
downloadrspamd-ac82ae305135c1f5d760d522d66ce47c5ccd9cf4.tar.gz
rspamd-ac82ae305135c1f5d760d522d66ce47c5ccd9cf4.zip
[Project] Allow offsets in the hyperscan cache
Diffstat (limited to 'src/libserver/hyperscan_tools.h')
-rw-r--r--src/libserver/hyperscan_tools.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/hyperscan_tools.h b/src/libserver/hyperscan_tools.h
index 5d50e07ec..e66e2ec91 100644
--- a/src/libserver/hyperscan_tools.h
+++ b/src/libserver/hyperscan_tools.h
@@ -34,7 +34,7 @@ typedef struct rspamd_hyperscan_s rspamd_hyperscan_t;
* @param filename
* @return cached database if available
*/
-rspamd_hyperscan_t *rspamd_hyperscan_maybe_load(const char *filename);
+rspamd_hyperscan_t *rspamd_hyperscan_maybe_load(const char *filename, goffset offset);
/**
* Creates a wrapper for a raw hs db. Ownership is transferred to the enclosing object returned