summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 1f7cfa28ef..6dd81caf7e 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -130,7 +130,7 @@ void* plugin_get_buffer(size_t *buffer_size);
130#define PLUGIN_MAGIC 0x526F634B /* RocK */ 130#define PLUGIN_MAGIC 0x526F634B /* RocK */
131 131
132/* increase this every time the api struct changes */ 132/* increase this every time the api struct changes */
133#define PLUGIN_API_VERSION 123 133#define PLUGIN_API_VERSION 124
134 134
135/* update this to latest version if a change to the api struct breaks 135/* update this to latest version if a change to the api struct breaks
136 backwards compatibility (and please take the opportunity to sort in any 136 backwards compatibility (and please take the opportunity to sort in any
@@ -763,6 +763,15 @@ struct plugin_api {
763 char *buf, int buflen); 763 char *buf, int buflen);
764#endif 764#endif
765 765
766 void (*thread_thaw)(struct thread_entry *thread);
767 void (*semaphore_init)(struct semaphore *s, int max, int start);
768 void (*semaphore_wait)(struct semaphore *s);
769 void (*semaphore_release)(struct semaphore *s);
770 void (*event_init)(struct event *e, unsigned int flags);
771 void (*event_wait)(struct event *e, unsigned int for_state);
772 void (*event_set_state)(struct event *e, unsigned int state);
773
774
766 /* new stuff at the end, sort into place next time 775 /* new stuff at the end, sort into place next time
767 the API gets incompatible */ 776 the API gets incompatible */
768 777