diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-09-03 17:56:43 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-09-03 17:56:43 +0100 |
commit | 003073c44cf5e0db3d895d5ac2f15f8e5c45f276 (patch) | |
tree | 0d028d661164fb7d7e588115d2d754188cd90fbd /src/libmime/message.h | |
parent | 1cd1d59ee1f5cdf823a924369686a8bfdd826328 (diff) | |
download | rspamd-003073c44cf5e0db3d895d5ac2f15f8e5c45f276.tar.gz rspamd-003073c44cf5e0db3d895d5ac2f15f8e5c45f276.zip |
Remove old mime headers.
Diffstat (limited to 'src/libmime/message.h')
-rw-r--r-- | src/libmime/message.h | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/src/libmime/message.h b/src/libmime/message.h index 1c4ee981a..35eb3ff1e 100644 --- a/src/libmime/message.h +++ b/src/libmime/message.h @@ -65,25 +65,6 @@ struct raw_header { */ gint process_message (struct rspamd_task *task); -/* - * Set header with specified name and value - */ -void message_set_header (GMimeMessage *message, - const gchar *field, - const gchar *value); - -/* - * Get a list of header's values with specified header's name - * @param pool if not NULL this pool would be used for storing header's values - * @param message g_mime_message object - * @param field header's name - * @param strong if this flag is TRUE header's name is case sensitive, otherwise it is not - * @return A list of header's values or NULL. If list is not NULL it MUST be freed. If pool is NULL elements must be freed as well. - */ -GList * message_get_header (rspamd_mempool_t *pool, - GMimeMessage *message, - const gchar *field, - gboolean strong); /* * Get a list of header's values with specified header's name using raw headers @@ -92,7 +73,7 @@ GList * message_get_header (rspamd_mempool_t *pool, * @param strong if this flag is TRUE header's name is case sensitive, otherwise it is not * @return A list of header's values or NULL. Unlike previous function it is NOT required to free list or values. I should rework one of these functions some time. */ -GList * message_get_raw_header (struct rspamd_task *task, +GList * message_get_header (struct rspamd_task *task, const gchar *field, gboolean strong); |