diff options
Diffstat (limited to 'apps/codecs.h')
-rw-r--r-- | apps/codecs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/codecs.h b/apps/codecs.h index cef14c3971..730bacb6df 100644 --- a/apps/codecs.h +++ b/apps/codecs.h | |||
@@ -90,12 +90,12 @@ | |||
90 | #define CODEC_ENC_MAGIC 0x52454E43 /* RENC */ | 90 | #define CODEC_ENC_MAGIC 0x52454E43 /* RENC */ |
91 | 91 | ||
92 | /* increase this every time the api struct changes */ | 92 | /* increase this every time the api struct changes */ |
93 | #define CODEC_API_VERSION 10 | 93 | #define CODEC_API_VERSION 11 |
94 | 94 | ||
95 | /* update this to latest version if a change to the api struct breaks | 95 | /* update this to latest version if a change to the api struct breaks |
96 | backwards compatibility (and please take the opportunity to sort in any | 96 | backwards compatibility (and please take the opportunity to sort in any |
97 | new function which are "waiting" at the end of the function table) */ | 97 | new function which are "waiting" at the end of the function table) */ |
98 | #define CODEC_MIN_API_VERSION 10 | 98 | #define CODEC_MIN_API_VERSION 11 |
99 | 99 | ||
100 | /* codec return codes */ | 100 | /* codec return codes */ |
101 | enum codec_status { | 101 | enum codec_status { |
@@ -174,7 +174,7 @@ struct codec_api { | |||
174 | int (*close)(int fd); | 174 | int (*close)(int fd); |
175 | ssize_t (*read)(int fd, void* buf, size_t count); | 175 | ssize_t (*read)(int fd, void* buf, size_t count); |
176 | off_t (*PREFIX(lseek))(int fd, off_t offset, int whence); | 176 | off_t (*PREFIX(lseek))(int fd, off_t offset, int whence); |
177 | int (*PREFIX(creat))(const char *pathname, mode_t mode); | 177 | int (*PREFIX(creat))(const char *pathname); |
178 | ssize_t (*write)(int fd, const void* buf, size_t count); | 178 | ssize_t (*write)(int fd, const void* buf, size_t count); |
179 | int (*PREFIX(remove))(const char* pathname); | 179 | int (*PREFIX(remove))(const char* pathname); |
180 | int (*PREFIX(rename))(const char* path, const char* newname); | 180 | int (*PREFIX(rename))(const char* path, const char* newname); |