aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-message.h
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-12-13 07:31:40 +0800
committerChris Lahey <clahey@src.gnome.org>2000-12-13 07:31:40 +0800
commit7b80470152d325b1232395a58b3dedcc4c4443c6 (patch)
treef549fbe56ba9c8f2df08e6b25ea7aca4205796ae /camel/camel-mime-message.h
parent9b7a92e8eacbbb84c2f0114508dd9f2163394809 (diff)
downloadgsoc2013-evolution-7b80470152d325b1232395a58b3dedcc4c4443c6.tar
gsoc2013-evolution-7b80470152d325b1232395a58b3dedcc4c4443c6.tar.gz
gsoc2013-evolution-7b80470152d325b1232395a58b3dedcc4c4443c6.tar.bz2
gsoc2013-evolution-7b80470152d325b1232395a58b3dedcc4c4443c6.tar.lz
gsoc2013-evolution-7b80470152d325b1232395a58b3dedcc4c4443c6.tar.xz
gsoc2013-evolution-7b80470152d325b1232395a58b3dedcc4c4443c6.tar.zst
gsoc2013-evolution-7b80470152d325b1232395a58b3dedcc4c4443c6.zip
Added #ifndef NO_WARNINGS around a #warning. Added (void) to the prototype
2000-12-12 Christopher James Lahey <clahey@helixcode.com> * camel-folder-summary.c, camel-folder-summary.h: Added #ifndef NO_WARNINGS around a #warning. Added (void) to the prototype and declaration of camel_message_info_new. * camel-mime-message.h: Added an include for camel-mime-filter-bestenc.h. Added a prototype for camel_mime_message_set_best_encoding. Reformatted prototypes to line up. * camel-mime-parser.c: Added #if d(!)0 around the states string lookup table since it's only used in debugging output. * camel-seekable-substream.c (stream_flush): Added a cast. * providers/imap/camel-imap-auth.c: Added #include <netinet/in.h>. * providers/imap/camel-imap-folder.c (imap_refresh_info): Made uid and flags const to fix warnings here. * providers/imap/camel-imap-store.c (get_folder_info): Made p const to fix warnings here. svn path=/trunk/; revision=6954
Diffstat (limited to 'camel/camel-mime-message.h')
-rw-r--r--camel/camel-mime-message.h52
1 files changed, 31 insertions, 21 deletions
diff --git a/camel/camel-mime-message.h b/camel/camel-mime-message.h
index 4cf7e060d0..b386632a86 100644
--- a/camel/camel-mime-message.h
+++ b/camel/camel-mime-message.h
@@ -35,6 +35,7 @@ extern "C" {
#include <camel/camel-mime-part.h>
#include <camel/camel-mime-utils.h>
#include <camel/camel-internet-address.h>
+#include <camel/camel-mime-filter-bestenc.h>
#define CAMEL_RECIPIENT_TYPE_TO "To"
#define CAMEL_RECIPIENT_TYPE_CC "Cc"
@@ -80,32 +81,41 @@ typedef struct {
/* Standard Camel function */
-CamelType camel_mime_message_get_type (void);
+CamelType camel_mime_message_get_type (void);
/* public methods */
-CamelMimeMessage * camel_mime_message_new (void);
-
-
-void camel_mime_message_set_date (CamelMimeMessage *mime_message, time_t date, int offset);
-
-time_t camel_mime_message_get_date (CamelMimeMessage *mime_message, int *offset);
-time_t camel_mime_message_get_date_received (CamelMimeMessage *mime_message, int *offset);
-
-void camel_mime_message_set_reply_to (CamelMimeMessage *mime_message, const CamelInternetAddress *reply_to);
-const CamelInternetAddress *camel_mime_message_get_reply_to (CamelMimeMessage *mime_message);
-void camel_mime_message_set_subject (CamelMimeMessage *mime_message,
- const char *subject);
-const char * camel_mime_message_get_subject (CamelMimeMessage *mime_message);
-void camel_mime_message_set_from (CamelMimeMessage *mime_message, const CamelInternetAddress *from);
-const CamelInternetAddress *camel_mime_message_get_from (CamelMimeMessage *mime_message);
-
-const CamelInternetAddress *camel_mime_message_get_recipients (CamelMimeMessage *mime_message, const char *type);
-void camel_mime_message_set_recipients (CamelMimeMessage *mime_message, const char *type, const CamelInternetAddress *r);
+CamelMimeMessage *camel_mime_message_new (void);
+void camel_mime_message_set_date (CamelMimeMessage *mime_message,
+ time_t date,
+ int offset);
+time_t camel_mime_message_get_date (CamelMimeMessage *mime_message,
+ int *offset);
+time_t camel_mime_message_get_date_received (CamelMimeMessage *mime_message,
+ int *offset);
+void camel_mime_message_set_reply_to (CamelMimeMessage *mime_message,
+ const CamelInternetAddress *reply_to);
+const CamelInternetAddress *camel_mime_message_get_reply_to (CamelMimeMessage *mime_message);
+
+void camel_mime_message_set_subject (CamelMimeMessage *mime_message,
+ const char *subject);
+const char *camel_mime_message_get_subject (CamelMimeMessage *mime_message);
+void camel_mime_message_set_from (CamelMimeMessage *mime_message,
+ const CamelInternetAddress *from);
+const CamelInternetAddress *camel_mime_message_get_from (CamelMimeMessage *mime_message);
+
+const CamelInternetAddress *camel_mime_message_get_recipients (CamelMimeMessage *mime_message,
+ const char *type);
+void camel_mime_message_set_recipients (CamelMimeMessage *mime_message,
+ const char *type,
+ const CamelInternetAddress *r);
/* utility functions */
-gboolean camel_mime_message_has_8bit_parts (CamelMimeMessage *mime_message);
-void camel_mime_message_encode_8bit_parts (CamelMimeMessage *mime_message);
+gboolean camel_mime_message_has_8bit_parts (CamelMimeMessage *mime_message);
+void camel_mime_message_set_best_encoding (CamelMimeMessage *msg,
+ CamelBestencRequired required,
+ CamelBestencEncoding enctype);
+void camel_mime_message_encode_8bit_parts (CamelMimeMessage *mime_message);
#ifdef __cplusplus
}