version 1.78, 2010/05/13 06:22:11 |
version 1.80, 2010/05/16 10:59:36 |
|
|
|
|
/* Information from prologue. */ |
/* Information from prologue. */ |
struct mdoc_meta { |
struct mdoc_meta { |
int msec; |
char *msec; |
char *vol; |
char *vol; |
char *arch; |
char *arch; |
time_t date; |
time_t date; |
|
|
void mdoc_free(struct mdoc *); |
void mdoc_free(struct mdoc *); |
struct mdoc *mdoc_alloc(void *, int, const struct mdoc_cb *); |
struct mdoc *mdoc_alloc(void *, int, const struct mdoc_cb *); |
void mdoc_reset(struct mdoc *); |
void mdoc_reset(struct mdoc *); |
int mdoc_parseln(struct mdoc *, int, char *buf); |
int mdoc_parseln(struct mdoc *, int, char *, int); |
const struct mdoc_node *mdoc_node(const struct mdoc *); |
const struct mdoc_node *mdoc_node(const struct mdoc *); |
const struct mdoc_meta *mdoc_meta(const struct mdoc *); |
const struct mdoc_meta *mdoc_meta(const struct mdoc *); |
int mdoc_endparse(struct mdoc *); |
int mdoc_endparse(struct mdoc *); |