diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-09-09 12:39:38 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-09-09 13:51:26 +0100 |
commit | 9a1b912929527accc88b9bdb48c63a5855f64c36 (patch) | |
tree | f7e3002a1bab1bb54ac3cd0f1db715fe585b1f8a /src/libutil/util.h | |
parent | 448c39791528275606f5c5350f6298de06a18462 (diff) | |
download | rspamd-9a1b912929527accc88b9bdb48c63a5855f64c36.tar.gz rspamd-9a1b912929527accc88b9bdb48c63a5855f64c36.zip |
[Feature] Preserve decompression context between tasks
Diffstat (limited to 'src/libutil/util.h')
-rw-r--r-- | src/libutil/util.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libutil/util.h b/src/libutil/util.h index 76a02d198..564d00b12 100644 --- a/src/libutil/util.h +++ b/src/libutil/util.h @@ -394,6 +394,17 @@ void rspamd_config_libs (struct rspamd_external_libs_ctx *ctx, struct rspamd_config *cfg); /** + * Reset and initialize decompressor + * @param ctx + */ +gboolean rspamd_libs_reset_decompression (struct rspamd_external_libs_ctx *ctx); +/** + * Reset and initialize compressor + * @param ctx + */ +gboolean rspamd_libs_reset_compression (struct rspamd_external_libs_ctx *ctx); + +/** * Destroy external libraries context */ void rspamd_deinit_libs (struct rspamd_external_libs_ctx *ctx); |