feat(lsm): implement bt remove
This commit is contained in:
parent
13e42181a2
commit
96fc645034
7 changed files with 135 additions and 26 deletions
|
|
@ -6,10 +6,10 @@
|
|||
#define LSM_MAX_SKIP_SIZE 8
|
||||
|
||||
typedef enum lsm_error {
|
||||
lsm_error_ok = 0,
|
||||
lsm_error_failed_alloc = 1,
|
||||
lsm_error_not_found = 2,
|
||||
lsm_error_already_present = 3
|
||||
lsm_error_ok = 0,
|
||||
lsm_error_failed_alloc = 1,
|
||||
lsm_error_not_found = 2,
|
||||
lsm_error_already_present = 3
|
||||
} lsm_error;
|
||||
|
||||
/**
|
||||
|
|
@ -29,9 +29,7 @@ typedef struct lsm_string {
|
|||
* The type of an attribute. Each type is represented as a single bit of a
|
||||
* 32-bit integer, so they can be easily combined into a bitmap.
|
||||
*/
|
||||
typedef enum lsm_attr_type {
|
||||
lsm_attr_type_entry_type = 1 << 0
|
||||
} lsm_attr_type;
|
||||
typedef enum lsm_attr_type { lsm_attr_type_entry_type = 1 << 0 } lsm_attr_type;
|
||||
|
||||
/**
|
||||
* A single attribute associated with an entry
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue