summaryrefslogtreecommitdiff
path: root/src/setup.h
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2009-04-11 12:59:58 +0200
committerTomas Bzatek <tbzatek@users.sourceforge.net>2009-04-11 12:59:58 +0200
commit6a54c7817bb71fde9234e7b89e87f1f349920ea1 (patch)
tree07b8766f2369a0f169524a7bc3da1423e4115a30 /src/setup.h
parent4f83d66c4fe13f605c6fd43789b998f08ce5c108 (diff)
downloadcataract-6a54c7817bb71fde9234e7b89e87f1f349920ea1.tar.xz
User customizable image directories
Diffstat (limited to 'src/setup.h')
-rw-r--r--src/setup.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/setup.h b/src/setup.h
index 7fb32bd..4cd2629 100644
--- a/src/setup.h
+++ b/src/setup.h
@@ -23,9 +23,9 @@
/* Directory names */
-#define THUMBNAIL_DIR "_thumb"
-#define IMG_BIG_DIR "_big"
-#define IMG_ORIG_DIR "_orig"
+#define DEFAULT_THUMBNAIL_DIR "_thumb"
+#define DEFAULT_IMG_BIG_DIR "_big"
+#define DEFAULT_IMG_ORIG_DIR "_orig"
#define SETUP_XML "setup.xml"
#define DEFAULT_INDEX_FILENAME "index.html"
@@ -46,6 +46,9 @@ typedef struct {
char **template_files;
gboolean support_files_use_common_root;
char *index_file_name;
+ char *thumbnail_dir;
+ char *img_big_dir;
+ char *img_orig_dir;
char *footer;
char *meta_author;