diff sidlib.h @ 101:9d4d1783800b

Add si_sldb_{read,write}_bin() functions to write and read a binary format SLDB database, which is faster than parsing Songlengths.txt.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 15 Feb 2016 01:20:37 +0200
parents be62e4abe3a9
children c1462b7880e8
line wrap: on
line diff
--- a/sidlib.h	Mon Feb 15 00:28:50 2016 +0200
+++ b/sidlib.h	Mon Feb 15 01:20:37 2016 +0200
@@ -103,6 +103,9 @@
 void            si_sldb_free(SIDLibSLDB *dbh);
 SIDLibSLDBNode *si_sldb_get_by_hash(SIDLibSLDB *dbh, th_md5hash_t hash);
 
+int si_sldb_read_bin(th_ioctx *ctx, SIDLibSLDB *dbh);
+int si_sldb_write_bin(th_ioctx *ctx, SIDLibSLDB *dbh);
+
 
 #ifdef __cplusplus
 }