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