CamelDiscoStore

CamelDiscoStore

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── CamelObject
        ╰── CamelService
            ╰── CamelStore
                ╰── CamelDiscoStore

Implemented Interfaces

CamelDiscoStore implements GInitable.

Description

Functions

camel_disco_store_status ()

CamelDiscoStoreStatus
camel_disco_store_status (CamelDiscoStore *store);

camel_disco_store_status is deprecated and should not be used in newly-written code.

Parameters

store

a disconnectable store

 

Returns

the current online/offline status of store .


camel_disco_store_set_status ()

gboolean
camel_disco_store_set_status (CamelDiscoStore *store,
                              CamelDiscoStoreStatus status,
                              GCancellable *cancellable,
                              GError **error);

camel_disco_store_set_status is deprecated and should not be used in newly-written code.

Sets store to status . If an error occurrs and the status cannot be set to status , error will be set.

Parameters

store

a disconnectable store

 

status

the new status

 

cancellable

optional GCancellable method, or NULL

 

error

return location for a GError, or NULL

 

camel_disco_store_can_work_offline ()

gboolean
camel_disco_store_can_work_offline (CamelDiscoStore *store);

camel_disco_store_can_work_offline is deprecated and should not be used in newly-written code.

Parameters

store

a disconnectable store

 

Returns

whether or not store can be used offline. (Will be FALSE if the store is not caching data to local disk, for example.)


camel_disco_store_check_online ()

gboolean
camel_disco_store_check_online (CamelDiscoStore *store,
                                GError **error);

camel_disco_store_check_online is deprecated and should not be used in newly-written code.

This checks that store is online, and sets ex if it is not. This can be used as a simple way to set a generic error message in ex for operations that won't work offline.

Parameters

store

a disconnectable store

 

error

return location for a GError, or NULL

 

Returns

whether or not store is online.


camel_disco_store_prepare_for_offline ()

void
camel_disco_store_prepare_for_offline (CamelDiscoStore *store,
                                       GCancellable *cancellable,
                                       GError **error);

camel_disco_store_prepare_for_offline is deprecated and should not be used in newly-written code.

Types and Values

struct CamelDiscoStore

struct CamelDiscoStore;

CamelDiscoStore is deprecated and should not be used in newly-written code.


enum CamelDiscoStoreStatus

CamelDiscoStoreStatus is deprecated and should not be used in newly-written code.

Members

CAMEL_DISCO_STORE_ONLINE

   

CAMEL_DISCO_STORE_OFFLINE

   

CAMEL_DISCO_STORE_RESYNCING