summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 9123af44ec..0aacd4e5fa 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -113,7 +113,7 @@
113#define PLUGIN_MAGIC 0x526F634B /* RocK */ 113#define PLUGIN_MAGIC 0x526F634B /* RocK */
114 114
115/* increase this every time the api struct changes */ 115/* increase this every time the api struct changes */
116#define PLUGIN_API_VERSION 89 116#define PLUGIN_API_VERSION 90
117 117
118/* update this to latest version if a change to the api struct breaks 118/* update this to latest version if a change to the api struct breaks
119 backwards compatibility (and please take the opportunity to sort in any 119 backwards compatibility (and please take the opportunity to sort in any
@@ -645,6 +645,10 @@ struct plugin_api {
645#ifdef PROC_NEEDS_CACHEALIGN 645#ifdef PROC_NEEDS_CACHEALIGN
646 size_t (*align_buffer)(void **start, size_t size, size_t align); 646 size_t (*align_buffer)(void **start, size_t size, size_t align);
647#endif 647#endif
648
649 bool (*file_exists)(const char *file);
650 bool (*dir_exists)(const char *path);
651
648}; 652};
649 653
650/* plugin header */ 654/* plugin header */