version 1.117, 2011/02/09 09:05:52 |
version 1.120, 2011/03/22 09:48:13 |
|
|
/* $Id$ */ |
/* $Id$ */ |
/* |
/* |
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> |
* |
* |
* Permission to use, copy, modify, and distribute this software for any |
* Permission to use, copy, modify, and distribute this software for any |
* purpose with or without fee is hereby granted, provided that the above |
* purpose with or without fee is hereby granted, provided that the above |
Line 232 struct mdoc_meta { |
|
Line 232 struct mdoc_meta { |
|
char *msec; /* `Dt' section (1, 3p, etc.) */ |
char *msec; /* `Dt' section (1, 3p, etc.) */ |
char *vol; /* `Dt' volume (implied) */ |
char *vol; /* `Dt' volume (implied) */ |
char *arch; /* `Dt' arch (i386, etc.) */ |
char *arch; /* `Dt' arch (i386, etc.) */ |
time_t date; /* `Dd' normalised date */ |
char *date; /* `Dd' normalised date */ |
char *title; /* `Dt' title (FOO, etc.) */ |
char *title; /* `Dt' title (FOO, etc.) */ |
char *os; /* `Os' system (OpenBSD, etc.) */ |
char *os; /* `Os' system (OpenBSD, etc.) */ |
char *name; /* leading `Nm' name */ |
char *name; /* leading `Nm' name */ |
|
|
|
|
struct mdoc; |
struct mdoc; |
|
|
void mdoc_free(struct mdoc *); |
|
struct mdoc *mdoc_alloc(struct regset *, void *, mandocmsg); |
|
void mdoc_reset(struct mdoc *); |
|
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_addspan(struct mdoc *, |
|
const struct tbl_span *); |
|
int mdoc_addeqn(struct mdoc *, |
|
const struct eqn *); |
|
|
|
__END_DECLS |
__END_DECLS |
|
|