From 39148b1b6dc6c7a10f7e713ece084b6d5cf27537 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Sun, 16 Feb 2025 20:03:40 +0100 Subject: Initial --- options.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 options.h (limited to 'options.h') diff --git a/options.h b/options.h new file mode 100644 index 0000000..f015c33 --- /dev/null +++ b/options.h @@ -0,0 +1,22 @@ +#pragma once + +#include +#include +#include "filter.h" + + +struct options { + size_t nfilters; + struct filter_rule *filters; + + size_t ncachetags; + char **cachetags; + + char *rootpath; + + int print_depth; + + bool debug; +}; + +struct options parse_options(int argc, char **argv); -- cgit v1.2.3-70-g09d2