summaryrefslogtreecommitdiffstatshomepage
path: root/mlg.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2008-12-04 11:25:29 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2008-12-04 11:25:29 +0000
commitff889942f7c344c157152d8ed3c19809b62ff504 (patch)
treee4212cc4f2e9948193aff908bf5e38d4c8c7c76c /mlg.c
parent42bf2c72d14bba2a852d97de53916afef4f57269 (diff)
downloadmandoc-ff889942f7c344c157152d8ed3c19809b62ff504.tar.gz
mandoc-ff889942f7c344c157152d8ed3c19809b62ff504.tar.zst
mandoc-ff889942f7c344c157152d8ed3c19809b62ff504.zip
More html-css.
Diffstat (limited to 'mlg.c')
-rw-r--r--mlg.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/mlg.c b/mlg.c
index 17ef1efd..7e89a8f9 100644
--- a/mlg.c
+++ b/mlg.c
@@ -1,4 +1,4 @@
-/* $Id: mlg.c,v 1.3 2008/12/03 21:27:56 kristaps Exp $ */
+/* $Id: mlg.c,v 1.4 2008/12/04 11:25:29 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -63,7 +63,9 @@ struct md_mlg {
static void mlg_roffmsg(void *arg, enum roffmsg,
const char *, const char *, char *);
-static int mlg_roffhead(void *);
+static int mlg_roffhead(void *, const struct tm *,
+ const char *, const char *,
+ const char *, const char *);
static int mlg_rofftail(void *);
static int mlg_roffin(void *, int, int *, char **);
static int mlg_roffdata(void *, int, char *);
@@ -346,7 +348,8 @@ mlg_alloc(const struct md_args *args,
static int
-mlg_roffhead(void *arg)
+mlg_roffhead(void *arg, const struct tm *tm, const char *os,
+ const char *title, const char *sec, const char *vol)
{
struct md_mlg *p;
@@ -354,7 +357,7 @@ mlg_roffhead(void *arg)
p = (struct md_mlg *)arg;
mlg_mode(p, MD_BLK_IN);
- if ( ! (*p->begin)(p->mbuf, p->args))
+ if ( ! (*p->begin)(p->mbuf, p->args, tm, os, title, sec, vol))
return(0);
p->indent++;