diff sidlib.h @ 88:c5ff71d64e53

More work on sidlib SLDB code.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 12 Feb 2016 01:13:48 +0200
parents e1ff9cd27a84
children 03d8ae1e16e1
line wrap: on
line diff
--- a/sidlib.h	Fri Feb 12 00:13:27 2016 +0200
+++ b/sidlib.h	Fri Feb 12 01:13:48 2016 +0200
@@ -20,7 +20,6 @@
 #define PSID_MAGIC_LEN    4
 #define PSID_STR_LEN      32
 #define PSID_BUFFER_SIZE  (1024 * 16)
-#define PSID_BUFFER2_SIZE (1024)
 
 
 typedef struct _SIDLibSLDBNode
@@ -66,6 +65,8 @@
     size_t dataSize;     // Total size of data - header
     th_md5hash_t hash;   // Songlength database hash
 
+    SIDLibSLDBNode *lengths; // Songlength information node pointer
+
 } PSIDHeader;
 
 
@@ -96,6 +97,7 @@
 const char *    si_get_sid_clock_str(const int flags);
 const char *    si_get_sid_model_str(const int flags);
 
+SIDLibSLDB *    si_sldb_new(void);
 int             si_sldb_read(th_ioctx *ctx, SIDLibSLDB *dbh);
 int             si_sldb_build_index(SIDLibSLDB *dbh);
 void            si_sldb_free(SIDLibSLDB *dbh);