aboutsummaryrefslogtreecommitdiff
path: root/include/options.h
diff options
context:
space:
mode:
authorThorsten Töpper <atsutane@freethoughts.de>2026-02-22 22:15:38 +0100
committerThorsten Töpper <atsutane@freethoughts.de>2026-02-22 22:15:38 +0100
commit7ec726e5b4fbddc7b72907fec3fa612a0b1bd570 (patch)
tree5c217bf2fc20273ace7fcb2d2287567f7d532518 /include/options.h
parent1a927eb75dee00d9aada43256d6780a53fce46dd (diff)
downloadduplicate_finder-7ec726e5b4fbddc7b72907fec3fa612a0b1bd570.tar.gz
duplicate_finder-7ec726e5b4fbddc7b72907fec3fa612a0b1bd570.tar.bz2
options added
Diffstat (limited to 'include/options.h')
-rw-r--r--include/options.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/options.h b/include/options.h
index 5a7747e..7e8ec38 100644
--- a/include/options.h
+++ b/include/options.h
@@ -19,9 +19,18 @@
/* === GLOBAL VARIABLES === */
+enum operation_modes {
+ MODE_SCAN,
+ MODE_ANALYZE_DB,
+ MODE_DEV_MESSED_UP
+};
+
extern bool option_quiet;
extern bool option_show_hidden_entries;
-
+extern bool option_clean_kv;
+extern char *option_gdbm_db_name;
+extern char *option_sqlite_db_name;
+extern enum operation_modes option_mode;
int parse_arguments(int argc, char **argv);
void set_option(const char *option_name, char *option_argument);