refactor(routing): simply key segment api

This commit is contained in:
Jef Roosens 2024-02-23 11:38:52 +01:00
parent 9dbdb0b089
commit d739157fb1
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
3 changed files with 15 additions and 19 deletions

View file

@ -49,7 +49,7 @@ lnm_http_route_err lnm_http_router_route(lnm_http_route_match *out,
lnm_http_method method,
const char *path);
lnm_err lnm_http_route_match_get(lnm_http_route_match_segment **out,
lnm_http_route_match *match, const char *key);
const lnm_http_route_match_segment *
lnm_http_route_match_get(lnm_http_route_match *match, const char *key);
#endif