diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-08-13 11:24:04 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-08-13 11:24:04 +0100 |
commit | f8b94440fdc5cdde583832ab1daabd7ef84f3831 (patch) | |
tree | 979b66e6a7b61e5dddb7d94c6d84c66203309948 /src/libmime/message.h | |
parent | f1e9625920e4e9add168e30c0441a4312b23c890 (diff) | |
download | rspamd-f8b94440fdc5cdde583832ab1daabd7ef84f3831.tar.gz rspamd-f8b94440fdc5cdde583832ab1daabd7ef84f3831.zip |
[Rework] Use opaque structure to store a table of mime headers
Diffstat (limited to 'src/libmime/message.h')
-rw-r--r-- | src/libmime/message.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libmime/message.h b/src/libmime/message.h index a6b6f1022..651e1d457 100644 --- a/src/libmime/message.h +++ b/src/libmime/message.h @@ -62,7 +62,7 @@ struct rspamd_mime_part { struct rspamd_mime_part *parent_part; struct rspamd_mime_header *headers_order; - khash_t(rspamd_mime_headers_htb) *raw_headers; + struct rspamd_mime_headers_table *raw_headers; gchar *raw_headers_str; gsize raw_headers_len; @@ -148,7 +148,7 @@ struct rspamd_message { struct rspamd_received_header *received; /**< list of received headers */ GHashTable *urls; /**< list of parsed urls */ GHashTable *emails; /**< list of parsed emails */ - khash_t(rspamd_mime_headers_htb) *raw_headers; /**< list of raw headers */ + struct rspamd_mime_headers_table *raw_headers; /**< list of raw headers */ struct rspamd_mime_header *headers_order; /**< order of raw headers */ GPtrArray *rcpt_mime; GPtrArray *from_mime; |