## mail-mt mail-mt |

## Functions

gchar * | (*MailMsgDescFunc) ()
void | (*MailMsgExecFunc) ()
void | (*MailMsgDoneFunc) ()
void | (*MailMsgFreeFunc) ()
void | (*MailMsgDispatchFunc) ()
void | (*MailMsgCreateActivityFunc) ()
void | (*MailMsgSubmitActivityFunc) ()
void | (*MailMsgFreeActivityFunc) ()
void | (*MailMsgCompleteActivityFunc) ()
void | (*MailMsgCancelActivityFunc) ()
void | (*MailMsgAlertErrorFunc) ()
EAlertSink | (*MailMsgGetAlertSinkFunc) ()
EAlertSink * | mail_msg_get_alert_sink ()
void | mail_msg_init ()
void | mail_msg_register_activities ()
gboolean | mail_in_main_thread ()
gpointer | mail_msg_new ()
gpointer | mail_msg_new_with_cancellable ()
gpointer | mail_msg_ref ()
void | mail_msg_unref ()
void | mail_msg_check_error ()
void | mail_msg_cancel ()
gboolean | mail_msg_active ()
void | mail_msg_main_loop_push ()
void | mail_msg_unordered_push ()
void | mail_msg_fast_ordered_push ()
void | mail_msg_slow_ordered_push ()
gpointer | (*MailMainFunc) ()
gpointer | mail_call_main ()

## Types and Values

struct | MailMsg
struct | MailMsgInfo
enum | mail_call_t

## Description

## Functions

### MailMsgDescFunc ()

    gchar *
    (*MailMsgDescFunc) (MailMsg *msg);

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

### MailMsgExecFunc ()

    void
    (*MailMsgExecFunc) (MailMsg *msg,
                        GCancellable *cancellable,
                        GError **error);

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

### MailMsgDoneFunc ()

    void
    (*MailMsgDoneFunc) (MailMsg *msg);

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

### MailMsgFreeFunc ()

    void
    (*MailMsgFreeFunc) (MailMsg *msg);

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

### MailMsgDispatchFunc ()

    void
    (*MailMsgDispatchFunc) (gpointer msg);

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

### MailMsgCreateActivityFunc ()

    void
    (*MailMsgCreateActivityFunc) (GCancellable *cancellable);

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

### MailMsgSubmitActivityFunc ()

    void
    (*MailMsgSubmitActivityFunc) (GCancellable *cancellable);

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

### MailMsgFreeActivityFunc ()

    void
    (*MailMsgFreeActivityFunc) (GCancellable *cancellable);

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

### MailMsgCompleteActivityFunc ()

    void
    (*MailMsgCompleteActivityFunc) (GCancellable *cancellable);

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

### MailMsgCancelActivityFunc ()

    void
    (*MailMsgCancelActivityFunc) (GCancellable *cancellable);

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

### MailMsgAlertErrorFunc ()

    void
    (*MailMsgAlertErrorFunc) (GCancellable *cancellable,
                              const gchar *what,
                              const gchar *message);

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

### MailMsgGetAlertSinkFunc ()

    EAlertSink
    (*MailMsgGetAlertSinkFunc) (void);

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

### mail_msg_get_alert_sink ()

    EAlertSink *
    mail_msg_get_alert_sink (void);

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

### mail_msg_init ()

    void
    mail_msg_init (void);

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

### mail_msg_register_activities ()

    void
    mail_msg_register_activities (MailMsgCreateActivityFunc Param1,
                                  MailMsgSubmitActivityFunc Param2,
                                  MailMsgFreeActivityFunc Param3,
                                  MailMsgCompleteActivityFunc Param4,
                                  MailMsgCancelActivityFunc Param5,
                                  MailMsgAlertErrorFunc Param6,
                                  MailMsgGetAlertSinkFunc Param7);

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

### mail_in_main_thread ()

    gboolean
    mail_in_main_thread (void);

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

### mail_msg_new ()

    gpointer
    mail_msg_new (MailMsgInfo *info);

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

### mail_msg_new_with_cancellable ()

    gpointer
    mail_msg_new_with_cancellable (MailMsgInfo *info,
                                   GCancellable *cancellable);

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

### mail_msg_ref ()

    gpointer
    mail_msg_ref (gpointer msg);

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

### mail_msg_unref ()

    void
    mail_msg_unref (gpointer msg);

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

### mail_msg_check_error ()

    void
    mail_msg_check_error (gpointer msg);

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

### mail_msg_cancel ()

    void
    mail_msg_cancel (guint msgid);

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

### mail_msg_active ()

    gboolean
    mail_msg_active (void);

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

### mail_msg_main_loop_push ()

    void
    mail_msg_main_loop_push (gpointer msg);

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

### mail_msg_unordered_push ()

    void
    mail_msg_unordered_push (gpointer msg);

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

### mail_msg_fast_ordered_push ()

    void
    mail_msg_fast_ordered_push (gpointer msg);

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

### mail_msg_slow_ordered_push ()

    void
    mail_msg_slow_ordered_push (gpointer msg);

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

### MailMainFunc ()

    gpointer
    (*MailMainFunc) ();

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

### mail_call_main ()

    gpointer
    mail_call_main (mail_call_t type,
                    MailMainFunc func,
                    ...);

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

## Types and Values

### struct MailMsg

    struct MailMsg {
    	MailMsgInfo *info;
    	volatile gint ref_count;
    	guint seq;			/* seq number for synchronisation */
    	gint priority;			/* priority (default = 0) */
    	GCancellable *cancellable;
    	GError *error;			/* up to the caller to use this */
    };

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

### struct MailMsgInfo

    struct MailMsgInfo {
    	gsize size;
    	MailMsgDescFunc desc;
    	MailMsgExecFunc exec;
    	MailMsgDoneFunc done;
    	MailMsgFreeFunc free;
    };

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

### enum mail_call_t

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

#### Members

MAIL_CALL_p_p |  |
MAIL_CALL_p_pp |  |
MAIL_CALL_p_ppp |  |
MAIL_CALL_p_pppp |  |
MAIL_CALL_p_ppppp |  |
MAIL_CALL_p_ppippp |  |