store: remove unused code, use batchsize

This commit is contained in:
Dirk-Jan C. Binnema
2020-03-02 23:19:34 +02:00
parent 1d14b82595
commit 49883806f6
2 changed files with 24 additions and 60 deletions

View File

@ -191,12 +191,6 @@ public:
*/
void commit_transaction();
/**
* Cancel (rollback) the current database transaction.
*
*/
void cancel_transaction();
/**
* Are we in a transaction?
*
@ -538,19 +532,6 @@ typedef MuError (*MuStoreForeachFunc) (const char* path, gpointer user_data);
MuError mu_store_foreach (MuStore *self, MuStoreForeachFunc func,
void *user_data, GError **err);
/**
* clear the database, ie., remove all of the contents. This is a
* destructive operation, but the database can be restored be doing a
* full scan of the maildirs. Also, clear the contacts cache file
*
* @param store a MuStore object
* @param err to receive error info or NULL. err->code is MuError value
*
* @return TRUE if the clearing succeeded, FALSE otherwise.
*/
gboolean mu_store_clear (MuStore *store, GError **err);
/**
* check if the database is locked for writing
*