diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-04-29 22:18:12 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-04-29 22:18:12 +0000 |
commit | ca0ffe9dcbdc75b372adf897f81053ccd2df605e (patch) | |
tree | 9f55cfc1c41bcf64290b9c493f1d4f2403f3780b /out.h | |
parent | c8b861b7ce8fa5f991be88f5f1b2476c455fe717 (diff) | |
download | mandoc-ca0ffe9dcbdc75b372adf897f81053ccd2df605e.tar.gz |
Move "chars" interface out of out.h and into mandoc.h. This doesn't
change any code but for renaming functions and types to be consistent
with other mandoc.h stuff. The reason for moving into libmandoc is that
the rendering of special characters is part of mandoc itself---not an
external part. From mandoc(1)'s perspective, this changes nothing, but
for other utilities, it's important to have these part of libmandoc.
Note this isn't documented [yet] in mandoc.3 because there are some
parts I'd like to change around beforehand.
Diffstat (limited to 'out.h')
-rw-r--r-- | out.h | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -31,11 +31,6 @@ enum roffscale { SCALE_MAX }; -enum chars { - CHARS_ASCII, /* 7-bit ascii representation */ - CHARS_HTML /* unicode values */ -}; - struct roffcol { size_t width; /* width of cell */ size_t decimal; /* decimal position in cell */ @@ -72,14 +67,6 @@ int a2roffsu(const char *, struct roffsu *, enum roffscale); void time2a(time_t, char *, size_t); 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 #endif /*!OUT_H*/ |