feat(lsm): implement basic remove

This commit is contained in:
Jef Roosens 2023-11-12 12:48:36 +01:00
parent 51e4a203e9
commit b40389bbe2
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
6 changed files with 65 additions and 8 deletions

View file

@ -176,6 +176,13 @@ void lsm_entry_close(lsm_entry_handle *handle);
lsm_error lsm_store_insert(lsm_entry_handle **out, lsm_store *store,
lsm_str *key);
/**
* Mark the entry as removed.
*
* @param handle handle to entry to remove
*/
void lsm_entry_remove(lsm_entry_handle *handle);
/**
* Append new data to the given entry, which is expected to be in the store.
*