diff options
| author | amelia squires <[email protected]> | 2024-09-04 01:17:25 -0500 |
|---|---|---|
| committer | amelia squires <[email protected]> | 2024-09-04 01:19:51 -0500 |
| commit | 3bdf71c456a905607cb597ccc515bb222f86321d (patch) | |
| tree | 91991ae730237ae4bea3f62679f8f05a288426d5 /src/net/util.h | |
| parent | 8a3be37b30dffda61cc8c3dc5c7b1af8fec3d539 (diff) | |
add to server, and fix leaks
Diffstat (limited to 'src/net/util.h')
| -rw-r--r-- | src/net/util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/util.h b/src/net/util.h index 17a99ac..98d4d93 100644 --- a/src/net/util.h +++ b/src/net/util.h @@ -1,5 +1,5 @@ #include "common.h" - +#include "../types/larray.h" /** * @brief calls recv into buffer until everything is read * @@ -46,7 +46,7 @@ void client_fd_errors(int client_fd); int content_disposition(str* src, parray_t** _dest); -parray_t* route_match(parray_t* paths, char* path); +parray_t* route_match(parray_t* paths, char* path, larray_t** params); int match_param(char* path, char* match, parray_t* arr); |
