version 1.19, 2009/11/14 11:58:36 |
version 1.21, 2009/11/16 06:07:49 |
|
|
ATTR_MAX |
ATTR_MAX |
}; |
}; |
|
|
|
enum htmlfont { |
|
HTMLFONT_NONE = 0, |
|
HTMLFONT_BOLD, |
|
HTMLFONT_ITALIC, |
|
HTMLFONT_MAX |
|
}; |
|
|
struct tag { |
struct tag { |
struct tag *next; |
struct tag *next; |
enum htmltag tag; |
enum htmltag tag; |
Line 101 struct htmlpair { |
|
Line 108 struct htmlpair { |
|
struct html { |
struct html { |
int flags; |
int flags; |
#define HTML_NOSPACE (1 << 0) |
#define HTML_NOSPACE (1 << 0) |
#define HTML_NEWLINE (1 << 1) |
|
#define HTML_IGNDELIM (1 << 2) |
#define HTML_IGNDELIM (1 << 2) |
struct tagq tags; |
struct tagq tags; |
struct ordq ords; |
struct ordq ords; |
|
|
char buf[BUFSIZ]; |
char buf[BUFSIZ]; |
size_t buflen; |
size_t buflen; |
struct tag *metaf; |
struct tag *metaf; |
|
enum htmlfont metal; |
|
enum htmlfont metac; |
}; |
}; |
|
|
struct roffsu; |
struct roffsu; |
|
|
void print_gen_doctype(struct html *); |
void print_gen_doctype(struct html *); |
void print_gen_head(struct html *); |
void print_gen_head(struct html *); |
|
struct tag *print_ofont(struct html *, enum htmlfont); |
struct tag *print_otag(struct html *, enum htmltag, |
struct tag *print_otag(struct html *, enum htmltag, |
int, const struct htmlpair *); |
int, const struct htmlpair *); |
void print_tagq(struct html *, const struct tag *); |
void print_tagq(struct html *, const struct tag *); |