1
<!-- ##### SECTION Title ##### -->
4
<!-- ##### SECTION Short_Description ##### -->
5
A session type for Camel
7
<!-- ##### SECTION Long_Description ##### -->
9
A type being used internally by the libtinymail-camel implementation. It,
10
for example, observes the #TnyDevice instance for the online/offline
11
status of the device and registers the accounts with the Camel library.
14
The Camel library uses the offline/online status for knowing whether it should
15
attempt to get unavailable messages from the service and put them in cache or
16
whether it should only try to read from that cache.
19
The type is also used for delivering alert messages, like SSL certificate questions,
20
to the account store, delivering passwords to the services and delivering the command
21
to forget the password to the password store in case the service replied that the
22
password was incorrect.
25
Most people will not have to care about this type a lot. Most people should simply
26
follow the guidelines for implementing a #TnyAccountStore and after that always
27
develop against the #TnyAccountStore interface API using an instance of their implementation.
30
<!-- ##### SECTION See_Also ##### -->
32
#TnyDevice, #TnyAccount, #TnyStoreAccount, #TnyTransportAccount, #TnyCamelStoreAccount, #TnyCamelTransportAccount
35
<!-- ##### SECTION Stability_Level ##### -->
38
<!-- ##### STRUCT TnySessionCamelPriv ##### -->
49
@current_accounts_lock:
60
<!-- ##### STRUCT TnySessionCamel ##### -->
68
<!-- ##### FUNCTION tny_session_camel_set_account_store ##### -->
77
<!-- ##### FUNCTION tny_session_camel_set_device ##### -->
86
<!-- ##### FUNCTION tny_session_camel_set_ui_locker ##### -->
95
<!-- ##### FUNCTION tny_session_camel_set_initialized ##### -->