diff options
author | Tom Smeding <tom@tomsmeding.com> | 2025-02-16 20:03:40 +0100 |
---|---|---|
committer | Tom Smeding <tom@tomsmeding.com> | 2025-02-16 20:03:40 +0100 |
commit | 39148b1b6dc6c7a10f7e713ece084b6d5cf27537 (patch) | |
tree | 619c9d951b1356bfc8dcaba45a66166972992170 /options.h |
Initial
Diffstat (limited to 'options.h')
-rw-r--r-- | options.h | 22 |
1 files changed, 22 insertions, 0 deletions
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 <stdbool.h> +#include <stddef.h> +#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); |