| Camel Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
CamelOfflineStore; void camel_offline_store_set_network_state (CamelOfflineStore *store,gint state,CamelException *ex); gint camel_offline_store_get_network_state (CamelOfflineStore *store,CamelException *ex); void camel_offline_store_prepare_for_offline (CamelOfflineStore *store,CamelException *ex);
void 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.
store : |
a CamelOfflineStore object |
state : |
the network state |
ex : |
a CamelException |
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.
store : |
a CamelOfflineStore object |
ex : |
a CamelException |
| Returns : |
Since 2.24
void camel_offline_store_prepare_for_offline (CamelOfflineStore *store,CamelException *ex);
store : |
|
ex : |
Since 2.22