CamelOfflineStore

CamelOfflineStore —

Synopsis

                    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);

Description

Details

CamelOfflineStore

typedef struct {
	CamelStore parent_object;

	gint state;
} CamelOfflineStore;


camel_offline_store_set_network_state ()

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

camel_offline_store_get_network_state ()

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


camel_offline_store_prepare_for_offline ()

void                camel_offline_store_prepare_for_offline
                                                        (CamelOfflineStore *store,
                                                         CamelException *ex);
store :
ex :

Since 2.22