summaryrefslogtreecommitdiffstats
path: root/roff_int.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-04-19 14:57:38 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-04-19 14:57:38 +0000
commitc599b29874a76cbd98a6af0d536d744e679bb1f5 (patch)
tree2b4131d196075429d0256ae87e29735403934586 /roff_int.h
parentb41835362693d09c3eff29cb37f2217b9dca8cc3 (diff)
downloadmandoc-c599b29874a76cbd98a6af0d536d744e679bb1f5.tar.gz
Unify trickier node handling functions.
* man_elem_alloc() -> roff_elem_alloc() * man_block_alloc() -> roff_block_alloc() The functions mdoc_elem_alloc() and mdoc_block_alloc() remain for now because they need to do mdoc(7)-specific argument processing.
Diffstat (limited to 'roff_int.h')
-rw-r--r--roff_int.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/roff_int.h b/roff_int.h
index 41a38dd8..311f347a 100644
--- a/roff_int.h
+++ b/roff_int.h
@@ -23,6 +23,8 @@ struct roff_node *roff_node_alloc(struct roff_man *, int, int,
void roff_node_append(struct roff_man *, struct roff_node *);
void roff_word_alloc(struct roff_man *, int, int, const char *);
void roff_word_append(struct roff_man *, const char *);
+void roff_elem_alloc(struct roff_man *, int, int, int);
+struct roff_node *roff_block_alloc(struct roff_man *, int, int, int);
struct roff_node *roff_head_alloc(struct roff_man *, int, int, int);
struct roff_node *roff_body_alloc(struct roff_man *, int, int, int);
void roff_addeqn(struct roff_man *, const struct eqn *);