summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 2585d17205..fc3da61c57 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -49,6 +49,7 @@
49 49
50char* strncpy(char *, const char *, size_t); 50char* strncpy(char *, const char *, size_t);
51void* plugin_get_buffer(size_t *buffer_size); 51void* plugin_get_buffer(size_t *buffer_size);
52int plugin_open(char *plugin, char *parameter);
52 53
53#ifndef __PCTOOL__ 54#ifndef __PCTOOL__
54#include "config.h" 55#include "config.h"
@@ -172,6 +173,7 @@ enum plugin_status {
172 PLUGIN_USB_CONNECTED = INTERNAL_PLUGIN_RETVAL_START, 173 PLUGIN_USB_CONNECTED = INTERNAL_PLUGIN_RETVAL_START,
173 PLUGIN_POWEROFF, 174 PLUGIN_POWEROFF,
174 PLUGIN_GOTO_WPS, 175 PLUGIN_GOTO_WPS,
176 PLUGIN_GOTO_PLUGIN,
175 PLUGIN_ERROR = -1, 177 PLUGIN_ERROR = -1,
176}; 178};
177 179
@@ -934,6 +936,7 @@ struct plugin_api {
934#ifdef HAVE_TAGCACHE 936#ifdef HAVE_TAGCACHE
935 struct tagcache_stat* (*tagcache_get_stat)(void); 937 struct tagcache_stat* (*tagcache_get_stat)(void);
936#endif 938#endif
939 int (*plugin_open)(char *path, char *parameter);
937 940
938}; 941};
939 942