aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/archives.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-04 19:13:03 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-04 19:13:03 +0100
commit17f8e21b65a52aa9fcb9ac84829996c36b8809e9 (patch)
tree4663390521b43595d85b451bf3a527d79b28fc2e /src/libmime/archives.h
parentf5aac8de010eaf3221dd152e98a5f1a5208ecb2b (diff)
downloadrspamd-17f8e21b65a52aa9fcb9ac84829996c36b8809e9.tar.gz
rspamd-17f8e21b65a52aa9fcb9ac84829996c36b8809e9.zip
[Feature] Add preliminary rarv5 support
Diffstat (limited to 'src/libmime/archives.h')
-rw-r--r--src/libmime/archives.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libmime/archives.h b/src/libmime/archives.h
index 3e8c8a46c..87caeced1 100644
--- a/src/libmime/archives.h
+++ b/src/libmime/archives.h
@@ -20,13 +20,18 @@
enum rspamd_archive_type {
RSPAMD_ARCHIVE_ZIP,
+ RSPAMD_ARCHIVE_RAR,
};
+enum rspamd_archive_flags {
+ RSPAMD_ARCHIVE_ENCRYPTED = (1 << 0),
+};
struct rspamd_archive {
enum rspamd_archive_type type;
const gchar *archive_name;
gsize size;
+ enum rspamd_archive_flags flags;
GPtrArray *files; /* Array of GStrings */
};