From 5286c7ddb8d9744ef3acad7d59dff26130c981d5 Mon Sep 17 00:00:00 2001 From: Brandon Low Date: Mon, 17 Apr 2006 20:32:25 +0000 Subject: 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 --- firmware/export/id3.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'firmware/export/id3.h') diff --git a/firmware/export/id3.h b/firmware/export/id3.h index 38494044fa..cc0d422e7a 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 -- cgit v1.2.3