feat(lander): full initial migration to lnm
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Jef Roosens 2023-12-05 19:36:54 +01:00
parent f3da5c78ef
commit 8ae59f1031
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
7 changed files with 84 additions and 59 deletions

View file

@ -46,24 +46,22 @@ lnm_http_step_err lander_get_entry(lnm_http_conn *conn);
lnm_http_step_err lander_post_redirect(lnm_http_conn *conn);
bool lander_post_paste(event_loop_conn *conn);
lnm_http_step_err lander_post_paste(lnm_http_conn *conn);
bool lander_post_paste(event_loop_conn *conn);
bool lander_stream_body_to_entry(event_loop_conn *conn);
lnm_http_step_err lander_stream_body_to_entry(lnm_http_conn *conn);
bool lander_stream_body_to_client(event_loop_conn *conn);
lnm_http_step_err lander_post_redirect_body_to_attr(lnm_http_conn *conn);
bool lander_remove_entry(event_loop_conn *conn);
lnm_http_step_err lander_remove_entry(lnm_http_conn *conn);
bool lander_post_file(event_loop_conn *conn);
lnm_http_step_err lander_post_file(lnm_http_conn *conn);
/**
* Store the requested header as an attribute, if it's present.
*/
void lander_header_to_attr(http_loop_ctx *ctx, const char *header,
void lander_header_to_attr(lnm_http_loop_ctx *ctx, const char *header,
lander_attr_type attr_type);
/**