From 9275a05a090b366b47ed479d15472e058b8d8318 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 21 Feb 2009 21:00:06 +0000 Subject: Split mdocml -> mdocterm, mdoctree (new manuals, etc.). Escape-recognition term.c. --- term.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'term.h') diff --git a/term.h b/term.h index 3bf16d7a..48f0be28 100644 --- a/term.h +++ b/term.h @@ -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 * @@ -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; -- cgit v1.2.3