-/* $Id: mandoc.h,v 1.63 2011/03/20 16:02:05 kristaps Exp $ */
+/* $Id: mandoc.h,v 1.64 2011/03/20 16:05:21 kristaps Exp $ */
/*
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
typedef void (*mandocmsg)(enum mandocerr, enum mandoclevel,
const char *, int, int, const char *);
-typedef int (*mevt_open)(void *, const char *);
-typedef void (*mevt_close)(void *, const char *);
struct mparse;
struct mdoc;
void mparse_free(struct mparse *);
void mparse_reset(struct mparse *);
-struct mparse *mparse_alloc(enum mparset, mevt_open,
- mevt_close,
+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 **);