From cbcbec11d55666e4ecc268e7ce70cf4c8b6c29dd Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Sun, 7 Oct 2007 11:33:30 +0000 Subject: * 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 --- src/itdb_private.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/itdb_private.h') 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 -- cgit