aboutsummaryrefslogtreecommitdiff
path: root/src/net/util.h
diff options
context:
space:
mode:
authoramelia squires <[email protected]>2024-10-02 11:54:33 -0500
committeramelia squires <[email protected]>2024-10-02 11:54:33 -0500
commit94d76d9e7ed5cb9273169babfa27e60fb28c4104 (patch)
treee5b22e3a47d50125e9050052f608d62f29d32003 /src/net/util.h
parentdbc8475da4701923ea6f426fc12cb83960ef0fa9 (diff)
server errors
Diffstat (limited to 'src/net/util.h')
-rw-r--r--src/net/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/util.h b/src/net/util.h
index e592420..254cc32 100644
--- a/src/net/util.h
+++ b/src/net/util.h
@@ -53,3 +53,5 @@ parray_t* route_match(parray_t* paths, char* path, larray_t** params);
int match_param(char* path, char* match, parray_t* arr);
void parse_mimetypes();
+
+int net_error(int fd, int code);