summaryrefslogtreecommitdiffstats
path: root/private.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-01-07 15:53:00 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-01-07 15:53:00 +0000
commita7a1dadb16951c8d91f80da5763dd5c3cb973ffa (patch)
treea2fad109014a0019d86fee2a8da0ac095041cbc3 /private.h
parentb7ba0decc3a3349611b6f43d72d947e89d4c2d67 (diff)
downloadmandoc-a7a1dadb16951c8d91f80da5763dd5c3cb973ffa.tar.gz
*** empty log message ***
Diffstat (limited to 'private.h')
-rw-r--r--private.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/private.h b/private.h
index 15226c4f..2eaa0d7b 100644
--- a/private.h
+++ b/private.h
@@ -31,6 +31,7 @@ struct mdoc {
struct mdoc_cb cb;
void *htab;
int flags;
+#define MDOC_HALT (1 << 0)
enum mdoc_next next;
struct mdoc_node *last;
struct mdoc_node *first;
@@ -87,8 +88,8 @@ time_t mdoc_atotime(const char *);
int mdoc_valid_pre(struct mdoc *, int, int,
int, const struct mdoc_arg *);
-int mdoc_valid_post(struct mdoc *, int, int);
-int mdoc_action(struct mdoc *, int, int);
+int mdoc_valid_post(struct mdoc *, int);
+int mdoc_action(struct mdoc *, int);
int mdoc_argv(struct mdoc *, int,
struct mdoc_arg *, int *, char *);
@@ -122,6 +123,7 @@ int macro_scoped(MACRO_PROT_ARGS);
int macro_close_explicit(MACRO_PROT_ARGS);
int macro_scoped_line(MACRO_PROT_ARGS);
int macro_prologue(MACRO_PROT_ARGS);
+int macro_end(struct mdoc *);
__END_DECLS