/*
* Geeqie
* (C) 2004 John Ellis
- * Copyright (C) 2008 - 2010 The Geeqie Team
+ * Copyright (C) 2008 - 2012 The Geeqie Team
*
* Author: John Ellis
*
#define DEBUG_FILEDATA
#endif
+#define FD_MAGICK 0x12345678u
+
gchar *text_from_size(gint64 size);
gchar *text_from_size_abrev(gint64 size);
const gchar *text_from_time(time_t t);
/* scan for sidecar files - expensive */
-FileData *file_data_new_simple(const gchar *path_utf8);
+FileData *file_data_new_group(const gchar *path_utf8);
/* should be used on helper files which can't have sidecars */
FileData *file_data_new_no_grouping(const gchar *path_utf8);
void file_data_unref(FileData *fd);
#endif
+void file_data_lock(FileData *fd);
+void file_data_unlock(FileData *fd);
+void file_data_lock_list(GList *list);
+void file_data_unlock_list(GList *list);
+
gboolean file_data_check_changed_files(FileData *fd);
void file_data_increment_version(FileData *fd);