diff options
Diffstat (limited to 'stream.h')
-rw-r--r-- | stream.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -2,9 +2,18 @@ #include <lua.h> +struct buffer +{ + char * data; + int length; + int offset; +}; + struct stream { int fd; + struct buffer in; }; int stream_push_new(lua_State *, const int); +int stream_gc(lua_State *); |