* remember last-used maildir, and use it as default for next run
This commit is contained in:
@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user