aboutsummaryrefslogtreecommitdiff
path: root/src/net/util.h
diff options
context:
space:
mode:
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);