CamelIMAPXStore

CamelIMAPXStore

Synopsis

#define             CAMEL_IMAPX_STORE_TYPE
#define             IMAPX_OVERRIDE_NAMESPACE
#define             IMAPX_CHECK_ALL
#define             IMAPX_FILTER_INBOX
#define             IMAPX_FILTER_JUNK
#define             IMAPX_FILTER_JUNK_INBOX
#define             IMAPX_SUBSCRIPTIONS
#define             IMAPX_CHECK_LSUB
#define             IMAPX_USE_IDLE
#define             IMAPX_USE_QRESYNC
                    CamelIMAPXStore;
                    CamelIMAPXStoreClass;

Description

Details

CAMEL_IMAPX_STORE_TYPE

#define CAMEL_IMAPX_STORE_TYPE     (__KOLAB_camel_imapx_store_get_type ())

IMAPX_OVERRIDE_NAMESPACE

#define IMAPX_OVERRIDE_NAMESPACE (1 << 0)

IMAPX_CHECK_ALL

#define IMAPX_CHECK_ALL			(1 << 1)

IMAPX_FILTER_INBOX

#define IMAPX_FILTER_INBOX		(1 << 2)

IMAPX_FILTER_JUNK

#define IMAPX_FILTER_JUNK		(1 << 3)

IMAPX_FILTER_JUNK_INBOX

#define IMAPX_FILTER_JUNK_INBOX		(1 << 4)

IMAPX_SUBSCRIPTIONS

#define IMAPX_SUBSCRIPTIONS		(1 << 5)

IMAPX_CHECK_LSUB

#define IMAPX_CHECK_LSUB		(1 << 6)

IMAPX_USE_IDLE

#define IMAPX_USE_IDLE			(1 << 7)

IMAPX_USE_QRESYNC

#define IMAPX_USE_QRESYNC		(1 << 8)

CamelIMAPXStore

typedef struct {
	CamelOfflineStore parent_object;

	struct _CamelIMAPXServer *server;

	CamelIMAPXStoreSummary *summary; /* in-memory list of folders */
	gchar *namespace, dir_sep, *base_url, *storage_path;

	guint32 rec_options;

	/* Used for syncronizing get_folder_info. Check for re-use of any other lock. At the
	   moment, could not find anything suitable for this */
	GMutex *get_finfo_lock;
	time_t last_refresh_time;

	/* hash table of UIDs to ignore as recent when updating folder */
	GHashTable *ignore_recent;

	/* if we had a login error, what to show to user */
	gchar *login_error;

	GPtrArray *pending_list;
} CamelIMAPXStore;

CamelIMAPXStoreClass

typedef struct {
	CamelOfflineStoreClass parent_class;
} CamelIMAPXStoreClass;