Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * src/itdb_itunesdb.c: (calculate_db_checksum), | Christophe Fergeau | 2007-09-27 | 1 | -1/+1 |
| | | | | | | | | | | | (itdb_write_checksum): * src/itdb_sha1.c: (itdb_compute_hash): * src/itdb_sha1.h: propagate the calculated checksum length as an out parameter to the checksumming functions, fixes a bug where a partial checksum would be written if it contained a \0 * tests/test-checksum.c: (calculate_db_checksum): update test program to that API change git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1702 f01d2545-417e-4e96-918e-98f8d0dbbcb6 | ||||
* | ** code courtesy of Christophe Fergeau ** | Jorg Schuler | 2007-09-24 | 1 | -0/+37 |
* 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 |