summaryrefslogtreecommitdiffstats
path: root/system_part.h
diff options
context:
space:
mode:
authorGalin Simeonov <gts@volconst.com>2021-10-01 14:05:00 +0300
committerGalin Simeonov <gts@volconst.com>2021-10-01 14:05:00 +0300
commit6a8bbbf82e21d90ef3609aae5046aef54024b5e0 (patch)
treeb161f1d3b556295807cb5e8388e72bc9441ce25b /system_part.h
parentf66d8e2562ec885c29a578956bf092a1e48cd9da (diff)
downloadvolgit-6a8bbbf82e21d90ef3609aae5046aef54024b5e0.tar.gz
Added tree like output
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, ...);