summaryrefslogtreecommitdiffstats
path: root/src/stream.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-01-14 18:08:39 +0000
committerLennart Poettering <lennart@poettering.net>2004-01-14 18:08:39 +0000
commit1b34f889f90cd879367f233c90d98b18dd47d338 (patch)
tree10025d8103bff429ccfdac18a70158996ba05c7f /src/stream.h
parent94fea1e00bc2115cb9163d53a0d5b25a88d35898 (diff)
initial commit
git-svn-id: file:///home/lennart/svn/public/bidilink/trunk@3 9cde1c1d-e4d0-0310-8a68-bf217395ea82
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