diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-03-28 21:49:42 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-03-28 21:49:42 +0000 |
commit | 38f00ffdcbcf2be5ad01776afecc32d1c141f46c (patch) | |
tree | 4648324e9aa5b4a37122c40c0c6a94cbc37e16cf /mandoc.h | |
parent | 5c278401db2e0ed33586be972531286a62050a78 (diff) | |
download | mandoc-38f00ffdcbcf2be5ad01776afecc32d1c141f46c.tar.gz mandoc-38f00ffdcbcf2be5ad01776afecc32d1c141f46c.tar.zst mandoc-38f00ffdcbcf2be5ad01776afecc32d1c141f46c.zip |
Put mandocerrs and mandoclevels arrays into libmandoc with accessors
mparse_strerror() and mparse_strlevel().
Diffstat (limited to 'mandoc.h')
-rw-r--r-- | mandoc.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: mandoc.h,v 1.68 2011/03/23 09:47:13 kristaps Exp $ */ +/* $Id: mandoc.h,v 1.69 2011/03/28 21:49:42 kristaps Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -303,6 +303,8 @@ struct mparse *mparse_alloc(enum mparset, enum mandoclevel, mandocmsg, void *); enum mandoclevel mparse_readfd(struct mparse *, int, const char *); void mparse_result(struct mparse *, struct mdoc **, struct man **); +const char *mparse_strerror(enum mandocerr); +const char *mparse_strlevel(enum mandoclevel); void *mandoc_calloc(size_t, size_t); void *mandoc_malloc(size_t); |