feat(ltm): PoC paste pages
This commit is contained in:
parent
11421dca74
commit
8c2a7a640d
6 changed files with 60 additions and 9 deletions
|
|
@ -4,16 +4,21 @@
|
|||
#include "lnm/common.h"
|
||||
#include "lnm/http/loop.h"
|
||||
#include "lsm/store.h"
|
||||
#include "ltm/template.h"
|
||||
|
||||
extern const char lander_key_charset[];
|
||||
|
||||
typedef struct lander_gctx {
|
||||
const char *data_dir;
|
||||
lsm_store *store;
|
||||
struct {
|
||||
ltm_template *paste;
|
||||
} templates;
|
||||
} lander_gctx;
|
||||
|
||||
typedef struct lander_ctx {
|
||||
lsm_entry_handle *entry;
|
||||
ltm_instance *instance;
|
||||
} lander_ctx;
|
||||
|
||||
typedef enum lander_attr_type : uint8_t {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue