File: html.h

package info (click to toggle)
courier 1.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 54,444 kB
  • sloc: ansic: 130,619; cpp: 33,255; sh: 10,437; perl: 4,250; makefile: 3,447; sed: 39
file content (32 lines) | stat: -rw-r--r-- 824 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
*/
#ifndef	html_h
#define	html_h

#include	<courier-unicode.h>

/*
** Copyright 2011 Double Precision, Inc.  See COPYING for
** distribution information.
*/

struct htmlfilter_info;

extern struct htmlfilter_info
*htmlfilter_alloc(void (*)(const char32_t *, size_t, void *), void *);
extern void htmlfilter_free(struct htmlfilter_info *);

extern void htmlfilter(struct htmlfilter_info *,
		       const char32_t *, size_t);

extern void htmlfilter_set_contentbase(struct htmlfilter_info *,
				   const char *);

extern void htmlfilter_set_http_prefix(struct htmlfilter_info *,
				       const char *);
extern void htmlfilter_set_mailto_prefix(struct htmlfilter_info *,
				      const char *);
extern void htmlfilter_set_convertcid(struct htmlfilter_info *,
				      char *(*)(const char *, void *), void *);

#endif