about summary refs log tree commit diff
path: root/src/libutil/util.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2004-06-15T13·49+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2004-06-15T13·49+0000
commit0b70231b9d9f2dfa5a9447fcd01fdb5c8f1fa0ea (patch)
tree5c37a0080ddd82f409a2695a2bf830608b706d40 /src/libutil/util.hh
parent1bc6afefac7af8d4c917e898d6670d9b9d7f29f1 (diff)
* Refactoring.
Diffstat (limited to 'src/libutil/util.hh')
-rw-r--r--src/libutil/util.hh9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libutil/util.hh b/src/libutil/util.hh
index d9ca1dac2222..dcd0bf766cc7 100644
--- a/src/libutil/util.hh
+++ b/src/libutil/util.hh
@@ -181,6 +181,15 @@ public:
     ~AutoCloseFD();
     void operator =(int fd);
     operator int();
+    void close();
+    bool isOpen();
+};
+
+class Pipe
+{
+public:
+    AutoCloseFD readSide, writeSide;
+    void create();
 };
 
 class AutoCloseDir