diff options
author | bertrand <Bertrand.Guiheneuf@aful.org> | 1999-08-13 22:30:07 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 1999-08-13 22:30:07 +0800 |
commit | 0472611db8f67bb0c4fc09138e1131802d85b9c3 (patch) | |
tree | 172974a6cace4cfdc16867ad52f0701470e93387 /camel/camel-mime-message.h | |
parent | 18aeb0ec732ed54dcf556d62162fe0392807a675 (diff) | |
download | gsoc2013-evolution-0472611db8f67bb0c4fc09138e1131802d85b9c3.tar.gz gsoc2013-evolution-0472611db8f67bb0c4fc09138e1131802d85b9c3.tar.zst gsoc2013-evolution-0472611db8f67bb0c4fc09138e1131802d85b9c3.zip |
those two func go here now.
1999-08-13 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/hash-table-utils.c (g_strcase_equal):
(g_strcase_hash): those two func go here now.
* camel/hash_table_utils.c (hash_table_generic_free):
free a (gpointer, gpointer) hash table pair.
* camel/camel-mime-message.c (camel_mime_message_init): use
case insensitive hash table functions.
(_set_flag):
(camel_mime_message_set_flag):
(_get_flag):
(camel_mime_message_get_flag):
Use const for flag name, they are now
duplicated.
svn path=/trunk/; revision=1110
Diffstat (limited to 'camel/camel-mime-message.h')
-rw-r--r-- | camel/camel-mime-message.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/camel/camel-mime-message.h b/camel/camel-mime-message.h index 17fa510987..f88c78ddbd 100644 --- a/camel/camel-mime-message.h +++ b/camel/camel-mime-message.h @@ -95,8 +95,8 @@ typedef struct { void (*add_recipient) (CamelMimeMessage *mime_message, gchar *recipient_type, gchar *recipient); void (*remove_recipient) (CamelMimeMessage *mime_message, const gchar *recipient_type, const gchar *recipient); const GList * (*get_recipients) (CamelMimeMessage *mime_message, const gchar *recipient_type); - void (*set_flag) (CamelMimeMessage *mime_message, gchar *flag, gboolean value); - gboolean (*get_flag) (CamelMimeMessage *mime_message, gchar *flag); + void (*set_flag) (CamelMimeMessage *mime_message, const gchar *flag, gboolean value); + gboolean (*get_flag) (CamelMimeMessage *mime_message, const gchar *flag); void (*set_message_number)(CamelMimeMessage *mime_message, guint number); guint (*get_message_number)(CamelMimeMessage *mime_message); @@ -126,8 +126,8 @@ void camel_mime_message_add_recipient (CamelMimeMessage *mime_message, gchar *re void camel_mime_message_remove_recipient (CamelMimeMessage *mime_message, const gchar *recipient_type, const gchar *recipient); const GList *camel_mime_message_get_recipients (CamelMimeMessage *mime_message, const gchar *recipient_type); -void camel_mime_message_set_flag (CamelMimeMessage *mime_message, gchar *flag, gboolean value); -gboolean camel_mime_message_get_flag (CamelMimeMessage *mime_message, gchar *flag); +void camel_mime_message_set_flag (CamelMimeMessage *mime_message, const gchar *flag, gboolean value); +gboolean camel_mime_message_get_flag (CamelMimeMessage *mime_message, const gchar *flag); guint camel_mime_message_get_message_number (CamelMimeMessage *mime_message); |