aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_mimepart.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-05 10:12:43 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-05 10:12:43 +0100
commitef214b9c5496e897507849bfd3238f3c04481847 (patch)
treee9642352c8a404a78dfaacd8bb1f0a9524e9602d /src/lua/lua_mimepart.c
parentaa74d4e9653910ba5ceb9c68d69902407b13376a (diff)
downloadrspamd-ef214b9c5496e897507849bfd3238f3c04481847.tar.gz
rspamd-ef214b9c5496e897507849bfd3238f3c04481847.zip
[Feature] Store more information about compressed files
Diffstat (limited to 'src/lua/lua_mimepart.c')
-rw-r--r--src/lua/lua_mimepart.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lua/lua_mimepart.c b/src/lua/lua_mimepart.c
index a9f616458..39ab9c8a3 100644
--- a/src/lua/lua_mimepart.c
+++ b/src/lua/lua_mimepart.c
@@ -240,7 +240,9 @@ LUA_FUNCTION_DEF (mimepart, is_archive);
* the following methods:
*
* * `get_files` - return list of strings with filenames inside archive
- * * `get_type` - return string representation of archive's type (e.g. 'zip')
+ * * `get_files_full` - return list of tables with all information about files
+ * * `is_encrypted` - return true if an archive is encrypted
+ * * `get_type` - return string representation of image's type (e.g. 'zip')
* * `get_filename` - return string with archive's file name
* * `get_size` - return size in bytes
* @return {rspamd_archive} archive structure or nil if a part is not an archive