From 1b34f889f90cd879367f233c90d98b18dd47d338 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 14 Jan 2004 18:08:39 +0000 Subject: initial commit git-svn-id: file:///home/lennart/svn/public/bidilink/trunk@3 9cde1c1d-e4d0-0310-8a68-bf217395ea82 --- src/stream.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/stream.h (limited to 'src/stream.h') 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 -- cgit