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, 3 insertions, 3 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 70b5ebf354..ad09a71049 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -110,12 +110,12 @@
110#define PLUGIN_MAGIC 0x526F634B /* RocK */ 110#define PLUGIN_MAGIC 0x526F634B /* RocK */
111 111
112/* increase this every time the api struct changes */ 112/* increase this every time the api struct changes */
113#define PLUGIN_API_VERSION 41 113#define PLUGIN_API_VERSION 42
114 114
115/* update this to latest version if a change to the api struct breaks 115/* update this to latest version if a change to the api struct breaks
116 backwards compatibility (and please take the opportunity to sort in any 116 backwards compatibility (and please take the opportunity to sort in any
117 new function which are "waiting" at the end of the function table) */ 117 new function which are "waiting" at the end of the function table) */
118#define PLUGIN_MIN_API_VERSION 41 118#define PLUGIN_MIN_API_VERSION 42
119 119
120/* plugin return codes */ 120/* plugin return codes */
121enum plugin_status { 121enum plugin_status {
@@ -300,7 +300,7 @@ struct plugin_api {
300 int (*close)(int fd); 300 int (*close)(int fd);
301 ssize_t (*read)(int fd, void* buf, size_t count); 301 ssize_t (*read)(int fd, void* buf, size_t count);
302 off_t (*PREFIX(lseek))(int fd, off_t offset, int whence); 302 off_t (*PREFIX(lseek))(int fd, off_t offset, int whence);
303 int (*PREFIX(creat))(const char *pathname, mode_t mode); 303 int (*PREFIX(creat))(const char *pathname);
304 ssize_t (*write)(int fd, const void* buf, size_t count); 304 ssize_t (*write)(int fd, const void* buf, size_t count);
305 int (*PREFIX(remove))(const char* pathname); 305 int (*PREFIX(remove))(const char* pathname);
306 int (*PREFIX(rename))(const char* path, const char* newname); 306 int (*PREFIX(rename))(const char* path, const char* newname);