X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/bbca9de4c44fc5e7d5aa68015495daccc2f69081..edfe20876cb0a4f5dafff7c44b921b4a5a8c5830:/mdoc.h diff --git a/mdoc.h b/mdoc.h index 00cc5f6a..bfec2f12 100644 --- a/mdoc.h +++ b/mdoc.h @@ -1,4 +1,4 @@ -/* $Id: mdoc.h,v 1.78 2010/05/13 06:22:11 kristaps Exp $ */ +/* $Id: mdoc.h,v 1.80 2010/05/16 10:59:36 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -223,7 +223,7 @@ enum mdoc_sec { /* Information from prologue. */ struct mdoc_meta { - int msec; + char *msec; char *vol; char *arch; time_t date; @@ -299,7 +299,7 @@ struct mdoc; void mdoc_free(struct mdoc *); struct mdoc *mdoc_alloc(void *, int, const struct mdoc_cb *); 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_meta *mdoc_meta(const struct mdoc *); int mdoc_endparse(struct mdoc *);