X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=grep.h;h=75370f60d7091becd3eaddf3b7069c26fca8c125;hb=b401a12a2c49d3f3e81e356782d9ca49aaa97faa;hp=f00db0e40273c7cca1695ddc6be00921f9da8ef4;hpb=a7c1ef3e03985c70aeb0825634471bb6240f4fcb;p=git.git diff --git a/grep.h b/grep.h index f00db0e40..75370f60d 100644 --- a/grep.h +++ b/grep.h @@ -32,6 +32,7 @@ struct grep_pat { enum grep_header_field field; regex_t regexp; unsigned fixed:1; + unsigned ignore_case:1; unsigned word_regexp:1; }; @@ -59,10 +60,12 @@ struct grep_opt { struct grep_pat *pattern_list; struct grep_pat **pattern_tail; struct grep_expr *pattern_expression; + const char *prefix; int prefix_length; regex_t regexp; int linenum; int invert; + int ignore_case; int status_only; int name_only; int unmatch_name_only; @@ -79,6 +82,7 @@ struct grep_opt { int pathname; int null_following_name; int color; + int max_depth; int funcname; char color_match[COLOR_MAXLEN]; const char *color_external;