]> git.notmuchmail.org Git - notmuch/blob - util/gmime-extra.h
lib/cli: replace use of g_mime_message_get_sender
[notmuch] / util / gmime-extra.h
1 #ifndef _GMIME_EXTRA_H
2 #define _GMIME_EXTRA_H
3 #include <gmime/gmime.h>
4
5 GMimeStream *g_mime_stream_stdout_new(void);
6
7 #include <talloc.h>
8
9 /**
10  * return talloc allocated date string
11  */
12
13 char *g_mime_message_get_date_string (void *ctx, GMimeMessage *message);
14
15 /**
16  * glib allocated list of From: addresses
17  */
18
19 InternetAddressList * g_mime_message_get_from (GMimeMessage *message);
20
21 /**
22  * return string for From: address
23  * (owned by gmime)
24  */
25 const char * g_mime_message_get_from_string (GMimeMessage *message);
26
27 InternetAddressList * g_mime_message_get_reply_to_list (GMimeMessage *message);
28
29 /**
30  * return talloc allocated reply-to string
31  */
32 char * g_mime_message_get_reply_to_string (void *ctx, GMimeMessage *message);
33
34
35 #endif