summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/InPipe.h4
-rw-r--r--include/LuaTask.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/include/InPipe.h b/include/InPipe.h
index 2828da3..7b77c4e 100644
--- a/include/InPipe.h
+++ b/include/InPipe.h
@@ -12,8 +12,10 @@ class InPipe : public Handle {
virtual bool CanWrite();
virtual bool CanRead();
virtual String GetName();
+ void HalfClose();
private:
- int p[2], hooked;
+ int p[2];
+ bool hooked, halfclosed;
};
#endif
diff --git a/include/LuaTask.h b/include/LuaTask.h
index 85e228f..fcc1363 100644
--- a/include/LuaTask.h
+++ b/include/LuaTask.h
@@ -4,6 +4,7 @@
#include <Task.h>
#include <Buffer.h>
#include <BLua.h>
+#include <InPipe.h>
class LuaTask : public Task {
public:
@@ -16,9 +17,10 @@ class LuaTask : public Task {
private:
Lua * L;
String cmd;
- int nargs, stacktop;
+ int nargs, stacktop, r;
Task * c;
Buffer * b;
+ InPipe * p;
String task;