version 1.19, 2011/04/09 15:29:40 |
version 1.20, 2011/04/29 22:18:12 |
|
|
SCALE_MAX |
SCALE_MAX |
}; |
}; |
|
|
enum chars { |
|
CHARS_ASCII, /* 7-bit ascii representation */ |
|
CHARS_HTML /* unicode values */ |
|
}; |
|
|
|
struct roffcol { |
struct roffcol { |
size_t width; /* width of cell */ |
size_t width; /* width of cell */ |
size_t decimal; /* decimal position in cell */ |
size_t decimal; /* decimal position in cell */ |
|
|
int a2roffsu(const char *, struct roffsu *, enum roffscale); |
int a2roffsu(const char *, struct roffsu *, enum roffscale); |
void time2a(time_t, char *, size_t); |
void time2a(time_t, char *, size_t); |
void tblcalc(struct rofftbl *tbl, const struct tbl_span *); |
void tblcalc(struct rofftbl *tbl, const struct tbl_span *); |
|
|
void *chars_init(enum chars); |
|
const char *chars_num2char(const char *, size_t); |
|
const char *chars_spec2str(void *, const char *, size_t, size_t *); |
|
int chars_spec2cp(void *, const char *, size_t); |
|
const char *chars_res2str(void *, const char *, size_t, size_t *); |
|
int chars_res2cp(void *, const char *, size_t); |
|
void chars_free(void *); |
|
|
|
__END_DECLS |
__END_DECLS |
|
|