summaryrefslogtreecommitdiffstats
path: root/man.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-25 21:03:13 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-25 21:03:13 +0000
commit0516216740b04a6adb890cc3d4639da26aee1f83 (patch)
tree8ca40ec0505a82a52471516d2c22311fdce11281 /man.h
parent6523a18ca02eff88194a52b582daa4f0b84b6ac8 (diff)
downloadmandoc-0516216740b04a6adb890cc3d4639da26aee1f83.tar.gz
Added pflags to man_alloc.
Abstract fflags -> pflags in main.c.
Diffstat (limited to 'man.h')
-rw-r--r--man.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/man.h b/man.h
index 6e66a969..3e232c18 100644
--- a/man.h
+++ b/man.h
@@ -72,6 +72,8 @@ struct man_node {
char *string;
};
+#define MAN_IGN_MACRO (1 << 0) /* Ignore unknown macros. */
+
extern const char *const *man_macronames;
struct man_cb {
@@ -84,7 +86,7 @@ __BEGIN_DECLS
struct man;
void man_free(struct man *);
-struct man *man_alloc(void *, const struct man_cb *);
+struct man *man_alloc(void *, int, const struct man_cb *);
void man_reset(struct man *);
int man_parseln(struct man *, int, char *buf);
int man_endparse(struct man *);