+typedef struct {
+ gchar *subject;
+ time_t timestamp;
+} ModestGetUnreadMessagesHit;
+
+typedef struct {
+ gchar *account_id;
+ gchar *account_name;
+ GList *hits;
+} ModestAccountHits;
+
+/**
+ * this method returns in account_hit_list a list of #ModestAccountHits.
+ */
+gboolean libmodest_dbus_client_get_unread_messages (osso_context_t *osso_ctx,
+ gint msgs_per_account,
+ GList **account_hits_list);
+