summaryrefslogtreecommitdiff
path: root/options.h
blob: f015c335207f6020eb8b5285068d67f3f7fd5267 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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);