summaryrefslogtreecommitdiff
path: root/apps/tagdb/header.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2006-10-25 14:30:45 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2006-10-25 14:30:45 +0000
commite48a0354093a5c7f26d67f5584dfb2f38f680870 (patch)
treeaab8d06f6fa3aa8b8bafe3f8e1a33ad6e0db72cb /apps/tagdb/header.h
parent18755b97c014365387f42ea2acd8e9982982fb00 (diff)
downloadrockbox-e48a0354093a5c7f26d67f5584dfb2f38f680870.zip
rockbox-e48a0354093a5c7f26d67f5584dfb2f38f680870.tar.gz
rockbox-e48a0354093a5c7f26d67f5584dfb2f38f680870.tar.bz2
rockbox-e48a0354093a5c7f26d67f5584dfb2f38f680870.tar.xz
remove the old tagdb source, tagcache replaced this a while ago
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11340 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tagdb/header.h')
-rw-r--r--apps/tagdb/header.h41
1 files changed, 0 insertions, 41 deletions
diff --git a/apps/tagdb/header.h b/apps/tagdb/header.h
deleted file mode 100644
index 28a28d3..0000000
--- a/apps/tagdb/header.h
+++ /dev/null
@@ -1,41 +0,0 @@
-#ifdef HAVE_TAGCACHE
-#ifndef __HEADER_H__
-#define __HEADER_H__
-
-#include "config.h"
-
-#define HEADER_SIZE 68
-
-struct header {
- char magic[3]; // (four bytes: 'R' 'D' 'B' and a byte for version. This is version 2. (0x02)
- unsigned char version;
-
- uint32_t artist_start; // File Offset to the artist table(starting from 0)
- uint32_t album_start; // File Offset to the album table(starting from 0)
- uint32_t song_start; // File Offset of the song table(starting from 0)
- uint32_t file_start; // File Offset to the filename table(starting from 0)
-
- uint32_t artist_count; // Number of artists
- uint32_t album_count; // Number of albums
- uint32_t song_count; // Number of songs
- uint32_t file_count; // Number of File Entries, this is needed for the binary search.
-
- uint32_t artist_len; // Max Length of the artist name field
- uint32_t album_len; // Max Length of the album name field
- uint32_t song_len; // Max Length of the song name field
- uint32_t genre_len; // Max Length of the genre field
- uint32_t file_len; // Max Length of the filename field.
-
- uint32_t song_array_count; // Number of entries in songs-per-album array
- uint32_t album_array_count; // Number of entries in albums-per-artist array
-
- struct {
- unsigned reserved : 31; // must be 0
- unsigned rundb_dirty : 1; // if the TagDatabase in unsynchronized with the RuntimeDatabase, 0 if synchronized.
- } flags;
-};
-
-int header_write(FILE *fd, const struct header *header);
-
-#endif
-#endif