summaryrefslogtreecommitdiffstats
path: root/src/stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream.h')
-rw-r--r--src/stream.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/stream.h b/src/stream.h
new file mode 100644
index 0000000..29bf46e
--- /dev/null
+++ b/src/stream.h
@@ -0,0 +1,17 @@
+#ifndef foostreamhfoo
+#define foostreamhfoo
+
+
+struct stream {
+ int input_fd, output_fd;
+
+ void (*destruct) (struct stream *s);
+
+ void* user;
+};
+
+struct stream* stream_open(const char *sspec);
+void stream_close(struct stream *s);
+
+
+#endif