aboutsummaryrefslogtreecommitdiff
path: root/include/arg.h
blob: 5c45800e80a398bb862ed47873ba2d4635c6e8f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef ARG_H
#define ARG_H
#include <stdbool.h>

#define LAT_VERSION "0.8.1"

struct config {
  bool stdin;
  bool process;
  bool color;
  bool lines;
  bool force_binary;
  bool has_read_stdin;
};

extern struct config conf;

int parseargs(int argc, char *argv[]);

#endif