mparse
static void parse(struct mparse *, int, const char *,
static void process_onefile(struct mparse *, struct manpage *,
struct mparse *mp; /* Opaque parser object. */
process_onefile(struct mparse *mp, struct manpage *resp, int startdir,
parse(struct mparse *mp, int fd, const char *file,
struct mparse;
struct mparse *mparse_alloc(int, enum mandoc_os, const char *);
void mparse_copy(const struct mparse *);
void mparse_free(struct mparse *);
int mparse_open(struct mparse *, const char *);
void mparse_readfd(struct mparse *, int, const char *);
void mparse_reset(struct mparse *);
struct roff_meta *mparse_result(struct mparse *);
mpages_merge(struct dba *dba, struct mparse *mp)
static void mpages_merge(struct dba *, struct mparse *);
struct mparse *mp;
mparse_buf_r(struct mparse *curp, struct buf blk, size_t i, int start)
read_whole_file(struct mparse *curp, int fd, struct buf *fb, int *with_mmap)
mparse_end(struct mparse *curp)
mparse_readfd(struct mparse *curp, int fd, const char *filename)
mparse_open(struct mparse *curp, const char *file)
struct mparse *
struct mparse *curp;
curp = mandoc_calloc(1, sizeof(struct mparse));
static void choose_parser(struct mparse *);
mparse_reset(struct mparse *curp)
mparse_free(struct mparse *curp)
static int mparse_buf_r(struct mparse *, struct buf, size_t, int);
mparse_result(struct mparse *curp)
static int read_whole_file(struct mparse *, int, struct buf *, int *);
mparse_copy(const struct mparse *p)
static void mparse_end(struct mparse *);
choose_parser(struct mparse *curp)