version 1.18, 2011/02/06 20:36:36 |
version 1.22, 2011/07/17 12:13:37 |
|
|
}; |
}; |
|
|
struct tbl_node { |
struct tbl_node { |
mandocmsg msg; /* status messages */ |
struct mparse *parse; /* parse point */ |
void *data; /* privdata for messages */ |
|
int pos; /* invocation column */ |
int pos; /* invocation column */ |
int line; /* invocation line */ |
int line; /* invocation line */ |
enum tbl_part part; |
enum tbl_part part; |
Line 43 struct tbl_node { |
|
Line 42 struct tbl_node { |
|
struct tbl_node *next; |
struct tbl_node *next; |
}; |
}; |
|
|
|
struct eqn_def { |
|
char *key; |
|
size_t keysz; |
|
char *val; |
|
size_t valsz; |
|
}; |
|
|
struct eqn_node { |
struct eqn_node { |
int pos; /* invocation column */ |
struct eqn_def *defs; |
int line; /* invocation line */ |
size_t defsz; |
struct eqn eqn; |
struct eqn eqn; |
struct eqn_node *next; |
struct mparse *parse; |
|
struct eqn_node *next; |
}; |
}; |
|
|
#define TBL_MSG(tblp, type, line, col) \ |
struct tbl_node *tbl_alloc(int, int, struct mparse *); |
(*(tblp)->msg)((type), (tblp)->data, (line), (col), NULL) |
|
|
|
struct tbl_node *tbl_alloc(int, int, void *, mandocmsg); |
|
void tbl_restart(int, int, struct tbl_node *); |
void tbl_restart(int, int, struct tbl_node *); |
void tbl_free(struct tbl_node *); |
void tbl_free(struct tbl_node *); |
void tbl_reset(struct tbl_node *); |
void tbl_reset(struct tbl_node *); |
Line 64 int tbl_data(struct tbl_node *, int, const char *); |
|
Line 68 int tbl_data(struct tbl_node *, int, const char *); |
|
int tbl_cdata(struct tbl_node *, int, const char *); |
int tbl_cdata(struct tbl_node *, int, const char *); |
const struct tbl_span *tbl_span(struct tbl_node *); |
const struct tbl_span *tbl_span(struct tbl_node *); |
void tbl_end(struct tbl_node *); |
void tbl_end(struct tbl_node *); |
struct eqn_node *eqn_alloc(int, int); |
struct eqn_node *eqn_alloc(int, int, struct mparse *); |
void eqn_end(struct eqn_node *); |
void eqn_end(struct eqn_node *); |
void eqn_free(struct eqn_node *); |
void eqn_free(struct eqn_node *); |
enum rofferr eqn_read(struct eqn_node **, int, const char *, int); |
enum rofferr eqn_read(struct eqn_node **, int, |
|
const char *, int, int *); |
|
|
__END_DECLS |
__END_DECLS |
|
|