diff options
Diffstat (limited to 'camel/camel-folder.h')
-rw-r--r-- | camel/camel-folder.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/camel/camel-folder.h b/camel/camel-folder.h index 443186803e..0d30351d9d 100644 --- a/camel/camel-folder.h +++ b/camel/camel-folder.h @@ -113,9 +113,8 @@ typedef struct { const GList * (*list_permanent_flags) (CamelFolder *folder); void (*copy_message_to) (CamelFolder *folder, CamelMimeMessage *message, CamelFolder *dest_folder); - gchar * (*get_message_uid) (CamelFolder *folder, CamelMimeMessage *message); - gchar * (*get_message_uid_by_number) (CamelFolder *folder, gint message_number); - CamelMimeMessage * (*get_message_by_uid) (CamelFolder *folder, gchar *uid); + const gchar * (*get_message_uid) (CamelFolder *folder, CamelMimeMessage *message); + CamelMimeMessage * (*get_message_by_uid) (CamelFolder *folder, const gchar *uid); GList * (*get_uid_list) (CamelFolder *folder); } CamelFolderClass; @@ -154,9 +153,8 @@ CamelFolderSummary *camel_folder_get_summary (CamelFolder *folder); gboolean camel_folder_has_uid_capability (CamelFolder *folder); -gchar * camel_folder_get_message_uid (CamelFolder *folder, CamelMimeMessage *message); -gchar * camel_folder_get_message_uid_by_number (CamelFolder *folder, gint message_number); -CamelMimeMessage *camel_folder_get_message_by_uid (CamelFolder *folder, gchar *uid); +const gchar * camel_folder_get_message_uid (CamelFolder *folder, CamelMimeMessage *message); +CamelMimeMessage *camel_folder_get_message_by_uid (CamelFolder *folder, const gchar *uid); GList *camel_folder_get_uid_list (CamelFolder *folder); #ifdef __cplusplus |