version 1.41, 2010/12/29 00:47:30 |
version 1.42, 2011/01/04 22:28:17 |
|
|
/* $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 |
|
|
MDOC_sp, |
MDOC_sp, |
MDOC__U, |
MDOC__U, |
MDOC_Ta, |
MDOC_Ta, |
MDOC_TS, |
|
MDOC_TE, |
|
MDOC_MAX |
MDOC_MAX |
}; |
}; |
|
|
|
|
MDOC_TAIL, |
MDOC_TAIL, |
MDOC_BODY, |
MDOC_BODY, |
MDOC_BLOCK, |
MDOC_BLOCK, |
|
MDOC_TBL, |
MDOC_ROOT |
MDOC_ROOT |
}; |
}; |
|
|
|
|
struct mdoc_bf Bf; |
struct mdoc_bf Bf; |
struct mdoc_bl Bl; |
struct mdoc_bl Bl; |
struct mdoc_rs Rs; |
struct mdoc_rs Rs; |
struct tbl *TS; |
|
}; |
}; |
|
|
/* |
/* |
|
|
struct mdoc_node *body; /* BLOCK */ |
struct mdoc_node *body; /* BLOCK */ |
struct mdoc_node *tail; /* BLOCK */ |
struct mdoc_node *tail; /* BLOCK */ |
char *string; /* TEXT */ |
char *string; /* TEXT */ |
|
const struct tbl_span *span; /* TBL */ |
enum mdoc_endbody end; /* BODY */ |
enum mdoc_endbody end; /* BODY */ |
}; |
}; |
|
|
|
|
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 *); |
|
int mdoc_addspan(struct mdoc *, |
|
const struct tbl_span *); |
|
|
__END_DECLS |
__END_DECLS |
|
|