* remember last-used maildir, and use it as default for next run

This commit is contained in:
Dirk-Jan C. Binnema
2011-01-12 23:11:51 +02:00
parent 0b7d136033
commit 87f9dc6cb6
4 changed files with 155 additions and 54 deletions

View File

@ -64,6 +64,17 @@ MuIndex* mu_index_new (const char* muhome, guint batchsize, GError **err)
void mu_index_destroy (MuIndex *index);
/**
* get the maildir for the last run of indexing for the
* current database
*
* @param index MuIndex object
*
* @return the last used maildir, or NULL
*/
const char* mu_index_last_used_maildir (MuIndex *index);
/**
* callback function for mu_index_(run|stats|cleanup), for each message
*