version 1.8, 2008/11/27 17:27:50 |
version 1.13, 2008/12/09 00:27:17 |
|
|
|
|
#include <sys/types.h> |
#include <sys/types.h> |
|
|
struct md_params_dummy { |
struct md_params_xml { |
int dummy; |
int dummy; |
}; |
}; |
|
|
struct md_params_html4_strict { |
struct md_params_html { |
int dummy; |
char *css; |
|
int flags; |
|
#define HTML_CSS_EMBED (1 << 0) |
}; |
}; |
|
|
union md_params { |
union md_params { |
struct md_params_dummy dummy; |
struct md_params_xml xml; |
struct md_params_html4_strict html4_strict; |
struct md_params_html html; |
}; |
}; |
|
|
enum md_type { |
enum md_type { |
MD_DUMMY, /* Dummy type echoes input. */ |
MD_XML, /* XML. */ |
MD_HTML4_STRICT /* HTML4.01-strict. */ |
MD_HTML /* HTML4.01-strict. */ |
}; |
}; |
|
|
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; |
}; |
}; |
|
|