summaryrefslogtreecommitdiffstats
path: root/src/itdb_device.h
diff options
context:
space:
mode:
authorJorg Schuler <jcsjcs@users.sourceforge.net>2007-09-24 14:59:33 +0000
committerJorg Schuler <jcsjcs@users.sourceforge.net>2007-09-24 14:59:33 +0000
commitd06a947f4e79cb6888937c4ddac48815f2f3e0ae (patch)
tree4f335a85ef383828ec9d6979fa78fc40a23af043 /src/itdb_device.h
parenta6e868360f213f1684632632192a5e03179dd767 (diff)
downloadlibgpod-tmz-d06a947f4e79cb6888937c4ddac48815f2f3e0ae.tar.gz
libgpod-tmz-d06a947f4e79cb6888937c4ddac48815f2f3e0ae.tar.xz
libgpod-tmz-d06a947f4e79cb6888937c4ddac48815f2f3e0ae.zip
** code courtesy of Christophe Fergeau **
* src/itdb_itunesdb.c (mk_mhbd): write extended header needed for new iPod Nanos (3G Video) and iPod Classics. src/itdb_device.c src/itdb_device.h: Code to parse SysInfoExtended and SysInfo for the FireWireGUID. You must either copy the iPod description XML file to Device/SysInfoExtended or add a line 'FirewireGuid: 000A27....' to Device/SysInfo. You can get your FirewireGuid by using the tests/test-fw-id test program. * src/sha1.c src/sha1.h src/itdb_sha1.c src/itdb_sha1.h New files for obscure hash generation code. * src/Makefile.am: added new files. * tests/test-checksum.c tests/test-fw-id.c tests/Makefile.am: test programs to retrieve the FirewireGuid and calculate/write the obscure hash. git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1698 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src/itdb_device.h')
-rw-r--r--src/itdb_device.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/itdb_device.h b/src/itdb_device.h
index 2c11630..904dca3 100644
--- a/src/itdb_device.h
+++ b/src/itdb_device.h
@@ -100,6 +100,10 @@ struct _Itdb_ArtworkFormat
G_GNUC_INTERNAL const Itdb_ArtworkFormat *itdb_device_get_artwork_formats (Itdb_Device *device);
G_GNUC_INTERNAL gint itdb_device_musicdirs_number (Itdb_Device *device);
G_GNUC_INTERNAL void itdb_device_autodetect_endianess (Itdb_Device *device);
+G_GNUC_INTERNAL gboolean itdb_device_read_sysinfo_xml (Itdb_Device *device,
+ GError **error);
+G_GNUC_INTERNAL guint64 itdb_device_get_firewire_id (Itdb_Device *device);
+
G_END_DECLS
#endif