3 #include <gmime/gmime.h>
10 GMimeStream *g_mime_stream_stdout_new (void);
12 /* Return a GMime stream for this open file descriptor, un-gzipping if
14 GMimeStream *g_mime_stream_gzfile_new (int fd);
16 /* Return a GMime stream for this path, un-gzipping if
18 GMimeStream *g_mime_stream_gzfile_open (const char *filename);
21 * Get last 16 hex digits of fingerprint ("keyid")
23 const char *g_mime_certificate_get_fpr16 (GMimeCertificate *cert);
25 * Return the contents of the appropriate address header as a string
26 * Should be freed using g_free
28 char *g_mime_message_get_address_string (GMimeMessage *message, GMimeAddressType type);
30 InternetAddressList *g_mime_message_get_addresses (GMimeMessage *message, GMimeAddressType type);
33 * return talloc allocated date string
36 char *g_mime_message_get_date_string (void *ctx, GMimeMessage *message);
39 * glib allocated list of From: addresses
42 InternetAddressList *g_mime_message_get_from (GMimeMessage *message);
46 * return string for From: address
49 const char *g_mime_message_get_from_string (GMimeMessage *message);
51 InternetAddressList *g_mime_message_get_reply_to_list (GMimeMessage *message);
54 * return talloc allocated reply-to string
56 char *g_mime_message_get_reply_to_string (void *ctx, GMimeMessage *message);
58 void g_mime_parser_set_scan_from (GMimeParser *parser, gboolean flag);
60 gboolean g_mime_signature_status_good (GMimeSignatureStatus status);
62 gboolean g_mime_signature_status_bad (GMimeSignatureStatus status);
64 gboolean g_mime_signature_status_error (GMimeSignatureStatus status);
66 gint64 g_mime_utils_header_decode_date_unix (const char *date);
69 * Return string for valid User ID (or NULL if no valid User ID exists)
71 const char *g_mime_certificate_get_valid_userid (GMimeCertificate *cert);
73 * Return string for valid e-mail address (or NULL if no valid e-mail address exists)
75 const char *g_mime_certificate_get_valid_email (GMimeCertificate *cert);