aboutsummaryrefslogtreecommitdiff
path: root/src/shared/lua_api/stream.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/lua_api/stream.hpp')
-rw-r--r--src/shared/lua_api/stream.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/lua_api/stream.hpp b/src/shared/lua_api/stream.hpp
index bf44ed4..74a0e69 100644
--- a/src/shared/lua_api/stream.hpp
+++ b/src/shared/lua_api/stream.hpp
@@ -1,4 +1,5 @@
#include <stdlib.h>
+#include <nng.h>
//Char is not definitvely a byte, read the fucking standard
#define byte char
@@ -7,6 +8,7 @@ typedef struct stream {
long length;
byte* data;
long read;
+ nng_pipe *pipe;
} stream;
struct stream* stream_create();