| Camel Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
CamelOfflineStore; gboolean camel_offline_store_set_network_state (CamelOfflineStore *store,gint state,CamelException *ex); gint camel_offline_store_get_network_state (CamelOfflineStore *store,CamelException *ex); gboolean camel_offline_store_prepare_for_offline (CamelOfflineStore *store,CamelException *ex);
gboolean camel_offline_store_set_network_state (CamelOfflineStore *store,gint state,CamelException *ex);
Set the network state to either CAMEL_OFFLINE_STORE_NETWORK_AVAIL or CAMEL_OFFLINE_STORE_NETWORK_UNAVAIL.
|
a CamelOfflineStore object |
|
the network state |
|
a CamelException |
Returns : |
gint camel_offline_store_get_network_state (CamelOfflineStore *store,CamelException *ex);
Return the network state either CAMEL_OFFLINE_STORE_NETWORK_AVAIL or CAMEL_OFFLINE_STORE_NETWORK_UNAVAIL.
|
a CamelOfflineStore object |
|
a CamelException |
Returns : |
Since 2.24
gboolean camel_offline_store_prepare_for_offline (CamelOfflineStore *store,CamelException *ex);
|
|
|
|
Returns : |
Since 2.22