summaryrefslogtreecommitdiffstats
path: root/system_part.h
diff options
context:
space:
mode:
Diffstat (limited to 'system_part.h')
-rw-r--r--system_part.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/system_part.h b/system_part.h
index 3949d8b..9c4cc26 100644
--- a/system_part.h
+++ b/system_part.h
@@ -10,11 +10,12 @@
#define NO_TREE_CUTOFF -1
+#define MAX_CUTOFF 1024
extern const char *const default_header;
extern const char *const default_footer;
-extern struct Volgit_Options
+extern struct Volgit_State
{
const char *input_path;
const char *output_path;
@@ -26,7 +27,7 @@ extern struct Volgit_Options
int output_dir_fd;
int tree_cutoff; /*-1 means no cutoff*/
_Bool output_is_tree_like;
-}options;
+}state;
void die(const char *format, ...);