diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-19 16:17:27 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-19 16:17:27 +0000 |
commit | 997138b8cf242533eca235e5bae8af08384ce7c6 (patch) | |
tree | 27472ff6f104175625e91676dea1606e49c33cbf /term.h | |
parent | 8ee53c583c595b24d97899cd5886383c71b8ae13 (diff) | |
download | mandoc-997138b8cf242533eca235e5bae8af08384ce7c6.tar.gz |
Split mdocterm.c -> main.c terminal.c.
Abstracted output with -T selector (default ascii).
Name change: mdocterm -> mandoc.
Re-imported tree with -Ttree.
Diffstat (limited to 'term.h')
-rw-r--r-- | term.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -27,6 +27,12 @@ __BEGIN_DECLS +enum termenc { + TERMENC_ASCII, + TERMENC_LATIN1, + TERMENC_UTF8 +}; + struct termp { size_t rmargin; /* Current right margin. */ size_t maxrmargin; /* Max right margin. */ @@ -45,6 +51,7 @@ struct termp { #define TERMP_BOLD (1 << 8) /* Styles... */ #define TERMP_UNDER (1 << 9) char *buf; /* Output buffer. */ + enum termenc enc; /* Type of encoding. */ void *symtab; /* Encoded-symbol table. */ }; |