refactor userdiff textconv code
[git/git.git] / userdiff.h
CommitLineData
be58e70d
JK
1#ifndef USERDIFF_H
2#define USERDIFF_H
3
4struct userdiff_funcname {
5 const char *pattern;
6 int cflags;
7};
8
9struct userdiff_driver {
10 const char *name;
11 const char *external;
122aa6f9 12 int binary;
be58e70d 13 struct userdiff_funcname funcname;
9cb92c39 14 const char *textconv;
be58e70d
JK
15};
16
be58e70d
JK
17int userdiff_config_basic(const char *k, const char *v);
18int userdiff_config_porcelain(const char *k, const char *v);
19struct userdiff_driver *userdiff_find_by_name(const char *name);
20struct userdiff_driver *userdiff_find_by_path(const char *path);
21
22#endif /* USERDIFF */