version 1.23, 2009/01/16 12:23:25 |
version 1.26, 2009/01/19 17:02:58 |
Line 346 struct mdoc_meta { |
|
Line 346 struct mdoc_meta { |
|
enum mdoc_vol vol; |
enum mdoc_vol vol; |
enum mdoc_arch arch; |
enum mdoc_arch arch; |
time_t date; |
time_t date; |
#define META_TITLE_SZ (64) |
char *title; |
char title[META_TITLE_SZ]; |
char *os; |
#define META_OS_SZ (64) |
char *name; |
char os[META_OS_SZ]; |
|
}; |
}; |
|
|
struct mdoc_text { |
struct mdoc_text { |
Line 386 struct mdoc_node { |
|
Line 385 struct mdoc_node { |
|
int line; |
int line; |
int pos; |
int pos; |
int tok; |
int tok; |
|
int flags; |
|
#define MDOC_VALID (1 << 0) |
|
#define MDOC_ACTED (1 << 1) |
enum mdoc_type type; |
enum mdoc_type type; |
union mdoc_data data; |
union mdoc_data data; |
}; |
}; |
Line 419 const struct mdoc_node *mdoc_result(struct mdoc *); |
|
Line 421 const struct mdoc_node *mdoc_result(struct mdoc *); |
|
|
|
/* Signal end of parse sequence (boolean retval). */ |
/* Signal end of parse sequence (boolean retval). */ |
int mdoc_endparse(struct mdoc *); |
int mdoc_endparse(struct mdoc *); |
|
|
/* Node type to static string. */ |
|
char *mdoc_type2a(enum mdoc_type); |
|
|
|
__END_DECLS |
__END_DECLS |
|
|