CamelIMAPXServer

CamelIMAPXServer

Synopsis

struct              CamelIMAPXServer;
CamelIMAPXServer *  camel_imapx_server_new              (CamelStore *store);
gboolean            camel_imapx_server_connect          (CamelIMAPXServer *is,
                                                         GCancellable *cancellable,
                                                         GError **error);
CamelAuthenticationResult camel_imapx_server_authenticate
                                                        (CamelIMAPXServer *is,
                                                         const gchar *mechanism,
                                                         GCancellable *cancellable,
                                                         GError **error);
GPtrArray *         camel_imapx_server_list             (CamelIMAPXServer *is,
                                                         const gchar *top,
                                                         guint32 flags,
                                                         const gchar *ext,
                                                         GCancellable *cancellable,
                                                         GError **error);
gboolean            camel_imapx_server_refresh_info     (CamelIMAPXServer *is,
                                                         CamelFolder *folder,
                                                         GCancellable *cancellable,
                                                         GError **error);
gboolean            camel_imapx_server_sync_changes     (CamelIMAPXServer *is,
                                                         CamelFolder *folder,
                                                         GCancellable *cancellable,
                                                         GError **error);
gboolean            camel_imapx_server_expunge          (CamelIMAPXServer *is,
                                                         CamelFolder *folder,
                                                         GCancellable *cancellable,
                                                         GError **error);
gboolean            camel_imapx_server_fetch_messages   (CamelIMAPXServer *is,
                                                         CamelFolder *folder,
                                                         CamelFetchType type,
                                                         gint limit,
                                                         GCancellable *cancellable,
                                                         GError **error);
gboolean            camel_imapx_server_noop             (CamelIMAPXServer *is,
                                                         CamelFolder *folder,
                                                         GCancellable *cancellable,
                                                         GError **error);
CamelStream *       camel_imapx_server_get_message      (CamelIMAPXServer *is,
                                                         CamelFolder *folder,
                                                         const gchar *uid,
                                                         GCancellable *cancellable,
                                                         GError **error);
gboolean            camel_imapx_server_copy_message     (CamelIMAPXServer *is,
                                                         CamelFolder *source,
                                                         CamelFolder *dest,
                                                         GPtrArray *uids,
                                                         gboolean delete_originals,
                                                         GCancellable *cancellable,
                                                         GError **error);
gboolean            camel_imapx_server_append_message   (CamelIMAPXServer *is,
                                                         CamelFolder *folder,
                                                         CamelMimeMessage *message,
                                                         const CamelMessageInfo *mi,
                                                         gchar **append_uid,
                                                         GCancellable *cancellable,
                                                         GError **error);
gboolean            camel_imapx_server_sync_message     (CamelIMAPXServer *is,
                                                         CamelFolder *folder,
                                                         const gchar *uid,
                                                         GCancellable *cancellable,
                                                         GError **error);
gboolean            camel_imapx_server_manage_subscription
                                                        (CamelIMAPXServer *is,
                                                         const gchar *folder_name,
                                                         gboolean subscribe,
                                                         GCancellable *cancellable,
                                                         GError **error);
gboolean            camel_imapx_server_create_folder    (CamelIMAPXServer *is,
                                                         const gchar *folder_name,
                                                         GCancellable *cancellable,
                                                         GError **error);
gboolean            camel_imapx_server_delete_folder    (CamelIMAPXServer *is,
                                                         const gchar *folder_name,
                                                         GCancellable *cancellable,
                                                         GError **error);
gboolean            camel_imapx_server_rename_folder    (CamelIMAPXServer *is,
                                                         const gchar *old_name,
                                                         const gchar *new_name,
                                                         GCancellable *cancellable,
                                                         GError **error);
struct _IMAPXJobQueueInfo * camel_imapx_server_get_job_queue_info
                                                        (CamelIMAPXServer *is);

Object Hierarchy

  GObject
   +----CamelObject
         +----CamelIMAPXServer

Signals

  "select-changed"                                 : Run First
  "shutdown"                                       : Run First

Description

Details

struct CamelIMAPXServer

struct CamelIMAPXServer;

camel_imapx_server_new ()

CamelIMAPXServer *  camel_imapx_server_new              (CamelStore *store);

camel_imapx_server_connect ()

gboolean            camel_imapx_server_connect          (CamelIMAPXServer *is,
                                                         GCancellable *cancellable,
                                                         GError **error);

camel_imapx_server_authenticate ()

