Top | ![]() |
![]() |
![]() |
![]() |
gboolean e_mail_folder_append_message_sync (,
CamelFolder *folder,
CamelMimeMessage *message,
CamelMessageInfo *info,
gchar **appended_uid,
GCancellable *cancellable);
GError **error
void e_mail_folder_append_message (,
CamelFolder *folder,
CamelMimeMessage *message,
CamelMessageInfo *info,
gint io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback);
gpointer user_data
gboolean e_mail_folder_append_message_finish (,
CamelFolder *folder,
GAsyncResult *result,
gchar **appended_uid);
GError **error
gboolean e_mail_folder_expunge_sync (,
CamelFolder *folder,
GCancellable *cancellable);
GError **error
void e_mail_folder_expunge (,
CamelFolder *folder,
gint io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback);
gpointer user_data
gboolean e_mail_folder_expunge_finish (,
CamelFolder *folder,
GAsyncResult *result);
GError **error
CamelMimePart * e_mail_folder_build_attachment_sync (,
CamelFolder *folder,
GPtrArray *message_uids,
gchar **fwd_subject,
GCancellable *cancellable);
GError **error
void e_mail_folder_build_attachment (,
CamelFolder *folder,
GPtrArray *message_uids,
gint io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback);
gpointer user_data
CamelMimePart * e_mail_folder_build_attachment_finish (,
CamelFolder *folder,
GAsyncResult *result,
gchar **fwd_subject);
GError **error
GHashTable * e_mail_folder_find_duplicate_messages_sync (,
CamelFolder *folder,
GPtrArray *message_uids,
GCancellable *cancellable);
GError **error
void e_mail_folder_find_duplicate_messages (,
CamelFolder *folder,
GPtrArray *message_uids,
gint io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback);
gpointer user_data
GHashTable * e_mail_folder_find_duplicate_messages_finish (,
CamelFolder *folder,
GAsyncResult *result);
GError **error
GHashTable * e_mail_folder_get_multiple_messages_sync (,
CamelFolder *folder,
GPtrArray *message_uids,
GCancellable *cancellable);
GError **error
void e_mail_folder_get_multiple_messages (,
CamelFolder *folder,
GPtrArray *message_uids,
gint io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback);
gpointer user_data
GHashTable * e_mail_folder_get_multiple_messages_finish (,
CamelFolder *folder,
GAsyncResult *result);
GError **error
gboolean e_mail_folder_remove_sync (,
CamelFolder *folder,
GCancellable *cancellable);
GError **error
void e_mail_folder_remove (,
CamelFolder *folder,
gint io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback);
gpointer user_data
gboolean e_mail_folder_remove_finish (,
CamelFolder *folder,
GAsyncResult *result);
GError **error
gboolean e_mail_folder_remove_attachments_sync (,
CamelFolder *folder,
GPtrArray *message_uids,
GCancellable *cancellable);
GError **error
void e_mail_folder_remove_attachments (,
CamelFolder *folder,
GPtrArray *message_uids,
gint io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback);
gpointer user_data
gboolean e_mail_folder_remove_attachments_finish (,
CamelFolder *folder,
GAsyncResult *result);
GError **error
gboolean e_mail_folder_save_messages_sync (,
CamelFolder *folder,
GPtrArray *message_uids,
GFile *destination,
GCancellable *cancellable);
GError **error
void e_mail_folder_save_messages (,
CamelFolder *folder,
GPtrArray *message_uids,
GFile *destination,
gint io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback);
gpointer user_data
gboolean e_mail_folder_save_messages_finish (,
CamelFolder *folder,
GAsyncResult *result);
GError **error
gchar * e_mail_folder_uri_build (,
CamelStore *storeconst
);gchar *folder_name
Builds a folder URI string from store
and folder_name
.
gboolean e_mail_folder_uri_parse (,
CamelSession *sessionconst
,gchar *folder_uri,
CamelStore **out_store,
gchar **out_folder_name);
GError **error
Parses a folder URI generated by e_mail_folder_uri_build()
and
returns the corresponding out_store
and
folder name string in out_folder_name
. If the URI is malformed
or no corresponding store exists, the function sets error
and
returns FALSE
If the function is able to parse the URI, the out_store
should be unreferenced with g_object_unref()
out_folder_name
should be freed with g_free()
The function also handles older style URIs, such as ones where the
gboolean e_mail_folder_uri_equal (,
CamelSession *sessionconst
,gchar *folder_uri_aconst
);gchar *folder_uri_b
Compares two folder URIs for equality. If either URI is invalid,
the function returns FALSE
gchar * e_mail_folder_uri_from_folder ();
CamelFolder *folder
Convenience function for building a folder URI from a g_free()
gchar * e_mail_folder_uri_to_markup (,
CamelSession *sessionconst
,gchar *folder_uri);
GError **error
Converts folder_uri
to a markup string suitable for displaying to users.
The string consists of the error
and returns NULL
g_free()
gchar * e_mail_folder_to_full_display_name (,
CamelFolder *folder);
GError **error
Returns similar description as e_mail_folder_uri_to_markup()
, only without markup
and rather for a folder
, than for a folder URI. Returned pointer should be freed
with g_free()
Since: 3.18