TnyList *new_headers,
gpointer user_data);
-
/**
* SaveToDraftsCallback:
*
gpointer user_data);
+typedef gboolean (*RetrieveAllCallback) (GObject *source,
+ guint num_msgs,
+ guint limit);
+
/* This struct represents the internal state of a mail operation in a
given time */
typedef struct {
* modest_mail_operation_update_account:
* @self: a #ModestMailOperation
* @account_name: the id of a Modest account
+ * @poke_all: if TRUE it will also do a poke_status over all folders of the account
*
* Asynchronously refreshes the root folders of the given store
* account. The caller should add the #ModestMailOperation to a
* Note that the account_name *MUST* be a modest account name, not a
* tinymail store account name
*
- * Returns: TRUE if the mail operation could be started, or FALSE otherwise
**/
-gboolean modest_mail_operation_update_account (ModestMailOperation *self,
+void modest_mail_operation_update_account (ModestMailOperation *self,
const gchar *account_name,
+ gboolean poke_all,
+ RetrieveAllCallback retrieve_all_cb,
UpdateAccountCallback callback,
gpointer user_data);