From 4fdf60a4c9ce16dd459e05ad7664010ea45c43db Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 24 Feb 2021 01:04:57 +0100 Subject: Started progress towards coroutine-based connection handling --- stream.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 stream.h (limited to 'stream.h') 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 + +struct stream +{ + int fd; +}; + +int stream_push_new(lua_State *, const int); -- cgit v1.1