4 #include "notes-cache.h"
6 struct userdiff_funcname {
11 struct userdiff_driver {
15 struct userdiff_funcname funcname;
16 const char *word_regex;
18 struct notes_cache *textconv_cache;
19 int textconv_want_cache;
22 int userdiff_config(const char *k, const char *v);
23 struct userdiff_driver *userdiff_find_by_name(const char *name);
24 struct userdiff_driver *userdiff_find_by_path(const char *path);
27 * Initialize any textconv-related fields in the driver and return it, or NULL
28 * if it does not have textconv enabled at all.
30 struct userdiff_driver *userdiff_get_textconv(struct userdiff_driver *driver);