feat(lander): initial lnm integration test
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Jef Roosens 2023-12-02 20:22:05 +01:00
parent 799821d9fc
commit 8ec667af3b
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
15 changed files with 187 additions and 44 deletions

View file

@ -1,9 +1,12 @@
#ifndef LANDER
#define LANDER
#include "http_loop.h"
#include "lnm/common.h"
#include "lnm/http/loop.h"
#include "lsm/store.h"
#include "http_loop.h"
extern http_route lander_routes[6];
extern const char lander_key_charset[];
@ -31,13 +34,13 @@ typedef enum lander_entry_type : uint8_t {
void *lander_gctx_init();
void *lander_ctx_init();
lnm_err lander_ctx_init(void **c_ctx, void *gctx);
void lander_ctx_reset(lander_ctx *ctx);
void lander_ctx_free(lander_ctx *ctx);
bool lander_get_index(event_loop_conn *conn);
lnm_http_step_err lander_get_index(lnm_http_conn *conn);
bool lander_get_entry(event_loop_conn *conn);