=================================================================== RCS file: /cvs/mandoc/html.h,v retrieving revision 1.7 retrieving revision 1.10 diff -u -p -r1.7 -r1.10 --- mandoc/html.h 2009/09/24 09:50:31 1.7 +++ mandoc/html.h 2009/10/03 16:36:06 1.10 @@ -1,4 +1,4 @@ -/* $Id: html.h,v 1.7 2009/09/24 09:50:31 kristaps Exp $ */ +/* $Id: html.h,v 1.10 2009/10/03 16:36:06 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -56,6 +56,7 @@ enum htmlattr { ATTR_STYLE, ATTR_WIDTH, ATTR_VALIGN, + ATTR_TARGET, ATTR_MAX }; @@ -87,7 +88,11 @@ struct html { struct ordq ords; void *symtab; char *base; + char *base_man; + char *base_includes; char *style; + char buf[BUFSIZ]; + size_t buflen; }; void print_gen_doctype(struct html *); @@ -97,6 +102,13 @@ struct tag *print_otag(struct html *, enum htmltag, void print_tagq(struct html *, const struct tag *); void print_stagq(struct html *, const struct tag *); void print_text(struct html *, const char *); + +void buffmt_man(struct html *, const char *, const char *); +void buffmt_includes(struct html *, const char *); +void buffmt(struct html *, const char *, ...); +void bufcat(struct html *, const char *); +void bufncat(struct html *, const char *, size_t); +void bufinit(struct html *); __END_DECLS