version 1.6, 2010/12/29 14:53:31 |
version 1.10, 2010/12/31 14:52:41 |
|
|
struct tbl_cell *last; |
struct tbl_cell *last; |
}; |
}; |
|
|
|
struct tbl_dat { |
|
struct tbl_cell *layout; /* layout cell: CAN BE NULL */ |
|
struct tbl_dat *next; |
|
char *string; |
|
int flags; |
|
#define TBL_DATA_HORIZ (1 << 0) |
|
#define TBL_DATA_DHORIZ (1 << 1) |
|
#define TBL_DATA_NHORIZ (1 << 2) |
|
#define TBL_DATA_NDHORIZ (1 << 3) |
|
}; |
|
|
|
struct tbl_span { |
|
struct tbl_row *layout; /* layout row: CAN BE NULL */ |
|
struct tbl_dat *first; |
|
struct tbl_dat *last; |
|
int flags; |
|
#define TBL_SPAN_HORIZ (1 << 0) |
|
#define TBL_SPAN_DHORIZ (1 << 1) |
|
struct tbl_span *next; |
|
}; |
|
|
struct tbl { |
struct tbl { |
mandocmsg msg; /* status messages */ |
mandocmsg msg; /* status messages */ |
void *data; /* privdata for messages */ |
void *data; /* privdata for messages */ |
|
|
#define TBL_OPT_ALLBOX (1 << 4) |
#define TBL_OPT_ALLBOX (1 << 4) |
#define TBL_OPT_NOKEEP (1 << 5) |
#define TBL_OPT_NOKEEP (1 << 5) |
#define TBL_OPT_NOSPACE (1 << 6) |
#define TBL_OPT_NOSPACE (1 << 6) |
struct tbl_row *first; |
struct tbl_row *first_row; |
struct tbl_row *last; |
struct tbl_row *last_row; |
|
struct tbl_span *first_span; |
|
struct tbl_span *last_span; |
|
struct tbl *next; |
}; |
}; |
|
|
#define TBL_MSG(tblp, type, line, col) \ |
#define TBL_MSG(tblp, type, line, col) \ |
Line 90 void tbl_reset(struct tbl *); |
|
Line 114 void tbl_reset(struct tbl *); |
|
enum rofferr tbl_read(struct tbl *, int, const char *, int); |
enum rofferr tbl_read(struct tbl *, int, const char *, int); |
int tbl_option(struct tbl *, int, const char *); |
int tbl_option(struct tbl *, int, const char *); |
int tbl_layout(struct tbl *, int, const char *); |
int tbl_layout(struct tbl *, int, const char *); |
|
int tbl_data(struct tbl *, int, const char *); |
|
|
__END_DECLS |
__END_DECLS |
|
|