Rev 4208 | Rev 4212 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4208 | Rev 4209 | ||
---|---|---|---|
Line 40... | Line 40... | ||
40 | #define UTF8_NO_LIMIT ((size_t) -1) |
40 | #define UTF8_NO_LIMIT ((size_t) -1) |
41 | 41 | ||
42 | extern char invalch; |
42 | extern char invalch; |
43 | 43 | ||
44 | extern wchar_t chr_decode(const char *, size_t *, size_t); |
44 | extern wchar_t chr_decode(const char *, size_t *, size_t); |
45 | extern int chr_encode(const wchar_t, char *, size_t *, size_t); |
45 | extern int chr_encode(wchar_t, char *, size_t *, size_t); |
- | 46 | extern count_t chr_width(wchar_t); |
|
46 | 47 | ||
47 | extern size_t str_size(const char *str); |
48 | extern size_t str_size(const char *); |
48 | extern size_t str_lsize(const char *, count_t); |
49 | extern size_t str_lsize(const char *, count_t); |
- | 50 | extern size_t str_wsize(const char *, count_t); |
|
- | 51 | ||
49 | extern count_t str_length(const char *str); |
52 | extern count_t str_length(const char *); |
50 | extern count_t wstr_length(const wchar_t *str); |
53 | extern count_t wstr_length(const wchar_t *); |
- | 54 | extern count_t wstr_wlength(const wchar_t *, count_t); |
|
51 | 55 | ||
52 | extern bool ascii_check(const wchar_t ch); |
56 | extern bool ascii_check(const wchar_t ch); |
53 | extern bool unicode_check(const wchar_t ch); |
57 | extern bool unicode_check(const wchar_t ch); |
54 | 58 | ||
55 | extern int strcmp(const char *src, const char *dst); |
59 | extern int strcmp(const char *src, const char *dst); |