CamelKolabIMAPXStore

CamelKolabIMAPXStore

Synopsis

#define             CAMEL_KOLAB_IMAPX_STORE_TYPE
                    CamelKolabIMAPXStore;
                    CamelKolabIMAPXStoreClass;
gboolean            kolab_imapx_store_set_folder_creation_type
                                                        (CamelKolabIMAPXStore *store,
                                                         KolabFolderTypeID type_id);
gboolean            kolab_imapx_store_set_folder_context
                                                        (CamelKolabIMAPXStore *store,
                                                         KolabFolderContextID context);
KolabFolderTypeID   kolab_imapx_store_get_folder_type   (CamelKolabIMAPXStore *store,
                                                         const gchar *foldername,
                                                         GError **err);
void                kolab_imapx_store_logout_sync       (CamelKolabIMAPXStore *store);
GList *             kolab_imapx_store_resect_folder_list
                                                        (CamelKolabIMAPXStore *store);

Description

Details

CAMEL_KOLAB_IMAPX_STORE_TYPE

#define CAMEL_KOLAB_IMAPX_STORE_TYPE     	(camel_kolab_imapx_store_get_type ())

CamelKolabIMAPXStore

typedef struct {
	CamelIMAPXStore parent_object;

	/* 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 *kolab_finfo_lock;

	CamelKolabIMAPXMetaData *kmd;
	KolabFolderTypeID folder_create_type;
	KolabFolderContextID folder_context;
	gboolean folder_types_do_care[KOLAB_FOLDER_LAST_TYPE];
	GList *folder_names_do_care;
} CamelKolabIMAPXStore;

CamelKolabIMAPXStoreClass

typedef struct {
	CamelIMAPXStoreClass parent_class;
} CamelKolabIMAPXStoreClass;

kolab_imapx_store_set_folder_creation_type ()

gboolean            kolab_imapx_store_set_folder_creation_type
                                                        (CamelKolabIMAPXStore *store,
                                                         KolabFolderTypeID type_id);

kolab_imapx_store_set_folder_context ()

gboolean            kolab_imapx_store_set_folder_context
                                                        (CamelKolabIMAPXStore *store,
                                                         KolabFolderContextID context);

kolab_imapx_store_get_folder_type ()

KolabFolderTypeID   kolab_imapx_store_get_folder_type   (CamelKolabIMAPXStore *store,
                                                         const gchar *foldername,
                                                         GError **err);

kolab_imapx_store_logout_sync ()

void                kolab_imapx_store_logout_sync       (CamelKolabIMAPXStore *store);

kolab_imapx_store_resect_folder_list ()

GList *             kolab_imapx_store_resect_folder_list
                                                        (CamelKolabIMAPXStore *store);