1 /*
2 */
3 #ifndef	html_h
4 #define	html_h
5 
6 #include	<courier-unicode.h>
7 
8 /*
9 ** Copyright 2011 Double Precision, Inc.  See COPYING for
10 ** distribution information.
11 */
12 
13 struct htmlfilter_info;
14 
15 extern struct htmlfilter_info
16 *htmlfilter_alloc(void (*)(const char32_t *, size_t, void *), void *);
17 extern void htmlfilter_free(struct htmlfilter_info *);
18 
19 extern void htmlfilter(struct htmlfilter_info *,
20 		       const char32_t *, size_t);
21 
22 extern void htmlfilter_set_contentbase(struct htmlfilter_info *,
23 				   const char *);
24 
25 extern void htmlfilter_set_http_prefix(struct htmlfilter_info *,
26 				       const char *);
27 extern void htmlfilter_set_mailto_prefix(struct htmlfilter_info *,
28 				      const char *);
29 extern void htmlfilter_set_convertcid(struct htmlfilter_info *,
30 				      char *(*)(const char *, void *), void *);
31 
32 #endif
33