notmuch/util/gmime-extra.h
David Bremner d7fea36916 cli: replace use of g_mime_message_get_reply_to
This function changes signature in gmime 3.0, so we provide two new
functions, one for each signature.
2017-07-14 17:58:09 -03:00

26 lines
606 B
C

#ifndef _GMIME_EXTRA_H
#define _GMIME_EXTRA_H
#include <gmime/gmime.h>
GMimeStream *g_mime_stream_stdout_new(void);
#include <talloc.h>
/**
* return talloc allocated date string
*/
char *g_mime_message_get_date_string (void *ctx, GMimeMessage *message);
InternetAddressList * g_mime_message_get_reply_to_list (GMimeMessage *message);
/**
* return talloc allocated reply-to string
*/
char * g_mime_message_get_reply_to_string (void *ctx, GMimeMessage *message);
/**
* Return glib allocated reply-to list
*/
InternetAddressList * g_mime_message_get_reply_to_list (GMimeMessage *message);
#endif