summaryrefslogtreecommitdiff
path: root/apps/open_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/open_plugin.h')
-rw-r--r--apps/open_plugin.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/open_plugin.h b/apps/open_plugin.h
index 62e3662849..847a834c0c 100644
--- a/apps/open_plugin.h
+++ b/apps/open_plugin.h
@@ -64,7 +64,6 @@ struct open_plugin_entry_t
64 offsetof(struct open_plugin_entry_t, lang_id) + \ 64 offsetof(struct open_plugin_entry_t, lang_id) + \
65 offsetof(struct open_plugin_entry_t, checksum) + \ 65 offsetof(struct open_plugin_entry_t, checksum) + \
66 offsetof(struct open_plugin_entry_t, name) + \ 66 offsetof(struct open_plugin_entry_t, name) + \
67 /*offsetof(struct open_plugin_entry_t, key)+*/ \
68 offsetof(struct open_plugin_entry_t, path) + \ 67 offsetof(struct open_plugin_entry_t, path) + \
69 offsetof(struct open_plugin_entry_t, param)) 68 offsetof(struct open_plugin_entry_t, param))
70 69
@@ -79,9 +78,9 @@ inline static void open_plugin_get_hash(const char *key, uint32_t *hash)
79} 78}
80 79
81#ifndef PLUGIN 80#ifndef PLUGIN
82extern struct open_plugin_entry_t open_plugin_entry; 81struct open_plugin_entry_t* open_plugin_get_entry(void);
83uint32_t open_plugin_add_path(const char *key, const char *plugin, const char *parameter); 82uint32_t open_plugin_add_path(const char *key, const char *plugin, const char *parameter);
84int open_plugin_get_entry(const char *key, struct open_plugin_entry_t *entry); 83int open_plugin_load_entry(const char *key);
85void open_plugin_browse(const char *key); 84void open_plugin_browse(const char *key);
86int open_plugin_run(const char *key); 85int open_plugin_run(const char *key);
87void open_plugin_cache_flush(void); /* flush to disk */ 86void open_plugin_cache_flush(void); /* flush to disk */