blob: 402e492682a0265fc75ed03e79227b46a6504bb3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#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;
char *treeroot; // relative within rootpath (or NULL)
int print_depth;
bool debug;
};
struct options parse_options(int argc, char **argv);
|