aboutsummaryrefslogtreecommitdiff
path: root/dpi.h
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-07-10 13:28:28 -1000
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-07-10 13:29:40 -1000
commit051b1e60c1e80994388521ae37d7035babbd12b6 (patch)
treeb2e7b3dc1a68e51b15c72b92947dc39b5c6ded9d /dpi.h
Init
Diffstat (limited to 'dpi.h')
-rw-r--r--dpi.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/dpi.h b/dpi.h
new file mode 100644
index 0000000..68ffb87
--- /dev/null
+++ b/dpi.h
@@ -0,0 +1,7 @@
+#pragma once
+
+#include <stddef.h>
+
+void dpi_read_request(char *url_buf, size_t url_len);
+void dpi_send_status(const char *status);
+void dpi_send_header(const char *url, const char *content_type);