aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_list.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/decoder_list.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/decoder_list.h b/src/decoder_list.h
index ea3eb7f92..2e18438fb 100644
--- a/src/decoder_list.h
+++ b/src/decoder_list.h
@@ -24,18 +24,19 @@
struct decoder_plugin;
/* individual functions to load/unload plugins */
-void decoder_plugin_load(struct decoder_plugin * inputPlugin);
-void decoder_plugin_unload(struct decoder_plugin * inputPlugin);
+void decoder_plugin_load(struct decoder_plugin *inputPlugin);
+void decoder_plugin_unload(struct decoder_plugin *inputPlugin);
/* interface for using plugins */
-struct decoder_plugin *decoder_plugin_from_suffix(const char *suffix,
- unsigned int next);
+const struct decoder_plugin *
+decoder_plugin_from_suffix(const char *suffix, unsigned int next);
-struct decoder_plugin *decoder_plugin_from_mime_type(const char *mimeType,
- unsigned int next);
+const struct decoder_plugin *
+decoder_plugin_from_mime_type(const char *mimeType, unsigned int next);
-struct decoder_plugin *decoder_plugin_from_name(const char *name);
+const struct decoder_plugin *
+decoder_plugin_from_name(const char *name);
void decoder_plugin_print_all_suffixes(FILE * fp);