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
commit7c920f7f22a26e377aa9eab0f56ca45caddf7217 (patch)
treee5b22e3a47d50125e9050052f608d62f29d32003 /src/net/util.h
parent39f7d8562e355d85e7795f7cd43b29ed12f9c58e (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);