music-player.c \
notify.c
-disk-monitor: disk-monitor.o dbindex.o dbmarshal.o notify.o
-disk-indexer: disk-indexer.o dbindex.o dbmarshal.o notify.o analyse.o
+disk-monitor: disk-monitor.o dbindex.o dbmarshal.o blobs.o notify.o
+disk-indexer: disk-indexer.o dbindex.o dbmarshal.o blobs.o notify.o analyse.o
audio-cmd: audio-cmd.o notify.o blobs.o
-music-player: music-player.o notify.o dbindex.o dbmarshal.o
+music-player: music-player.o notify.o dbindex.o dbmarshal.o blobs.o
input-monitor: input-monitor.o notify.o blobs.o
-disk-util: disk-util.o dbindex.o dbmarshal.o
-http-monitor: http-monitor.o dbindex.o notify.o dbmarshal.o ../libeze/libeze.a
+disk-util: disk-util.o dbindex.o dbmarshal.o blobs.o
+http-monitor: http-monitor.o dbindex.o notify.o dbmarshal.o blobs.o ../libeze/libeze.a
dbindex.o: dbmarshal.h
// prototype
void dblist_dump(dbtxn *txn, dbindex *db);
-ez_blob_desc DBDISK_DESC[] = {
- EZ_BLOB_START(dbdisk, 1, 4),
- EZ_BLOB_STRING(dbdisk, 1, uuid),
- EZ_BLOB_STRING(dbdisk, 2, label),
- EZ_BLOB_STRING(dbdisk, 3, type),
- EZ_BLOB_STRING(dbdisk, 4, mount),
-};
-
-ez_blob_desc DBFILE_DESC[] = {
- EZ_BLOB_START(dbfile, 2, 7),
- EZ_BLOB_INT32(dbfile, 1, diskid),
- EZ_BLOB_INT64(dbfile, 2, size),
- EZ_BLOB_INT64(dbfile, 3, mtime),
- EZ_BLOB_INT64(dbfile, 4, duration),
- EZ_BLOB_STRING(dbfile, 5, path),
- EZ_BLOB_STRING(dbfile, 6, title),
- EZ_BLOB_STRING(dbfile, 7, artist),
- EZ_BLOB_TRANSIENTP(dbfile, 8, full_path),
-};
-
/*
TODO: playlist should be linked list
uint32_t seq;
};
-ez_blob_desc DBLIST_DESC[] = {
- EZ_BLOB_START(dblist, 3, 3),
- EZ_BLOB_INT32(dblist, 1, size),
- EZ_BLOB_STRING(dblist, 2, name),
- EZ_BLOB_STRING(dblist, 3, comment),
-};
-
struct dbindex {
int res; // last result