lib: implement mu_store_update

This commit is contained in:
Dirk-Jan C. Binnema
2020-06-10 09:04:47 +03:00
parent 2ee65f5b1a
commit fe6582c6d6
2 changed files with 28 additions and 1 deletions

View File

@ -122,6 +122,16 @@ public:
*/
unsigned add_message (const std::string& path);
/**
* Update a message in the store.
*
* @param msg a message
* @param docid a docid
*
* @return false in case of failure; true ottherwise.
*/
bool update_message (MuMsg *msg, unsigned docid);
/**
* Add a message to the store.
*