X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=grep.h;h=28e6b2a8ec0af7d0e86d9b955cef075b0ecd9652;hb=e4d1afbcf2e39a997ae90befd629ee53e444c4c9;hp=730ffd6f531d99787f33ca3fc9b1f49be090ab7f;hpb=046802d015b3be2e055ae68f29f76741023bc32d;p=git.git diff --git a/grep.h b/grep.h index 730ffd6f5..28e6b2a8e 100644 --- a/grep.h +++ b/grep.h @@ -79,6 +79,8 @@ 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; int regflags; @@ -86,6 +88,7 @@ struct grep_opt { unsigned post_context; unsigned last_shown; int show_hunk_mark; + void *priv; }; extern void append_grep_pattern(struct grep_opt *opt, const char *pat, const char *origin, int no, enum grep_pat_token t);