gitweb: cache $parent_commit info in git_blame()
[git/gsoc2010-gitweb.git] / userdiff.h
blobba2945770b379f51aa8da45d112a2ef896ec4c10
1 #ifndef USERDIFF_H
2 #define USERDIFF_H
4 struct userdiff_funcname {
5 const char *pattern;
6 int cflags;
7 };
9 struct userdiff_driver {
10 const char *name;
11 const char *external;
12 int binary;
13 struct userdiff_funcname funcname;
14 const char *textconv;
17 int userdiff_config(const char *k, const char *v);
18 struct userdiff_driver *userdiff_find_by_name(const char *name);
19 struct userdiff_driver *userdiff_find_by_path(const char *path);
21 #endif /* USERDIFF */