diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-07-08 15:22:05 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-07-08 15:22:05 +0100 |
commit | c271eb36656a4ff88a9c8c1d59934949260275a3 (patch) | |
tree | 3dd586e38b5b37cfebc7c12b6ff6f434904167c7 /src/libmime/images.h | |
parent | b266445f47dec06392a7e058f499325fa3c052b9 (diff) | |
download | rspamd-c271eb36656a4ff88a9c8c1d59934949260275a3.tar.gz rspamd-c271eb36656a4ff88a9c8c1d59934949260275a3.zip |
[Rework] Add C++ guards to all headers
Diffstat (limited to 'src/libmime/images.h')
-rw-r--r-- | src/libmime/images.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/libmime/images.h b/src/libmime/images.h index 39a7dc8c5..bf1175b2a 100644 --- a/src/libmime/images.h +++ b/src/libmime/images.h @@ -4,6 +4,10 @@ #include "config.h" #include "fstring.h" +#ifdef __cplusplus +extern "C" { +#endif + struct html_image; struct rspamd_task; struct rspamd_mime_part; @@ -41,14 +45,18 @@ void rspamd_images_process (struct rspamd_task *task); * @param data * @return */ -struct rspamd_image* rspamd_maybe_process_image (rspamd_mempool_t *pool, - rspamd_ftok_t *data); +struct rspamd_image *rspamd_maybe_process_image (rspamd_mempool_t *pool, + rspamd_ftok_t *data); /* * Get textual representation of an image's type */ -const gchar * rspamd_image_type_str (enum rspamd_image_type type); +const gchar *rspamd_image_type_str (enum rspamd_image_type type); void rspamd_image_normalize (struct rspamd_task *task, struct rspamd_image *img); +#ifdef __cplusplus +} +#endif + #endif /* IMAGES_H_ */ |