* mu-store: add mu_store_count

This commit is contained in:
Dirk-Jan C. Binnema
2010-09-26 15:52:22 +03:00
parent f2770c5957
commit 6cb61593ad
2 changed files with 23 additions and 0 deletions

View File

@ -48,6 +48,15 @@ MuStore* mu_store_new (const char* path);
void mu_store_destroy (MuStore *store);
/**
* get the numbers of documents in the database
*
* @param index a valid MuStore instance
*
* @return the number of documents in the database; 0 in case of error
* or an empty database
*/
unsigned mu_store_count (MuStore *store);
/**
* get a version string for the database