version 1.64, 2014/03/30 19:47:48 |
version 1.68, 2014/12/24 18:04:10 |
|
|
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
*/ |
*/ |
#ifndef MAN_H |
|
#define MAN_H |
|
|
|
enum mant { |
enum mant { |
MAN_br = 0, |
MAN_br = 0, |
|
|
MAN_BLOCK, |
MAN_BLOCK, |
MAN_HEAD, |
MAN_HEAD, |
MAN_BODY, |
MAN_BODY, |
MAN_TAIL, |
|
MAN_TBL, |
MAN_TBL, |
MAN_EQN |
MAN_EQN |
}; |
}; |
Line 79 struct man_meta { |
|
Line 76 struct man_meta { |
|
char *vol; /* `TH' volume */ |
char *vol; /* `TH' volume */ |
char *title; /* `TH' title (e.g., FOO) */ |
char *title; /* `TH' title (e.g., FOO) */ |
char *source; /* `TH' source (e.g., GNU) */ |
char *source; /* `TH' source (e.g., GNU) */ |
|
int hasbody; /* document is not empty */ |
}; |
}; |
|
|
struct man_node { |
struct man_node { |
Line 101 struct man_node { |
|
Line 99 struct man_node { |
|
struct man_node *body; /* BLOCK node BODY ptr */ |
struct man_node *body; /* BLOCK node BODY ptr */ |
const struct tbl_span *span; /* TBL */ |
const struct tbl_span *span; /* TBL */ |
const struct eqn *eqn; /* EQN */ |
const struct eqn *eqn; /* EQN */ |
|
int aux; /* decoded node data, type-dependent */ |
}; |
}; |
|
|
/* Names of macros. Index is enum mant. */ |
/* Names of macros. Index is enum mant. */ |
Line 116 const struct mparse *man_mparse(const struct man *); |
|
Line 115 const struct mparse *man_mparse(const struct man *); |
|
void man_deroff(char **, const struct man_node *); |
void man_deroff(char **, const struct man_node *); |
|
|
__END_DECLS |
__END_DECLS |
|
|
#endif /*!MAN_H*/ |
|