X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=grep.h;h=a67005de62d1442e7ba6a8dc27320225a0d55819;hb=be427d758b53343d31debb520c0bc251a62013a9;hp=d2a8674be27a7ff22aca2913d5a2431e31cdf84f;hpb=d7eb527d731e2a71eaa4597417d879a15588d9ee;p=git.git diff --git a/grep.h b/grep.h index d2a8674be..a67005de6 100644 --- a/grep.h +++ b/grep.h @@ -1,5 +1,6 @@ #ifndef GREP_H #define GREP_H +#include "color.h" enum grep_pat_token { GREP_PATTERN, @@ -77,6 +78,9 @@ struct grep_opt { unsigned relative:1; unsigned pathname:1; unsigned null_following_name:1; + int color; + char color_match[COLOR_MAXLEN]; + const char *color_external; int regflags; unsigned pre_context; unsigned post_context;