summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@rockbox.org>2006-04-17 20:32:25 +0000
committerBrandon Low <lostlogic@rockbox.org>2006-04-17 20:32:25 +0000
commit5286c7ddb8d9744ef3acad7d59dff26130c981d5 (patch)
tree2ed1e68e78aafdada2ad6fcef6deb9c9f67a54a3 /firmware/export
parent095ae809eb634d239a98db47c90d92dc302a2283 (diff)
downloadrockbox-5286c7ddb8d9744ef3acad7d59dff26130c981d5.zip
rockbox-5286c7ddb8d9744ef3acad7d59dff26130c981d5.tar.gz
rockbox-5286c7ddb8d9744ef3acad7d59dff26130c981d5.tar.bz2
rockbox-5286c7ddb8d9744ef3acad7d59dff26130c981d5.tar.xz
Add copy and adjust helper for mp3entry struct as it is 1) not copy safe and 2) nonobvious that its not copy safe
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9709 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/id3.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/export/id3.h b/firmware/export/id3.h
index 3849404..cc0d422 100644
--- a/firmware/export/id3.h
+++ b/firmware/export/id3.h
@@ -138,5 +138,7 @@ bool mp3info(struct mp3entry *entry, const char *filename, bool v1first);
char* id3_get_genre(const struct mp3entry* id3);
char* id3_get_codec(const struct mp3entry* id3);
int getid3v2len(int fd);
+void adjust_mp3entry(struct mp3entry *entry, void *dest, void *orig);
+void copy_mp3entry(struct mp3entry *dest, struct mp3entry *orig);
#endif