Top | ![]() |
![]() |
![]() |
![]() |
ESourceRegistry * e_mail_session_get_registry ();
EMailSession *session
MailFolderCache *
e_mail_session_get_folder_cache (EMailSession *session
);
CamelStore * e_mail_session_get_local_store ();
EMailSession *session
CamelStore * e_mail_session_get_vfolder_store ();
EMailSession *session
CamelFolder * e_mail_session_get_local_folder (,
EMailSession *sessionEMailLocalFolder type
);
constgchar * e_mail_session_get_local_folder_uri (,
EMailSession *sessionEMailLocalFolder type
);
GList * e_mail_session_get_available_junk_filters ();
EMailSession *session
EMailJunkFilter * e_mail_session_get_junk_filter_by_name (,
EMailSession *sessionconst
);gchar *filter_name
Looks up an NULL
CamelFolder * e_mail_session_get_inbox_sync (,
EMailSession *sessionconst
,gchar *service_uid,
GCancellable *cancellable);
GError **error
void e_mail_session_get_inbox (,
EMailSession *sessionconst
,gchar *service_uid,
gint io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback);
gpointer user_data
CamelFolder * e_mail_session_get_inbox_finish (,
EMailSession *session,
GAsyncResult *result);
GError **error
CamelFolder * e_mail_session_get_trash_sync (,
EMailSession *sessionconst
,gchar *service_uid,
GCancellable *cancellable);
GError **error
void e_mail_session_get_trash (,
EMailSession *sessionconst
,gchar *service_uid,
gint io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback);
gpointer user_data
CamelFolder * e_mail_session_get_trash_finish (,
EMailSession *session,
GAsyncResult *result);
GError **error
CamelFolder * e_mail_session_uri_to_folder_sync (,
EMailSession *sessionconst
,gchar *folder_uri,
CamelStoreGetFolderFlags flags,
GCancellable *cancellable);
GError **error
void e_mail_session_uri_to_folder (,
EMailSession *sessionconst
,gchar *folder_uri,
CamelStoreGetFolderFlags flags,
gint io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback);
gpointer user_data
CamelFolder * e_mail_session_uri_to_folder_finish (,
EMailSession *session,
GAsyncResult *result);
GError **error
EMVFolderContext * e_mail_session_create_vfolder_context ();
EMailSession *session
void e_mail_session_schedule_outbox_flush (,
EMailSession *session);
gint delay_minutes
void e_mail_session_cancel_scheduled_outbox_flush ();
EMailSession *session
gboolean e_mail_session_mark_service_used_sync (,
EMailSession *session,
CamelService *service);
GCancellable *cancellable
Marks the service
as being used. If it is already in use, then waits
for its release. The only reasons for a failure are either invalid
parameters being passed in the function or the wait being cancelled.
Use e_mail_session_unmark_service_used()
to notice the session
that
that the service
is no longer being used by the caller.
session |
an |
|
service |
a |
|
cancellable |
a |
[allow none] |
Since: 3.16
void e_mail_session_unmark_service_used (,
EMailSession *session);
CamelService *service
Frees a "use lock" on the service
, thus it can be used by others. If anything
is waiting for it in e_mail_session_mark_service_used_sync()
, then it is woken up.
Since: 3.16
void e_mail_session_emit_allow_auth_prompt (,
EMailSession *session);
ESource *source
Emits 'allow-auth-prompt' on session
for source
. This lets
any listeners know to enable credentials prompt for this source
.
Since: 3.16
gboolean e_binding_transform_service_to_source (,
GBinding *bindingconst
,GValue *source_value,
GValue *target_value);
gpointer session
gboolean e_binding_transform_source_to_service (,
GBinding *bindingconst
,GValue *source_value,
GValue *target_value);
gpointer session