X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=grep.h;h=75370f60d7091becd3eaddf3b7069c26fca8c125;hb=5c30b8f7dd2640a1b75fcbcdd3e175329c5b7bbe;hp=28e6b2a8ec0af7d0e86d9b955cef075b0ecd9652;hpb=4a224a9bbec4e7a1a4dcb7a91e663483dc477b78;p=git.git diff --git a/grep.h b/grep.h index 28e6b2a8e..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;