From 2e51365ea4b636560d234b0b937a6c8dfb528c10 Mon Sep 17 00:00:00 2001 From: Max Kellermann <max@duempel.org> Date: Mon, 2 Mar 2009 20:13:08 +0100 Subject: input_stream: moved struct input_plugin to input_plugin.h Start to separate private from public input_stream API. --- src/input_stream.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/input_stream.h') diff --git a/src/input_stream.h b/src/input_stream.h index d8698c4cd..e2ada0ef6 100644 --- a/src/input_stream.h +++ b/src/input_stream.h @@ -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 -- cgit v1.2.3