diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-19 11:49:00 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-19 11:49:00 +0000 |
commit | e1e06ec7dbe31f799c04be32aad9756e45b294bb (patch) | |
tree | 6019a6c5671948519e61528f4621e3968f704117 /mdoc.h | |
parent | 49c322efa56dea298f42cc8bddd6629093d45975 (diff) | |
download | mandoc-e1e06ec7dbe31f799c04be32aad9756e45b294bb.tar.gz mandoc-e1e06ec7dbe31f799c04be32aad9756e45b294bb.tar.zst mandoc-e1e06ec7dbe31f799c04be32aad9756e45b294bb.zip |
Many more ASCII escapes added.
Stripped nroff punt from mdocterm.c.
Fixed multiple-file handling for mdocterm.c.
Cleared up mdoc.h API.
Diffstat (limited to 'mdoc.h')
-rw-r--r-- | mdoc.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: mdoc.h,v 1.49 2009/03/16 23:37:28 kristaps Exp $ */ +/* $Id: mdoc.h,v 1.50 2009/03/19 11:49:00 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se> * @@ -300,8 +300,8 @@ void mdoc_free(struct mdoc *); /* Allocate a new parser instance. */ struct mdoc *mdoc_alloc(void *, int, const struct mdoc_cb *); -/* Set parse options. */ -void mdoc_setflags(struct mdoc *, int); +/* Gets system ready for another parse. */ +void mdoc_reset(struct mdoc *); /* Parse a single line in a stream (boolean retval). */ int mdoc_parseln(struct mdoc *, int, char *buf); |