summaryrefslogtreecommitdiffstatshomepage
path: root/libman.h
diff options
context:
space:
mode:
Diffstat (limited to 'libman.h')
-rw-r--r--libman.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libman.h b/libman.h
index f7853fc6..ee1f67a6 100644
--- a/libman.h
+++ b/libman.h
@@ -1,4 +1,4 @@
-/* $Id: libman.h,v 1.18 2009/08/19 12:15:58 kristaps Exp $ */
+/* $Id: libman.h,v 1.19 2009/08/21 12:32:38 kristaps Exp $ */
/*
* Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -33,6 +33,7 @@ struct man {
#define MAN_HALT (1 << 0)
#define MAN_ELINE (1 << 1) /* Next-line element scope. */
#define MAN_BLINE (1 << 2) /* Next-line block scope. */
+#define MAN_LITERAL (1 << 3) /* Literal input. */
enum man_next next;
struct man_node *last;
struct man_node *first;
@@ -58,6 +59,8 @@ enum merr {
WMACROFORM,
WEXITSCOPE,
WNOSCOPE,
+ WOLITERAL,
+ WNLITERAL,
WERRMAX
};
@@ -106,6 +109,7 @@ int man_verr(struct man *, int, int, const char *, ...);
int man_valid_post(struct man *);
int man_valid_pre(struct man *, const struct man_node *);
int man_action_post(struct man *);
+int man_action_pre(struct man *, struct man_node *);
int man_unscope(struct man *, const struct man_node *);
__END_DECLS