summaryrefslogtreecommitdiff
path: root/src/h1.h
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2023-04-21 17:14:37 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2023-05-03 23:11:35 -0400
commita7b7010752066f0b24aec947e0870c2cea248a8d (patch)
tree7b96c93613c604591d7fa3708e4541fc3967232e /src/h1.h
parent58080f3382cebeadcbbef582e3a1470569e09365 (diff)
downloadlighttpd-git-a7b7010752066f0b24aec947e0870c2cea248a8d.tar.gz
[core] h1.[ch] collect some HTTP/1.x specific code
Diffstat (limited to 'src/h1.h')
-rw-r--r--src/h1.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/h1.h b/src/h1.h
new file mode 100644
index 00000000..dc5b00cb
--- /dev/null
+++ b/src/h1.h
@@ -0,0 +1,22 @@
+/*
+ * h1 - HTTP/1.x protocol layer
+ *
+ * Copyright(c) 2023 Glenn Strauss gstrauss()gluelogic.com All rights reserved
+ * License: BSD 3-clause (same as lighttpd)
+ */
+#ifndef LI_H1_H
+#define LI_H1_H
+#include "first.h"
+#include "base_decls.h"
+
+int h1_send_1xx (request_st *r, connection *con);
+
+void h1_send_headers (request_st *r);
+
+int h1_recv_headers (request_st *r, connection *con);
+
+handler_t h1_reqbody_read (request_st *r);
+
+int h1_check_timeout (connection *con, unix_time64_t cur_ts);
+
+#endif