From fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 27 May 2009 11:13:25 -0400 Subject: Prefer GLib basic types over C types. --- mail/mail-tools.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'mail/mail-tools.h') diff --git a/mail/mail-tools.h b/mail/mail-tools.h index 1590636e5c..11e7c87dcd 100644 --- a/mail/mail-tools.h +++ b/mail/mail-tools.h @@ -32,14 +32,14 @@ struct _CamelMimePart; struct _camel_header_raw; /* Get the "inbox" for a url (uses global session) */ -struct _CamelFolder *mail_tool_get_inbox (const char *url, struct _CamelException *ex); +struct _CamelFolder *mail_tool_get_inbox (const gchar *url, struct _CamelException *ex); /* Get the "trash" for a url (uses global session) */ -struct _CamelFolder *mail_tool_get_trash (const char *url, int connect, struct _CamelException *ex); +struct _CamelFolder *mail_tool_get_trash (const gchar *url, gint connect, struct _CamelException *ex); /* Does a camel_movemail into the local movemail folder * and returns the path to the new movemail folder that was created. which shoudl be freed later */ -char *mail_tool_do_movemail (const char *source_url, struct _CamelException *ex); +gchar *mail_tool_do_movemail (const gchar *source_url, struct _CamelException *ex); struct _camel_header_raw *mail_tool_remove_xevolution_headers (struct _CamelMimeMessage *message); void mail_tool_restore_xevolution_headers (struct _CamelMimeMessage *message, struct _camel_header_raw *); @@ -51,12 +51,12 @@ gchar *mail_tool_generate_forward_subject (struct _CamelMimeMessage *msg); struct _CamelMimePart *mail_tool_make_message_attachment (struct _CamelMimeMessage *message); /* Parse the ui into a real struct _CamelFolder any way we know how. */ -struct _CamelFolder *mail_tool_uri_to_folder (const char *uri, guint32 flags, struct _CamelException *ex); +struct _CamelFolder *mail_tool_uri_to_folder (const gchar *uri, guint32 flags, struct _CamelException *ex); GHashTable *mail_lookup_url_table (struct _CamelMimeMessage *mime_message); -struct _CamelFolder *mail_tools_x_evolution_message_parse (char *in, unsigned int inlen, GPtrArray **uids); +struct _CamelFolder *mail_tools_x_evolution_message_parse (gchar *in, guint inlen, GPtrArray **uids); -char *mail_tools_folder_to_url (struct _CamelFolder *folder); +gchar *mail_tools_folder_to_url (struct _CamelFolder *folder); #endif -- cgit v1.2.3