4 #include "notes-cache.h"
8 struct userdiff_funcname {
13 struct userdiff_driver {
17 struct userdiff_funcname funcname;
18 const char *word_regex;
20 struct notes_cache *textconv_cache;
21 int textconv_want_cache;
24 int userdiff_config(const char *k, const char *v);
25 struct userdiff_driver *userdiff_find_by_name(const char *name);
26 struct userdiff_driver *userdiff_find_by_path(struct index_state *istate,
30 * Initialize any textconv-related fields in the driver and return it, or NULL
31 * if it does not have textconv enabled at all.
33 struct userdiff_driver *userdiff_get_textconv(struct userdiff_driver *driver);