summaryrefslogtreecommitdiffstats
path: root/term.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-08 13:22:37 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-08 13:22:37 +0000
commit2c5f585a2fcbbdf1f0a016f3dd43a10b0c44be89 (patch)
tree100b8f186aa5f7b3b9847e4d0068ebf0501678a5 /term.h
parent69196d0244a29c4cfccc8628915ca17c3a84f164 (diff)
downloadmandoc-2c5f585a2fcbbdf1f0a016f3dd43a10b0c44be89.tar.gz
No functionality changes: just restructuring. Deprecated
terminal_free() in favour of ps_free() and ascii_free(). Moved ps_*() functions into term_ps.c so that they don't clutter up term.c.
Diffstat (limited to 'term.h')
-rw-r--r--term.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/term.h b/term.h
index 364b44ef..7b61a4ef 100644
--- a/term.h
+++ b/term.h
@@ -81,6 +81,8 @@ struct termp {
size_t pspage; /* -Tps: current page */
};
+struct termp *term_alloc(enum termenc);
+void term_free(struct termp *);
void term_newln(struct termp *);
void term_vspace(struct termp *);
void term_word(struct termp *, const char *);