CamelAuthenticationResult camel_imapx_server_authenticate
                                                        (CamelIMAPXServer *is,
                                                         const gchar *mechanism,
                                                         GCancellable *cancellable,
                                                         GError **error);

camel_imapx_server_list ()

GPtrArray *         camel_imapx_server_list             (CamelIMAPXServer *is,
                                                         const gchar *top,
                                                         guint32 flags,
                                                         const gchar *ext,
                                                         GCancellable *cancellable,
                                                         GError **error);

camel_imapx_server_refresh_info ()

gboolean            camel_imapx_server_refresh_info     (CamelIMAPXServer *is,
                                                         CamelFolder *folder,
                                                         GCancellable *cancellable,
                                                         GError **error);

camel_imapx_server_sync_changes ()

gboolean            camel_imapx_server_sync_changes     (CamelIMAPXServer *is,
                                                         CamelFolder *folder,
                                                         GCancellable *cancellable,
                                                         GError **error);

camel_imapx_server_expunge ()

gboolean            camel_imapx_server_expunge          (CamelIMAPXServer *is,
                                                         CamelFolder *folder,
                                                         GCancellable *cancellable,
                                                         GError **error);

camel_imapx_server_fetch_messages ()

gboolean            camel_imapx_server_fetch_messages   (CamelIMAPXServer *is,
                                                         CamelFolder *folder,
                                                         CamelFetchType type,
                                                         gint limit,
                                                         GCancellable *cancellable,
                                                         GError **error);

camel_imapx_server_noop ()

gboolean            camel_imapx_server_noop             (CamelIMAPXServer *is,
                                                         CamelFolder *folder,
                                                         GCancellable *cancellable,
                                                         GError **error);

camel_imapx_server_get_message ()

CamelStream *       camel_imapx_server_get_message      (CamelIMAPXServer *is,
                                                         CamelFolder *folder,
                                                         const gchar *uid,
                                                         GCancellable *cancellable,
                                                         GError **error);

camel_imapx_server_copy_message ()

gboolean            camel_imapx_server_copy_message     (CamelIMAPXServer *is,
                                                         CamelFolder *source,
                                                         CamelFolder *dest,
                                                         GPtrArray *uids,
                                                         gboolean delete_originals,
                                                         GCancellable *cancellable,
                                                         GError **error);

camel_imapx_server_append_message ()

gboolean            camel_imapx_server_append_message   (CamelIMAPXServer *is,
                                                         CamelFolder *folder,
                                                         CamelMimeMessage *message,
                                                         const CamelMessageInfo *mi,
                                                         gchar **append_uid,
                                                         GCancellable *cancellable,
                                                         GError **error);

camel_imapx_server_sync_message ()

gboolean            camel_imapx_server_sync_message     (CamelIMAPXServer *is,
                                                         CamelFolder *folder,
                                                         const gchar *uid,
                                                         GCancellable *cancellable,
                                                         GError **error);

camel_imapx_server_manage_subscription ()

gboolean            camel_imapx_server_manage_subscription
                                                        (CamelIMAPXServer *is,
                                                         const gchar *folder_name,
                                                         gboolean subscribe,
                                                         GCancellable *cancellable,
                                                         GError **error);

camel_imapx_server_create_folder ()

gboolean            camel_imapx_server_create_folder    (CamelIMAPXServer *is,
                                                         const gchar *folder_name,
                                                         GCancellable *cancellable,
                                                         GError **error);

camel_imapx_server_delete_folder ()

gboolean            camel_imapx_server_delete_folder    (CamelIMAPXServer *is,
                                                         const gchar *folder_name,
                                                         GCancellable *cancellable,
                                                         GError **error);

camel_imapx_server_rename_folder ()

gboolean            camel_imapx_server_rename_folder    (CamelIMAPXServer *is,
                                                         const gchar *old_name,
                                                         const gchar *new_name,
                                                         GCancellable *cancellable,
                                                         GError **error);

camel_imapx_server_get_job_queue_info ()

struct _IMAPXJobQueueInfo * camel_imapx_server_get_job_queue_info
                                                        (CamelIMAPXServer *is);

Signal Details

The "select-changed" signal

void                user_function                      (CamelIMAPXServer *camelimapxserver,
                                                        gchar            *arg1,
                                                        gpointer          user_data)             : Run First

The "shutdown" signal

void                user_function                      (CamelIMAPXServer *server,
                                                        gpointer          user_data)      : Run First

server :

the CamelIMAPXServer which emitted the signal

user_data :

user data set when the signal handler was connected.