summaryrefslogtreecommitdiff
path: root/src/items.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/items.h')
-rw-r--r--src/items.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/items.h b/src/items.h
index 6aad2a8..e83961a 100644
--- a/src/items.h
+++ b/src/items.h
@@ -74,17 +74,18 @@ typedef struct {
} TIndexItem;
typedef struct {
- gchar *source_root;
- gchar *dest_root;
- gchar *src_dir;
- gchar *dest_dir;
+ gchar *source_root; /* relative or absolute path of the source root */
+ gchar *dest_root; /* relative or absolute path of the output directory */
+ gchar *src_dir; /* album source directory */
+ gchar *dest_dir; /* album output directory */
+ gchar *album_path; /* current path in the gallery hierarchy, starting with '/' */
} TPathInfo;
/*
* parse_album_xml: XML parser for gallery index.xml files
*/
-TAlbum * parse_album_xml (const gchar *filename);
+TAlbum * parse_album_xml (const gchar *filename, TPathInfo *path_info);
/*
* free_album_data: free allocated album data