summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-07-13 14:14:30 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-07-13 14:14:30 +0000
commita96a130f5ac3753e4e882f2e2a4b8c41f221e704 (patch)
treeac411b9467e551adda44dc2dcf8898b232a45da3 /apps
parent0c458c043a2e95cfed15d143ff0053b44b6a425c (diff)
Added strrchr() to the plugin API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4873 a1c6a512-1295-4272-9138-f99709370657
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 983e4991b9..6c487f97fe 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 d9b32055d6..e4ec910006 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