summaryrefslogtreecommitdiffstatshomepage
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
commitc3a38b374a5f4635f91f2b980e43da5b27e0d36a (patch)
tree5dd86d80c83deb56e6fbdf3b8bae2d5caa355827 /term.h
parent7e3debcee89f432bd9db276d89ee6030b30a9479 (diff)
downloadmandoc-c3a38b374a5f4635f91f2b980e43da5b27e0d36a.tar.gz
mandoc-c3a38b374a5f4635f91f2b980e43da5b27e0d36a.tar.zst
mandoc-c3a38b374a5f4635f91f2b980e43da5b27e0d36a.zip
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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/term.h b/term.h
index bf54e5d6..f049da66 100644
--- a/term.h
+++ b/term.h
@@ -1,4 +1,4 @@
-/* $Id: term.h,v 1.58 2010/06/07 20:57:09 kristaps Exp $ */
+/* $Id: term.h,v 1.59 2010/06/08 13:22:37 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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 *);