diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-02-21 21:00:06 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-02-21 21:00:06 +0000 |
commit | 9275a05a090b366b47ed479d15472e058b8d8318 (patch) | |
tree | 3ee741683a39572e6e73698ebeb3cb303cd2edae /term.h | |
parent | e4966b859ee26adbd25172e1e2e7d266feb6d36c (diff) | |
download | mandoc-9275a05a090b366b47ed479d15472e058b8d8318.tar.gz mandoc-9275a05a090b366b47ed479d15472e058b8d8318.tar.zst mandoc-9275a05a090b366b47ed479d15472e058b8d8318.zip |
Split mdocml -> mdocterm, mdoctree (new manuals, etc.).
Escape-recognition term.c.
Diffstat (limited to 'term.h')
-rw-r--r-- | term.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: term.h,v 1.1 2009/02/21 19:05:28 kristaps Exp $ */ +/* $Id: term.h,v 1.2 2009/02/21 21:00:06 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se> * @@ -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; |