aboutsummaryrefslogtreecommitdiff
path: root/src/net/util.h
diff options
context:
space:
mode:
authoramelia squires <[email protected]>2024-09-04 01:17:25 -0500
committeramelia squires <[email protected]>2024-09-04 01:19:51 -0500
commitaf2da4242cfe192e49ee490d8dd3a3b7fff02000 (patch)
tree91991ae730237ae4bea3f62679f8f05a288426d5 /src/net/util.h
parent13741880363269ac960b9a5578c07acaa7c72b63 (diff)
add to server, and fix leaks
Diffstat (limited to 'src/net/util.h')
-rw-r--r--src/net/util.h4
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);