X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=dir.h;h=aaa247b2569fc5ae923f12dcd3cdede5c2dccd8d;hb=5410a02ab9e6a1987147724f8ea65e6a077b3832;hp=a248a23ac4eab2aff1e91060f0e9281a8842bf6b;hpb=2e13e5d89252ceef606a0a7be32dbf5bea7e5aca;p=git.git diff --git a/dir.h b/dir.h index a248a23ac..aaa247b25 100644 --- a/dir.h +++ b/dir.h @@ -17,13 +17,20 @@ struct dir_entry { char name[FLEX_ARRAY]; /* more */ }; +#define EXC_FLAG_NODIR 1 +#define EXC_FLAG_NOWILDCARD 2 +#define EXC_FLAG_ENDSWITH 4 + struct exclude_list { int nr; int alloc; struct exclude { const char *pattern; + int patternlen; const char *base; int baselen; + int to_exclude; + int flags; } **excludes; };