From d769c3b82b245217703d243b3e83e7d8cb51af1f Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Thu, 3 Mar 2011 12:31:48 +0100 Subject: Fix atom feed paths And convert it to use global path info. --- src/items.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/items.h') 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 -- cgit v1.2.3