CamelIMAPXCommand: Camel Reference Manual

## CamelIMAPXCommand CamelIMAPXCommand |

## Functions

#define | CAMEL_IS_IMAPX_COMMAND()
void | (*CamelIMAPXCommandFunc) ()
CamelIMAPXCommand * | camel_imapx_command_new ()
CamelIMAPXCommand * | camel_imapx_command_ref ()
void | camel_imapx_command_unref ()
gboolean | camel_imapx_command_check ()
void | camel_imapx_command_add ()
void | camel_imapx_command_addv ()
void | camel_imapx_command_add_part ()
void | camel_imapx_command_close ()

## Types and Values

enum | CamelIMAPXCommandPartType
struct | CamelIMAPXCommand
struct | CamelIMAPXCommandPart

## Description

## Functions

### CAMEL_IS_IMAPX_COMMAND()

    #define             CAMEL_IS_IMAPX_COMMAND(command)

### CamelIMAPXCommandFunc ()

    void
    (*CamelIMAPXCommandFunc) (struct _CamelIMAPXServer *is,
                              CamelIMAPXCommand *ic);

### camel_imapx_command_new ()

    CamelIMAPXCommand *
    camel_imapx_command_new (struct _CamelIMAPXServer *is,
                             guint32 job_kind,
                             const gchar *format,
                             ...);

### camel_imapx_command_ref ()

    CamelIMAPXCommand *
    camel_imapx_command_ref (CamelIMAPXCommand *ic);

### camel_imapx_command_unref ()

    void
    camel_imapx_command_unref (CamelIMAPXCommand *ic);

### camel_imapx_command_check ()

    gboolean
    camel_imapx_command_check (CamelIMAPXCommand *ic);

### camel_imapx_command_add ()

    void
    camel_imapx_command_add (CamelIMAPXCommand *ic,
                             const gchar *format,
                             ...);

### camel_imapx_command_addv ()

    void
    camel_imapx_command_addv (CamelIMAPXCommand *ic,
                              const gchar *format,
                              va_list ap);

### camel_imapx_command_add_part ()

    void
    camel_imapx_command_add_part (CamelIMAPXCommand *ic,
                                  CamelIMAPXCommandPartType type,
                                  gpointer data);

### camel_imapx_command_close ()

    void
    camel_imapx_command_close (CamelIMAPXCommand *ic);

## Types and Values

### enum CamelIMAPXCommandPartType

#### Members

CAMEL_IMAPX_COMMAND_SIMPLE |  |
CAMEL_IMAPX_COMMAND_DATAWRAPPER |  |
CAMEL_IMAPX_COMMAND_AUTH |  |
CAMEL_IMAPX_COMMAND_FILE |  |
CAMEL_IMAPX_COMMAND_STRING |  |
CAMEL_IMAPX_COMMAND_MASK |  |
CAMEL_IMAPX_COMMAND_LITERAL_PLUS |  |
CAMEL_IMAPX_COMMAND_CONTINUATION |  |

### struct CamelIMAPXCommand

    struct CamelIMAPXCommand {
    	struct _CamelIMAPXServer *is;
    	gint pri;

    	guint32 job_kind; /* CamelIMAPXJobKind */

    	/* Status for command. */
    	struct _status_info *status;

    	guint32 tag;
    	gboolean completed;

    	GQueue parts;
    	GList *current_part;
    };

### struct CamelIMAPXCommandPart

    struct CamelIMAPXCommandPart {
    	gint data_size;
    	gchar *data;

    	CamelIMAPXCommandPartType type;

    	gint ob_size;
    	gpointer ob;
    };