=================================================================== RCS file: /cvs/mandoc/Attic/libmdocml.h,v retrieving revision 1.10 retrieving revision 1.13 diff -u -p -r1.10 -r1.13 --- mandoc/Attic/libmdocml.h 2008/11/30 21:41:35 1.10 +++ mandoc/Attic/libmdocml.h 2008/12/09 00:27:17 1.13 @@ -1,4 +1,4 @@ -/* $Id: libmdocml.h,v 1.10 2008/11/30 21:41:35 kristaps Exp $ */ +/* $Id: libmdocml.h,v 1.13 2008/12/09 00:27:17 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -25,18 +25,20 @@ struct md_params_xml { int dummy; }; -struct md_params_html4_strict { - int dummy; +struct md_params_html { + char *css; + int flags; +#define HTML_CSS_EMBED (1 << 0) }; union md_params { struct md_params_xml xml; - struct md_params_html4_strict html4_strict; + struct md_params_html html; }; enum md_type { MD_XML, /* XML. */ - MD_HTML4_STRICT /* HTML4.01-strict. */ + MD_HTML /* HTML4.01-strict. */ }; struct md_args { @@ -45,6 +47,7 @@ struct md_args { int warnings; #define MD_WARN_ALL (1 << 0) +#define MD_WARN_ERROR (1 << 1) int verbosity; };