summaryrefslogtreecommitdiffstats
path: root/src/libutil/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/util.h')
-rw-r--r--src/libutil/util.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/libutil/util.h b/src/libutil/util.h
index f747bce5b..ccc642adb 100644
--- a/src/libutil/util.h
+++ b/src/libutil/util.h
@@ -448,13 +448,21 @@ void rspamd_localtime (gint64 ts, struct tm *dest);
/**
* Compresses the input string using gzip+zlib. Old string is replaced and freed
- * if compressed. If not compressed it is untouched.
+ * if compressed.
* @param in
* @return TRUE if a string has been compressed
*/
gboolean rspamd_fstring_gzip (rspamd_fstring_t **in);
/**
+ * Compresses the input string using gzip+zlib. Old string is replaced and freed
+ * if compressed. If not compressed it is untouched.
+ * @param in
+ * @return TRUE if a string has been compressed
+ */
+gboolean rspamd_fstring_gunzip (rspamd_fstring_t **in);
+
+/**
* Perform globbing searching for the specified path. Allow recursion,
* returns an error if maximum nesting is reached.
* @param pattern