aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/main.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-07 20:57:09 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-07 20:57:09 +0000
commit46dd3365d4def0a50cf065f76bc39e52dfa71d82 (patch)
tree74b9fa659fcc01b96403653d79d3b6d33e020e85 /main.h
parent330def09deee27bc7f1f70f0870aebf0eeddd62c (diff)
downloadmandoc-46dd3365d4def0a50cf065f76bc39e52dfa71d82.tar.gz
mandoc-46dd3365d4def0a50cf065f76bc39e52dfa71d82.tar.zst
mandoc-46dd3365d4def0a50cf065f76bc39e52dfa71d82.zip
First check-in of PostScript output. This does not change any logic
within term.c, but does add a small shim over putchar() that switches on the output engine. Prints, for this initial version, only monospace and without font decorations. It's a start.
Diffstat (limited to 'main.h')
-rw-r--r--main.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.h b/main.h
index 80c61c6c..c9f522a8 100644
--- a/main.h
+++ b/main.h
@@ -1,4 +1,4 @@
-/* $Id: main.h,v 1.4 2010/06/07 10:52:44 kristaps Exp $ */
+/* $Id: main.h,v 1.5 2010/06/07 20:57:09 kristaps Exp $ */
/*
* Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -42,6 +42,7 @@ void tree_mdoc(void *, const struct mdoc *);
void tree_man(void *, const struct man *);
void *ascii_alloc(char *);
+void *ps_alloc(void);
void terminal_mdoc(void *, const struct mdoc *);
void terminal_man(void *, const struct man *);
void terminal_free(void *);