summaryrefslogtreecommitdiffstats
path: root/src/images.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-08-25 20:15:29 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-08-25 20:15:29 +0400
commit59822ebf58a3bf9f0a3bb97150206013be3b43d7 (patch)
treed08236df32ec8742c3ca2b6097de0977aa893ace /src/images.h
parent671bbfa9cc85a625df33d6384a3179ce076765b9 (diff)
downloadrspamd-59822ebf58a3bf9f0a3bb97150206013be3b43d7.tar.gz
rspamd-59822ebf58a3bf9f0a3bb97150206013be3b43d7.zip
* Add ability to extract filename and size of images from lua
Diffstat (limited to 'src/images.h')
-rw-r--r--src/images.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/images.h b/src/images.h
index 2a79e4edd..f7616a680 100644
--- a/src/images.h
+++ b/src/images.h
@@ -17,6 +17,7 @@ struct rspamd_image {
GByteArray *data;
guint32 width;
guint32 height;
+ const char *filename;
};
void process_images (struct worker_task *task);