=================================================================== RCS file: /cvs/mandoc/term.h,v retrieving revision 1.83 retrieving revision 1.86 diff -u -p -r1.83 -r1.86 --- mandoc/term.h 2011/05/15 00:58:48 1.83 +++ mandoc/term.h 2011/07/22 10:50:46 1.86 @@ -1,4 +1,4 @@ -/* $Id: term.h,v 1.83 2011/05/15 00:58:48 kristaps Exp $ */ +/* $Id: term.h,v 1.86 2011/07/22 10:50:46 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * @@ -22,7 +22,9 @@ __BEGIN_DECLS struct termp; enum termenc { - TERMENC_ASCII + TERMENC_ASCII, + TERMENC_LOCALE, + TERMENC_UTF8 }; enum termtype { @@ -94,7 +96,7 @@ struct termp { struct termp_ps *ps; }; -struct termp *term_alloc(enum termenc); +void term_eqn(struct termp *, const struct eqn *); void term_tbl(struct termp *, const struct tbl_span *); void term_free(struct termp *); void term_newln(struct termp *);