=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/Attic/libroff.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- src/usr.bin/mandoc/Attic/libroff.h 2011/01/25 12:24:26 1.2 +++ src/usr.bin/mandoc/Attic/libroff.h 2011/03/20 23:36:42 1.3 @@ -1,4 +1,4 @@ -/* $Id: libroff.h,v 1.2 2011/01/25 12:24:26 schwarze Exp $ */ +/* $Id: libroff.h,v 1.3 2011/03/20 23:36:42 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons * @@ -43,6 +43,11 @@ struct tbl_node *next; }; +struct eqn_node { + struct eqn eqn; + struct eqn_node *next; +}; + #define TBL_MSG(tblp, type, line, col) \ (*(tblp)->msg)((type), (tblp)->data, (line), (col), NULL) @@ -57,6 +62,10 @@ int tbl_cdata(struct tbl_node *, int, const char *); const struct tbl_span *tbl_span(struct tbl_node *); void tbl_end(struct tbl_node *); +struct eqn_node *eqn_alloc(int, int); +void eqn_end(struct eqn_node *); +void eqn_free(struct eqn_node *); +enum rofferr eqn_read(struct eqn_node **, int, const char *, int); __END_DECLS