From f08041f0eb8512304584b583073508629a934c88 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 26 Oct 2008 20:38:44 +0100 Subject: input_stream: added struct input_plugin Instead of managing a set of method pointers in each input_stream struct, move these into the new input_plugin struct. Each input_stream has only a pointer to the plugin struct. Pointers to all implementations are kept in the array "input_plugins". --- src/input_file.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/input_file.h') diff --git a/src/input_file.h b/src/input_file.h index 8e25ff113..4374f0988 100644 --- a/src/input_file.h +++ b/src/input_file.h @@ -21,7 +21,6 @@ #include "input_stream.h" -int -input_file_open(struct input_stream *is, char *filename); +extern const struct input_plugin input_plugin_file; #endif -- cgit v1.2.3