=================================================================== RCS file: /cvs/mandoc/mandoc.h,v retrieving revision 1.116 retrieving revision 1.119 diff -u -p -r1.116 -r1.119 --- mandoc/mandoc.h 2014/03/19 21:51:20 1.116 +++ mandoc/mandoc.h 2014/03/28 23:26:25 1.119 @@ -1,7 +1,7 @@ -/* $Id: mandoc.h,v 1.116 2014/03/19 21:51:20 schwarze Exp $ */ +/* $Id: mandoc.h,v 1.119 2014/03/28 23:26:25 schwarze Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons - * Copyright (c) 2012, 2013, 2014 Ingo Schwarze + * Copyright (c) 2010-2014 Ingo Schwarze * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -240,6 +240,7 @@ struct tbl_row { struct tbl_row *next; struct tbl_cell *first; struct tbl_cell *last; + int vert; /* trailing vertical line */ }; enum tbl_datt { @@ -405,12 +406,7 @@ struct man; __BEGIN_DECLS -void *mandoc_calloc(size_t, size_t); enum mandoc_esc mandoc_escape(const char **, const char **, int *); -void *mandoc_malloc(size_t); -void *mandoc_realloc(void *, size_t); -char *mandoc_strdup(const char *); -char *mandoc_strndup(const char *, size_t); struct mchars *mchars_alloc(void); void mchars_free(struct mchars *); char mchars_num2char(const char *, size_t); @@ -427,7 +423,7 @@ enum mandoclevel mparse_readmem(struct mparse *, cons const char *); void mparse_reset(struct mparse *); void mparse_result(struct mparse *, - struct mdoc **, struct man **); + struct mdoc **, struct man **, char **); const char *mparse_getkeep(const struct mparse *); const char *mparse_strerror(enum mandocerr); const char *mparse_strlevel(enum mandoclevel);