version 1.44, 2011/01/02 12:04:23 |
version 1.45, 2011/01/03 13:59:21 |
|
|
char tab; /* cell-separator */ |
char tab; /* cell-separator */ |
char decimal; /* decimal point */ |
char decimal; /* decimal point */ |
int linesize; |
int linesize; |
char delims[2]; |
char delims[2]; /* FIXME: deprecate */ |
int opts; |
int opts; |
#define TBL_OPT_CENTRE (1 << 0) |
#define TBL_OPT_CENTRE (1 << 0) |
#define TBL_OPT_EXPAND (1 << 1) |
#define TBL_OPT_EXPAND (1 << 1) |
|
|
#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) |
|
int cols; /* number of columns */ |
}; |
}; |
|
|
enum tbl_headt { |
enum tbl_headt { |
Line 173 enum tbl_headt { |
|
Line 174 enum tbl_headt { |
|
*/ |
*/ |
struct tbl_head { |
struct tbl_head { |
enum tbl_headt pos; |
enum tbl_headt pos; |
int width; /* width of cell in fixed chars */ |
int ident; /* 0 <= unique id < cols */ |
int decimal; /* decimal point position */ |
|
struct tbl_head *next; |
struct tbl_head *next; |
struct tbl_head *prev; |
struct tbl_head *prev; |
}; |
}; |