diff options
author | Aki <please@ignore.pl> | 2021-03-04 22:22:28 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2021-03-04 22:22:28 +0100 |
commit | 18b2a4391fe8d442e917f5b2c2f26b18ec9374ac (patch) | |
tree | ba96c3c1b5ad026b6a41dbc8356aba6b4f4c9a79 /stream.h | |
parent | 296fe762dd2207d4052c0d41c9186ac23922dd1d (diff) | |
download | plop-18b2a4391fe8d442e917f5b2c2f26b18ec9374ac.zip plop-18b2a4391fe8d442e917f5b2c2f26b18ec9374ac.tar.gz plop-18b2a4391fe8d442e917f5b2c2f26b18ec9374ac.tar.bz2 |
Partially implementd writing
Diffstat (limited to 'stream.h')
-rw-r--r-- | stream.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -15,9 +15,14 @@ struct stream { int fd; struct buffer in; + struct buffer out; }; int stream_push_new(lua_State *, const int); int stream_gc(lua_State *); int stream_read(lua_State *); int stream_readk(lua_State *, const int, lua_KContext); +int stream_write(lua_State *); +int stream_flush(lua_State *); +int stream_flushk(lua_State *, const int, lua_KContext); +int stream_discard(lua_State *); |