CUBRID Engine
latest
Main Page
Namespaces
Classes
Files
File List
File Members
charset_converters.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 1999-2002, 2004-2009 Free Software Foundation, Inc.
3
* This file is part of the GNU LIBICONV Library.
4
*
5
* The GNU LIBICONV Library is free software; you can redistribute it
6
* and/or modify it under the terms of the GNU Library General Public
7
* License as published by the Free Software Foundation; either version 2
8
* of the License, or (at your option) any later version.
9
*
10
* The GNU LIBICONV Library is distributed in the hope that it will be
11
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
* Library General Public License for more details.
14
*
15
* You should have received a copy of the GNU Library General Public
16
* License along with the GNU LIBICONV Library; see the file COPYING.LIB.
17
* If not, write to the Free Software Foundation, Inc., 51 Franklin Street,
18
* Fifth Floor, Boston, MA 02110-1301, USA.
19
*/
20
21
/* This file defines all the converters. */
22
23
/* Return code if invalid. (xxx_mbtowc) */
24
#define RET_ILSEQ -1
25
#define RET_TOOFEW -2
26
27
28
/* Return code if invalid. (xxx_wctomb) */
29
#define RET_ILUNI -1
30
#define RET_TOOSMALL -2
31
32
33
/* Our own notion of wide character, as UCS-4, according to ISO-10646-1. */
34
typedef
unsigned
int
ucs4_t
;
35
36
typedef
struct
s_Summary16
Summary16
;
37
struct
s_Summary16
38
{
39
unsigned
short
indx
;
/* index into big table */
40
unsigned
short
used
;
/* bitmask of used entries */
41
};
42
43
#include "
ksc5601.h
"
44
#include "
jisx0212.h
"
ucs4_t
unsigned int ucs4_t
Definition:
charset_converters.h:34
jisx0212.h
ksc5601.h
s_Summary16
Definition:
charset_converters.h:37
s_Summary16::indx
unsigned short indx
Definition:
charset_converters.h:39
s_Summary16::used
unsigned short used
Definition:
charset_converters.h:40
src
base
charset_converters.h
Generated by
1.8.11