refactor(lsm): decouple attribute types

This commit is contained in:
Jef Roosens 2023-11-08 12:25:47 +01:00
parent 535b92a6b6
commit b5fc3a3612
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
6 changed files with 26 additions and 32 deletions

View file

@ -18,6 +18,12 @@ 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,
} lander_attr_type;
typedef enum lander_entry_type {
lander_entry_type_redirect = 0,
lander_entry_type_paste = 1,