aboutsummaryrefslogtreecommitdiff
path: root/src/net/util.h
diff options
context:
space:
mode:
authoramelia squires <[email protected]>2025-01-09 15:13:14 -0600
committeramelia squires <[email protected]>2025-01-09 15:13:14 -0600
commitfbe905126f42981de1f22e689ff6423d93c588a2 (patch)
tree9afa3e466234f1163bfccd5e44b9014f1b2ae5ac /src/net/util.h
parent781639fea8a3189b1bea5d7bdf1e2e7c95d4dd39 (diff)
parent5819d0bd8f98df116c1d9a87c1155751e484a8b6 (diff)
merge
Diffstat (limited to 'src/net/util.h')
-rw-r--r--src/net/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/util.h b/src/net/util.h
index 254cc32..cfac065 100644
--- a/src/net/util.h
+++ b/src/net/util.h
@@ -13,6 +13,7 @@
* @return {int64_t} bytes read, -1 if the body was damaged, -2 if the header was
*/
int64_t recv_full_buffer(int client_fd, char** _buffer, int* header_eof, int* state);
+int64_t recv_header(int client_fd, char** _buffer, char** header_eof);
/**
* @brief converts the request buffer into a parray_t