diff options
Diffstat (limited to 'apps/open_plugin.h')
-rw-r--r-- | apps/open_plugin.h | 5 |
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 |
82 | extern struct open_plugin_entry_t open_plugin_entry; | 81 | struct open_plugin_entry_t* open_plugin_get_entry(void); |
83 | uint32_t open_plugin_add_path(const char *key, const char *plugin, const char *parameter); | 82 | uint32_t open_plugin_add_path(const char *key, const char *plugin, const char *parameter); |
84 | int open_plugin_get_entry(const char *key, struct open_plugin_entry_t *entry); | 83 | int open_plugin_load_entry(const char *key); |
85 | void open_plugin_browse(const char *key); | 84 | void open_plugin_browse(const char *key); |
86 | int open_plugin_run(const char *key); | 85 | int open_plugin_run(const char *key); |
87 | void open_plugin_cache_flush(void); /* flush to disk */ | 86 | void open_plugin_cache_flush(void); /* flush to disk */ |