summaryrefslogtreecommitdiffstats
path: root/term.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-02-21 21:00:06 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-02-21 21:00:06 +0000
commit60e35d64ece3aeaabb2d0c25b9ab5c651c0bb48d (patch)
treece372bcf5575640cc1bf04d6bef8f0d0c3149854 /term.h
parent90b7feb891f3f87751c0a0c0b57b38c8834ede8e (diff)
downloadmandoc-60e35d64ece3aeaabb2d0c25b9ab5c651c0bb48d.tar.gz
Split mdocml -> mdocterm, mdoctree (new manuals, etc.).
Escape-recognition term.c.
Diffstat (limited to 'term.h')
-rw-r--r--term.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/term.h b/term.h
index 65491597..c8d6274a 100644
--- a/term.h
+++ b/term.h
@@ -42,15 +42,20 @@ struct termact {
int (*pre)(struct termp *,
const struct mdoc_meta *,
const struct mdoc_node *);
- int (*post)(struct termp *,
+ void (*post)(struct termp *,
const struct mdoc_meta *,
const struct mdoc_node *);
};
+void termprint(const struct mdoc_node *,
+ const struct mdoc_meta *);
+
void newln(struct termp *);
void vspace(struct termp *);
void word(struct termp *, const char *);
void flushln(struct termp *);
+void transcode(struct termp *,
+ const char *, size_t);
const struct termact *termacts;