summaryrefslogtreecommitdiff
path: root/src/items.h
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2011-03-03 12:31:48 +0100
committerTomas Bzatek <tbzatek@users.sourceforge.net>2011-03-03 12:31:48 +0100
commitd769c3b82b245217703d243b3e83e7d8cb51af1f (patch)
tree5901a0da4b32a583eed61deb309e9417150afba5 /src/items.h
parent45b9708729828f944c07f8b99e7001490261cc53 (diff)
downloadcataract-d769c3b82b245217703d243b3e83e7d8cb51af1f.tar.xz
Fix atom feed paths
And convert it to use global path info.
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