From 47f4a458d636a889e955e68f896708f1276febc0 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Tue, 28 Mar 2006 15:44:01 +0000 Subject: Patch #2969 - Doom! Currently only working on the H300. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9312 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'apps/plugin.h') diff --git a/apps/plugin.h b/apps/plugin.h index a2182d6f9b..f9cca6ffc3 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -29,6 +29,7 @@ #define MEM 2 #endif +#include #include #include #include @@ -101,7 +102,7 @@ #define PLUGIN_MAGIC 0x526F634B /* RocK */ /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 16 +#define PLUGIN_API_VERSION 17 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any @@ -479,6 +480,10 @@ struct plugin_api { void (*i2c_end)(void); int (*i2c_write)(int address, unsigned char* buf, int count ); #endif + + int (*vsnprintf)(char *buf, int size, const char *fmt, va_list ap); + void *(*memchr)(const void *s1, int c, size_t n); + bool (*load_main_backdrop)(char* filename); }; /* plugin header */ -- cgit v1.2.3