X-Git-Url: https://git.gir.st/forkaftergrep.git/blobdiff_plain/1e23aa5bddb1459a172367bf363b105f2f0e3bac..9505a99fd48d04dfd61cac0d77078395b91365e7:/fag.h diff --git a/fag.h b/fag.h index 374dd26..65148c0 100644 --- a/fag.h +++ b/fag.h @@ -19,22 +19,9 @@ struct opt { char* pattern; char** argv; int stream; + char grepopt[16]; }; -enum grep_regex { - basic_regexp, - extended_regexp, - fixed_strings, - perl_regexp, -}; -struct grepopt { - enum grep_regex regex; - int ignore_case; - int word_regexp; - int line_regexp; - int binary; -}; - -int fork_after_grep (struct opt opts, struct grepopt optg); +int fork_after_grep (struct opt opts); #endif