diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2004-07-13 14:14:30 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2004-07-13 14:14:30 +0000 |
commit | a96a130f5ac3753e4e882f2e2a4b8c41f221e704 (patch) | |
tree | ac411b9467e551adda44dc2dcf8898b232a45da3 /apps | |
parent | 0c458c043a2e95cfed15d143ff0053b44b6a425c (diff) | |
download | rockbox-a96a130f5ac3753e4e882f2e2a4b8c41f221e704.tar.gz rockbox-a96a130f5ac3753e4e882f2e2a4b8c41f221e704.zip |
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.c | 1 | ||||
-rw-r--r-- | apps/plugin.h | 1 |
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 = { | |||
146 | snprintf, | 146 | snprintf, |
147 | strcpy, | 147 | strcpy, |
148 | strlen, | 148 | strlen, |
149 | strrchr, | ||
149 | memset, | 150 | memset, |
150 | memcpy, | 151 | memcpy, |
151 | #ifndef SIMULATOR | 152 | #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 { | |||
174 | int (*snprintf)(char *buf, size_t size, const char *fmt, ...); | 174 | int (*snprintf)(char *buf, size_t size, const char *fmt, ...); |
175 | char* (*strcpy)(char *dst, const char *src); | 175 | char* (*strcpy)(char *dst, const char *src); |
176 | size_t (*strlen)(const char *str); | 176 | size_t (*strlen)(const char *str); |
177 | char * (*strrchr)(const char *s, int c); | ||
177 | void* (*memset)(void *dst, int c, size_t length); | 178 | void* (*memset)(void *dst, int c, size_t length); |
178 | void* (*memcpy)(void *out, const void *in, size_t n); | 179 | void* (*memcpy)(void *out, const void *in, size_t n); |
179 | #ifndef SIMULATOR | 180 | #ifndef SIMULATOR |