version 1.12, 2008/12/04 11:25:29 |
version 1.14, 2008/12/10 14:42:46 |
|
|
|
|
#include <sys/types.h> |
#include <sys/types.h> |
|
|
struct md_params_xml { |
|
int dummy; |
|
}; |
|
|
|
struct md_params_html { |
struct md_params_html { |
char *css; |
char *css; |
int flags; |
int flags; |
Line 32 struct md_params_html { |
|
Line 28 struct md_params_html { |
|
}; |
}; |
|
|
union md_params { |
union md_params { |
struct md_params_xml xml; |
|
struct md_params_html html; |
struct md_params_html html; |
}; |
}; |
|
|
enum md_type { |
enum md_type { |
MD_XML, /* XML. */ |
MD_XML, /* XML. */ |
MD_HTML /* HTML4.01-strict. */ |
MD_HTML, /* HTML4.01-strict. */ |
|
MD_NOOP /* Validates only. */ |
}; |
}; |
|
|
struct md_args { |
struct md_args { |
|
|
|
|
int warnings; |
int warnings; |
#define MD_WARN_ALL (1 << 0) |
#define MD_WARN_ALL (1 << 0) |
|
#define MD_WARN_ERROR (1 << 1) |
int verbosity; |
int verbosity; |
}; |
}; |
|
|