X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=charset%2Fcharconv.h;h=a235025e9c628d16a518e17180aaacd6c40c48a4;hb=23f2f5abfec1098ce98afa88b8308b869d59216c;hp=14fee079ac02fea498c077bffcc55934c4a165e6;hpb=5451cada955bd952f5c732857e27ed676e873aa1;p=libucw.git diff --git a/charset/charconv.h b/charset/charconv.h index 14fee079..a235025e 100644 --- a/charset/charconv.h +++ b/charset/charconv.h @@ -1,7 +1,7 @@ /* - * Character Set Conversion Library 1.0 + * Character Set Conversion Library 1.1 * - * (c) 1998 Martin Mares + * (c) 1998--2001 Martin Mares * * This software may be freely distributed and used according to the terms * of the GNU General Public License. See file COPYING in any of the GNU packages. @@ -39,5 +39,12 @@ void conv_set_charset(struct conv_context *, int, int); #define CONV_CHARSET_UTF8 8 #define CONV_NUM_CHARSETS 9 +/* For those brave ones who want to mess with charconv internals */ +unsigned int conv_x_to_ucs(unsigned int x); +unsigned int conv_ucs_to_x(unsigned int ucs); +unsigned int conv_x_count(void); + +/* Charset names */ + int find_charset_by_name(char *); char *charset_name(int);