diff options
author | Christophe Fergeau <teuf@gnome.org> | 2007-10-07 11:33:30 +0000 |
---|---|---|
committer | Christophe Fergeau <teuf@gnome.org> | 2007-10-07 11:33:30 +0000 |
commit | cbcbec11d55666e4ecc268e7ce70cf4c8b6c29dd (patch) | |
tree | 3e73ca8d96ce70c2c1636953c25e8706db08cfdc /src/itdb_private.h | |
parent | 968fcb7563fc24bf8c4bf4d5d3edb76c514d2e03 (diff) | |
download | libgpod-tmz-cbcbec11d55666e4ecc268e7ce70cf4c8b6c29dd.tar.gz libgpod-tmz-cbcbec11d55666e4ecc268e7ce70cf4c8b6c29dd.tar.xz libgpod-tmz-cbcbec11d55666e4ecc268e7ce70cf4c8b6c29dd.zip |
* src/itdb_device.c: (itdb_device_requires_checksum):
* src/itdb_itunesdb.c: (write_db_checksum):
* src/itdb_private.h: add an itdb_device_requires_checksum function so
that we only error out because of checksum writing issues on ipods which
require a checksum. Ideally, we should restore the old file when there is
a fatal checksum writing error, but libgpod isn't currently doing that
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1722 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src/itdb_private.h')
-rw-r--r-- | src/itdb_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/itdb_private.h b/src/itdb_private.h index f3951bb..e87dc67 100644 --- a/src/itdb_private.h +++ b/src/itdb_private.h @@ -156,4 +156,5 @@ G_GNUC_INTERNAL time_t device_time_mac_to_time_t (Itdb_Device *device, G_GNUC_INTERNAL guint64 device_time_time_t_to_mac (Itdb_Device *device, time_t timet); G_GNUC_INTERNAL gint itdb_musicdirs_number_by_mountpoint (const gchar *mountpoint); +G_GNUC_INTERNAL gboolean itdb_device_requires_checksum (Itdb_Device *device); #endif |