finish -l and -L, update man page
[forkaftergrep.git] / fag.h
1 #ifndef __FAG_H__
2 #define __FAG_H__
3
4 #define PROGRNAME "fag"
5 #define VERSION "1.2"
6 #define AUTHOR "Tobias Girstmair"
7 #define YEAR "2018"
8 #define LICENSE "GNU GPLv3"
9
10 #define BUF_SIZE 4096
11
12 #define USAGE "Usage: %s [OPTION]... PATTERN PROGRAM [ARG]...\n"
13 #define VERTEXT ""PROGRNAME" "VERSION"\t(C) "YEAR" "AUTHOR", "LICENSE"\n"
14
15 struct opt {
16 int timeout;
17 int kill_sig;
18 int verbose;
19 char* pattern;
20 char** argv;
21 char* logout;
22 char* logerr;
23 int stream;
24 char grepopt[16];
25 };
26
27 int fork_after_grep (struct opt opts);
28
29 #endif
Imprint / Impressum