input_stream: moved struct input_plugin to input_plugin.h

Start to separate private from public input_stream API.
This commit is contained in:
Max Kellermann
2009-03-02 20:13:08 +01:00
parent 8694574f63
commit 2e51365ea4
12 changed files with 50 additions and 20 deletions

View File

@@ -25,17 +25,6 @@
struct input_stream;
struct input_plugin {
bool (*open)(struct input_stream *is, const char *url);
void (*close)(struct input_stream *is);
struct tag *(*tag)(struct input_stream *is);
int (*buffer)(struct input_stream *is);
size_t (*read)(struct input_stream *is, void *ptr, size_t size);
bool (*eof)(struct input_stream *is);
bool (*seek)(struct input_stream *is, off_t offset, int whence);
};
struct input_stream {
/**
* the plugin which implements this input stream