summaryrefslogtreecommitdiffstats
path: root/libman.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-25 15:17:49 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-25 15:17:49 +0000
commit12bf2f26f8d476960eba07e14e64fd26661da3b3 (patch)
treeb759d2d2e7467b1cffc89fb98e9d6e4ccb5bdbed /libman.h
parent4b4e799e741ce5040d46930f13430debab688774 (diff)
downloadmandoc-12bf2f26f8d476960eba07e14e64fd26661da3b3.tar.gz
Added man validator, renamed mdoc validator.
Diffstat (limited to 'libman.h')
-rw-r--r--libman.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libman.h b/libman.h
index 101ea093..91effa0f 100644
--- a/libman.h
+++ b/libman.h
@@ -27,6 +27,8 @@ enum man_next {
};
struct man {
+ void *data;
+ struct man_cb cb;
void *htab;
int flags;
#define MAN_HALT (1 << 0)
@@ -48,6 +50,8 @@ int man_macro(struct man *, int,
int man_hash_find(const void *, const char *);
void man_hash_free(void *);
int man_macroend(struct man *);
+int man_vwarn(struct man *, int, int, const char *, ...);
+int man_verr(struct man *, int, int, const char *, ...);
__END_DECLS