refactor(lsm): switch to uint8_t attr types; refactor disk code
This commit is contained in:
parent
b5fc3a3612
commit
35c301955f
6 changed files with 84 additions and 96 deletions
|
|
@ -18,10 +18,10 @@ typedef struct lander_ctx {
|
|||
uint64_t remaining_data;
|
||||
} lander_ctx;
|
||||
|
||||
typedef enum lander_attr_type : uint64_t {
|
||||
lander_attr_type_entry_type = 1 << 0,
|
||||
lander_attr_type_content_type = 1 << 1,
|
||||
lander_attr_type_url = 1 << 2,
|
||||
typedef enum lander_attr_type : uint8_t {
|
||||
lander_attr_type_entry_type = 0,
|
||||
lander_attr_type_content_type = 1,
|
||||
lander_attr_type_url = 2,
|
||||
} lander_attr_type;
|
||||
|
||||
typedef enum lander_entry_type {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue