00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
#ifndef UNICONV_HPP
00022
#define UNICONV_HPP
00023
00024
#include <xercesc/util/XercesDefs.hpp>
00025
00026 XERCES_CPP_NAMESPACE_BEGIN
00027
00028
00029 typedef void *
uniconv_t;
00030 #define UNICONV_ERROR (uniconv_t)-1
00031 #define UNICONV_NOHANDLE (uniconv_t)0
00032
00033
00034
00035
uniconv_t uniconv_open(
const char *,
const char *);
00036
int uniconv_close(uniconv_t);
00037
int uniconv(uniconv_t cd,
char **inbuf, size_t *inbytesleft,
00038
char **outbuf, size_t *outbytesleft);
00039
00040
00041
00042 typedef unsigned short unichar_t;
00043
uniconv_t uniconv_toupper_open();
00044
uniconv_t uniconv_tolower_open();
00045 #define uniconv_toupper_close(_a) _uniconv_case_close(_a)
00046 #define uniconv_tolower_close(_a) _uniconv_case_close(_a)
00047
int _uniconv_case_close(uniconv_t handle_area);
00048
unichar_t uniconv_caseit(uniconv_t cd, unichar_t inchar);
00049
00050 XERCES_CPP_NAMESPACE_END
00051
00052
#endif