2017-05-27 18:51:11 +02:00
|
|
|
#ifndef _GMIME_EXTRA_H
|
|
|
|
#define _GMIME_EXTRA_H
|
|
|
|
#include <gmime/gmime.h>
|
|
|
|
|
|
|
|
GMimeStream *g_mime_stream_stdout_new(void);
|
2017-05-04 14:48:44 +02:00
|
|
|
|
|
|
|
#include <talloc.h>
|
|
|
|
|
|
|
|
/**
|
|
|
|
* return talloc allocated date string
|
|
|
|
*/
|
2017-05-06 04:26:57 +02:00
|
|
|
|
2017-05-04 14:48:44 +02:00
|
|
|
char *g_mime_message_get_date_string (void *ctx, GMimeMessage *message);
|
2017-05-04 20:59:37 +02:00
|
|
|
|
|
|
|
/**
|
2017-05-06 04:26:57 +02:00
|
|
|
* glib allocated list of From: addresses
|
2017-05-04 20:59:37 +02:00
|
|
|
*/
|
|
|
|
|
2017-05-06 04:26:57 +02:00
|
|
|
InternetAddressList * g_mime_message_get_from (GMimeMessage *message);
|
2017-05-04 20:59:37 +02:00
|
|
|
|
|
|
|
/**
|
2017-05-06 04:26:57 +02:00
|
|
|
* return string for From: address
|
|
|
|
* (owned by gmime)
|
2017-05-04 20:59:37 +02:00
|
|
|
*/
|
2017-05-06 04:26:57 +02:00
|
|
|
const char * g_mime_message_get_from_string (GMimeMessage *message);
|
|
|
|
|
2017-05-04 20:59:37 +02:00
|
|
|
InternetAddressList * g_mime_message_get_reply_to_list (GMimeMessage *message);
|
2017-05-04 14:48:44 +02:00
|
|
|
|
2017-05-06 04:26:57 +02:00
|
|
|
/**
|
|
|
|
* return talloc allocated reply-to string
|
|
|
|
*/
|
|
|
|
char * g_mime_message_get_reply_to_string (void *ctx, GMimeMessage *message);
|
|
|
|
|
|
|
|
|
2017-05-27 18:51:11 +02:00
|
|
|
#endif
|