From 6a8bbbf82e21d90ef3609aae5046aef54024b5e0 Mon Sep 17 00:00:00 2001 From: Galin Simeonov Date: Fri, 1 Oct 2021 14:05:00 +0300 Subject: Added tree like output --- system_part.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'system_part.h') 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, ...); -- cgit v1.2.3