refactor(routing): simply key segment api
This commit is contained in:
parent
9dbdb0b089
commit
d739157fb1
3 changed files with 15 additions and 19 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue