version 1.9, 2009/06/10 20:18:43 |
version 1.12, 2009/07/04 09:01:55 |
|
|
struct man_meta meta; |
struct man_meta meta; |
}; |
}; |
|
|
|
enum merr { |
|
WNPRINT, |
|
WNMEM, |
|
WMSEC, |
|
WDATE, |
|
WLNSCOPE, |
|
WTSPACE, |
|
WTQUOTE, |
|
WNODATA, |
|
WNOTITLE, |
|
WESCAPE |
|
}; |
|
|
__BEGIN_DECLS |
__BEGIN_DECLS |
|
|
|
#define man_perr(m, l, p, t) \ |
|
man_err((m), l, p, 1, (t)) |
|
#define man_pwarn(m, l, p, t) \ |
|
man_err((m), l, p, 0, (t)) |
|
#define man_nerr(m, n, t) \ |
|
man_err((m), (n)->line, (n)->pos, 1, (t)) |
|
#define man_nwarn(m, n, t) \ |
|
man_err((m), (n)->line, (n)->pos, 0, (t)) |
|
|
|
int man_err(struct man *, int, int, int, enum merr); |
int man_word_alloc(struct man *, int, int, const char *); |
int man_word_alloc(struct man *, int, int, const char *); |
int man_elem_alloc(struct man *, int, int, int); |
int man_elem_alloc(struct man *, int, int, int); |
void man_node_free(struct man_node *); |
void man_node_free(struct man_node *); |