X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-utils.h;h=0d25831ba63f0ce95f71e9b12b48c630745dc55f;hp=393f869ae7ba69507551396b8b6d20638dec8c47;hb=f918993cb9493d5edf6136b5c5d251b34a2672b1;hpb=778e1ea4f05f71dfcbfd70f063ff0ad43e536060 diff --git a/src/modest-utils.h b/src/modest-utils.h index 393f869..0d25831 100644 --- a/src/modest-utils.h +++ b/src/modest-utils.h @@ -253,4 +253,14 @@ GList *modest_utils_create_notification_list_from_header_list (TnyList *header_l * Frees a list of #ModestMsgNotificationData structures **/ void modest_utils_free_notification_list (GList *notification_list); + +/** + * modest_utils_flush_send_queue: + * @account_id: the ID of the modest account + * + * Flushes the send queue of the given account. That will try to send + * all the remaining messages in the send queue + **/ +void modest_utils_flush_send_queue (const gchar *account_id); + #endif /*__MODEST_MAEMO_UTILS_H__*/