version 1.14, 2008/12/07 21:30:49 |
version 1.15, 2008/12/08 12:46:28 |
Line 75 static int html_begin(struct md_mbuf *, |
|
Line 75 static int html_begin(struct md_mbuf *, |
|
const struct md_args *, |
const struct md_args *, |
const struct tm *, |
const struct tm *, |
const char *, const char *, |
const char *, const char *, |
const char *, const char *); |
enum roffmsec, const char *); |
static int html_printargs(struct md_mbuf *, int, |
static int html_printargs(struct md_mbuf *, int, |
const char *, const int *, |
const char *, const int *, |
const char **, size_t *); |
const char **, size_t *); |
|
|
static int |
static int |
html_begin(struct md_mbuf *mbuf, const struct md_args *args, |
html_begin(struct md_mbuf *mbuf, const struct md_args *args, |
const struct tm *tm, const char *os, |
const struct tm *tm, const char *os, |
const char *title, const char *section, |
const char *title, enum roffmsec section, |
const char *vol) |
const char *vol) |
{ |
{ |
const char *preamble, *css, *trail; |
const char *preamble, *css, *trail; |
Line 389 html_begin(struct md_mbuf *mbuf, const struct md_args |
|
Line 389 html_begin(struct md_mbuf *mbuf, const struct md_args |
|
res = 0; |
res = 0; |
|
|
(void)snprintf(buf, sizeof(buf) - 1, |
(void)snprintf(buf, sizeof(buf) - 1, |
preamble, title, section); |
preamble, title, ml_section(section)); |
|
|
if ( ! ml_puts(mbuf, buf, &res)) |
if ( ! ml_puts(mbuf, buf, &res)) |
return(0); |
return(0); |