summaryrefslogtreecommitdiffstats
path: root/system_part.h
diff options
context:
space:
mode:
Diffstat (limited to 'system_part.h')
-rw-r--r--system_part.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/system_part.h b/system_part.h
index 0cc6139..3949d8b 100644
--- a/system_part.h
+++ b/system_part.h
@@ -8,16 +8,24 @@
#include <stdarg.h>
#include <string.h>
-extern const char *default_header;
-extern const char *default_footer;
+
+#define NO_TREE_CUTOFF -1
+
+extern const char *const default_header;
+extern const char *const default_footer;
extern struct Volgit_Options
{
const char *input_path;
const char *output_path;
+
+ /*pointers to the actual text from the header and footer files*/
const char *header;
const char *footer;
+
int output_dir_fd;
+ int tree_cutoff; /*-1 means no cutoff*/
+ _Bool output_is_tree_like;
}options;
void die(const char *format, ...);