summaryrefslogtreecommitdiffstatshomepage
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
commit9dd355694618bcd06487072ef69080b1afa3dead (patch)
tree014ccffd5ebbb334c255c29e64f5bdc54d10050d /private.h
parent1c8d0e7cfcdbd3d64368314aed6b31f07872e336 (diff)
downloadmandoc-9dd355694618bcd06487072ef69080b1afa3dead.tar.gz
mandoc-9dd355694618bcd06487072ef69080b1afa3dead.tar.zst
mandoc-9dd355694618bcd06487072ef69080b1afa3dead.zip
*** empty log message ***
Diffstat (limited to 'private.h')
-rw-r--r--private.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/private.h b/private.h
index 89a73e2c..910e6f1c 100644
--- a/private.h
+++ b/private.h
@@ -1,4 +1,4 @@
-/* $Id: private.h,v 1.56 2009/01/06 15:49:44 kristaps Exp $ */
+/* $Id: private.h,v 1.57 2009/01/07 15:53:00 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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