=================================================================== RCS file: /cvs/mandoc/term.h,v retrieving revision 1.83 retrieving revision 1.87 diff -u -p -r1.83 -r1.87 --- mandoc/term.h 2011/05/15 00:58:48 1.83 +++ mandoc/term.h 2011/09/18 14:14:15 1.87 @@ -1,6 +1,6 @@ -/* $Id: term.h,v 1.83 2011/05/15 00:58:48 kristaps Exp $ */ +/* $Id: term.h,v 1.87 2011/09/18 14:14:15 schwarze Exp $ */ /* - * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons + * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -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 *);