version 1.57, 2009/01/07 15:53:00 |
version 1.58, 2009/01/07 15:57:14 |
|
|
enum mdoc_sec sec_last; |
enum mdoc_sec sec_last; |
}; |
}; |
|
|
|
|
|
#define MACRO_PROT_ARGS struct mdoc *mdoc, int tok, int line, \ |
|
int ppos, int *pos, char *buf |
|
|
struct mdoc_macro { |
struct mdoc_macro { |
int (*fp)(struct mdoc *, int, int, int *, char *); |
int (*fp)(MACRO_PROT_ARGS); |
int flags; |
int flags; |
#define MDOC_CALLABLE (1 << 0) |
#define MDOC_CALLABLE (1 << 0) |
#define MDOC_PARSED (1 << 1) |
#define MDOC_PARSED (1 << 1) |
Line 53 struct mdoc_macro { |
|
Line 57 struct mdoc_macro { |
|
|
|
extern const struct mdoc_macro *const mdoc_macros; |
extern const struct mdoc_macro *const mdoc_macros; |
|
|
#define MACRO_PROT_ARGS struct mdoc *mdoc, int tok, \ |
|
int ppos, int *pos, char *buf |
|
|
|
__BEGIN_DECLS |
__BEGIN_DECLS |
|
|
int mdoc_err(struct mdoc *, int, int, enum mdoc_err); |
int mdoc_err(struct mdoc *, int, int, enum mdoc_err); |
int mdoc_warn(struct mdoc *, int, int, enum mdoc_warn); |
int mdoc_warn(struct mdoc *, int, int, enum mdoc_warn); |
void mdoc_msg(struct mdoc *, int, const char *, ...); |
void mdoc_msg(struct mdoc *, int, const char *, ...); |
int mdoc_macro(struct mdoc *, int, int, int *, char *); |
int mdoc_macro(MACRO_PROT_ARGS); |
int mdoc_find(const struct mdoc *, const char *); |
int mdoc_find(const struct mdoc *, const char *); |
void mdoc_word_alloc(struct mdoc *, int, const char *); |
void mdoc_word_alloc(struct mdoc *, int, const char *); |
void mdoc_elem_alloc(struct mdoc *, int, int, |
void mdoc_elem_alloc(struct mdoc *, int, int, |