summaryrefslogtreecommitdiffstats
path: root/src/stream.h
blob: 29bf46ef466df163b970434ac8afbc7e5a262169 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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