=================================================================== RCS file: /cvs/mandoc/Attic/private.h,v retrieving revision 1.67 retrieving revision 1.69 diff -u -p -r1.67 -r1.69 --- mandoc/Attic/private.h 2009/01/17 16:15:27 1.67 +++ mandoc/Attic/private.h 2009/01/19 17:51:33 1.69 @@ -1,4 +1,4 @@ -/* $Id: private.h,v 1.67 2009/01/17 16:15:27 kristaps Exp $ */ +/* $Id: private.h,v 1.69 2009/01/19 17:51:33 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -57,6 +57,7 @@ struct mdoc_macro { #define MDOC_QUOTABLE (1 << 3) #define MDOC_PROLOGUE (1 << 4) #define MDOC_TABSEP (1 << 5) +#define MDOC_NOKEEP (1 << 6) }; #define mdoc_nwarn(mdoc, node, type, fmt, ...) \ @@ -115,6 +116,7 @@ int mdoc_head_alloc(struct mdoc *, int, int, int); int mdoc_tail_alloc(struct mdoc *, int, int, int); int mdoc_body_alloc(struct mdoc *, int, int, int); void mdoc_node_free(struct mdoc_node *); +void mdoc_node_freelist(struct mdoc_node *); void mdoc_sibling(struct mdoc *, int, struct mdoc_node **, struct mdoc_node **, struct mdoc_node *); void *mdoc_tokhash_alloc(void); @@ -130,6 +132,7 @@ enum mdoc_att mdoc_atoatt(const char *); time_t mdoc_atotime(const char *); char *mdoc_type2a(enum mdoc_type); +char *mdoc_node2a(struct mdoc_node *); int mdoc_valid_pre(struct mdoc *, struct mdoc_node *); int mdoc_valid_post(struct mdoc *);