summaryrefslogtreecommitdiff
path: root/src/items.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/items.h')
-rw-r--r--src/items.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/items.h b/src/items.h
index 5b350b9..15baeae 100644
--- a/src/items.h
+++ b/src/items.h
@@ -109,9 +109,9 @@ TAlbum * parse_album_xml (const gchar *filename, TPathInfo *path_info);
void free_album_data (TAlbum *index);
/*
- * get_album_objects_count: retrieve number of items in specified album
+ * get_album_info: retrieve number of items and protected status in the specified album
*/
-int get_album_objects_count (const gchar *filename);
+void get_album_info (const gchar *filename, int *objects_count, gboolean *protected);
/*
* get_album_titles: retrieve title, description and first thumbnail from specified album
@@ -128,6 +128,16 @@ TGalleryType get_child_gallery_type (const gchar *filename);
*/
void free_path_info (TPathInfo *path_info);
+/*
+ * dup_index_item: duplicates the item structure or returns NULL if item == NULL
+ */
+TIndexItem *dup_index_item (TIndexItem *item);
+
+/*
+ * free_index_item: frees all memory used by item
+ */
+void free_index_item (TIndexItem *item);
+
G_END_DECLS
#endif /* __CGG__ITEMS_H__ */