* mu-index: update for the store changes

This commit is contained in:
Dirk-Jan C. Binnema
2011-09-03 10:45:54 +03:00
parent bd1ae1a124
commit 520307a2b1
2 changed files with 25 additions and 44 deletions

View File

@ -87,17 +87,6 @@ void mu_index_set_max_msg_size (MuIndex *index, guint max_size);
void mu_index_set_xbatch_size (MuIndex *index, guint xbatchsize);
/**
* 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
*
@ -193,6 +182,7 @@ typedef MuError (*MuIndexCleanupDeleteCallback) (MuIndexStats *stats,
* @mu_index_stats_clear before calling this function
* @param cb a callback function which will be called for every msg;
* @param user_data a user pointer that will be passed to the callback function
* @param err to receive error info or NULL. err->code is MuError value
*
* @return MU_OK if the stats gathering was completed succesfully,
* MU_STOP if the user stopped or MU_ERROR in
@ -200,7 +190,7 @@ typedef MuError (*MuIndexCleanupDeleteCallback) (MuIndexStats *stats,
*/
MuError mu_index_cleanup (MuIndex *index, MuIndexStats *stats,
MuIndexCleanupDeleteCallback cb,
void *user_data);
void *user_data, GError **err);
/**
* clear the stats structure