summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/plugin.c1
-rw-r--r--apps/plugin.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 983e499..6c487f9 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -146,6 +146,7 @@ static struct plugin_api rockbox_api = {
snprintf,
strcpy,
strlen,
+ strrchr,
memset,
memcpy,
#ifndef SIMULATOR
diff --git a/apps/plugin.h b/apps/plugin.h
index d9b3205..e4ec910 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -174,6 +174,7 @@ struct plugin_api {
int (*snprintf)(char *buf, size_t size, const char *fmt, ...);
char* (*strcpy)(char *dst, const char *src);
size_t (*strlen)(const char *str);
+ char * (*strrchr)(const char *s, int c);
void* (*memset)(void *dst, int c, size_t length);
void* (*memcpy)(void *out, const void *in, size_t n);
#ifndef SIMULATOR