diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-25 21:03:13 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-25 21:03:13 +0000 |
commit | 0516216740b04a6adb890cc3d4639da26aee1f83 (patch) | |
tree | 8ca40ec0505a82a52471516d2c22311fdce11281 /man.h | |
parent | 6523a18ca02eff88194a52b582daa4f0b84b6ac8 (diff) | |
download | mandoc-0516216740b04a6adb890cc3d4639da26aee1f83.tar.gz |
Added pflags to man_alloc.
Abstract fflags -> pflags in main.c.
Diffstat (limited to 'man.h')
-rw-r--r-- | man.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 *); |