25 lines
338 B
C
25 lines
338 B
C
#ifndef ARG_H
|
|
#define ARG_H
|
|
#include <stdbool.h>
|
|
|
|
#define LAT_VERSION "0.12.2"
|
|
|
|
struct config {
|
|
bool isstdin;
|
|
bool process;
|
|
bool color;
|
|
bool lines;
|
|
bool headers;
|
|
int force_binary;
|
|
bool literal;
|
|
bool pager;
|
|
char *name;
|
|
bool has_read_stdin;
|
|
};
|
|
|
|
extern struct config conf;
|
|
|
|
int parseargs(int argc, char *argv[]);
|
|
|
|
#endif
|