summaryrefslogtreecommitdiffhomepage
path: root/stream.h
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2021-02-24 01:04:57 +0100
committerAki <please@ignore.pl>2021-02-24 01:04:57 +0100
commit4fdf60a4c9ce16dd459e05ad7664010ea45c43db (patch)
treeb826d103c799f9e4b12fe87b1320a4972a8bab33 /stream.h
parenta8bcb7a654691a9a41ba193f16dca38bdd65bfa0 (diff)
downloadplop-4fdf60a4c9ce16dd459e05ad7664010ea45c43db.zip
plop-4fdf60a4c9ce16dd459e05ad7664010ea45c43db.tar.gz
plop-4fdf60a4c9ce16dd459e05ad7664010ea45c43db.tar.bz2
Started progress towards coroutine-based connection handling
Diffstat (limited to 'stream.h')
-rw-r--r--stream.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/stream.h b/stream.h
new file mode 100644
index 0000000..5762bc8
--- /dev/null
+++ b/stream.h
@@ -0,0 +1,10 @@
+#pragma once
+
+#include <lua.h>
+
+struct stream
+{
+ int fd;
+};
+
+int stream_push_new(lua_State *, const int);