File: gtm_icu_api.h

package info (click to toggle)
fis-gtm 6.3-014-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 36,680 kB
  • sloc: ansic: 333,039; asm: 5,180; csh: 4,956; sh: 1,924; awk: 291; makefile: 66; sed: 13
file content (61 lines) | stat: -rwxr-xr-x 2,116 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/****************************************************************
 *								*
 *	Copyright 2006, 2008 Fidelity Information Services, Inc	*
 *								*
 *	This source code contains the intellectual property	*
 *	of its copyright holder(s), and is made available	*
 *	under a license.  If you do not know the terms of	*
 *	the license, please stop and do not read further.	*
 *								*
 ****************************************************************/

#ifndef ICU_API_H
#define ICU_API_H

#define U_DISABLE_RENAMING 1	/* required by ICU to disable renaming */

#define u_isalpha			(*u_isalpha_ptr)
#define u_islower			(*u_islower_ptr)
#define u_isupper			(*u_isupper_ptr)
#define u_istitle			(*u_istitle_ptr)
#define u_iscntrl			(*u_iscntrl_ptr)
#define u_ispunct			(*u_ispunct_ptr)
#define u_isdigit			(*u_isdigit_ptr)
#define u_isspace			(*u_isspace_ptr)
#define u_isblank			(*u_isblank_ptr)
#define u_isprint			(*u_isprint_ptr)
#define u_getIntPropertyValue		(*u_getIntPropertyValue_ptr)
#define u_strFromUTF8			(*u_strFromUTF8_ptr)
#define u_strToUTF8			(*u_strToUTF8_ptr)
#define u_strToLower			(*u_strToLower_ptr)
#define u_strToUpper			(*u_strToUpper_ptr)
#define u_strToTitle			(*u_strToTitle_ptr)
#define u_strlen			(*u_strlen_ptr)
#define u_toupper			(*u_toupper_ptr)
#define u_finit				(*u_finit_ptr)
#define u_fgets				(*u_fgets_ptr)
#define u_fclose			(*u_fclose_ptr)
#define u_feof				(*u_feof_ptr)
#define ucnv_open			(*ucnv_open_ptr)
#define ucnv_close			(*ucnv_close_ptr)
#define ucnv_convertEx			(*ucnv_convertEx_ptr)
#define ucnv_getMaxCharSize		(*ucnv_getMaxCharSize_ptr)
#define ucnv_getMinCharSize		(*ucnv_getMinCharSize_ptr)
#define ucnv_setToUCallBack		(*ucnv_setToUCallBack_ptr)
#define ucnv_getName			(*ucnv_getName_ptr)
#define u_charType			(*u_charType_ptr)

#include <unicode/uchar.h>
#include <unicode/ucnv.h>
#include <unicode/ustdio.h>
#include <unicode/ustring.h>

LITREF UChar32 		u32_line_term[];

void gtm_icu_init(void);
void gtm_conv_init(void);

GBLREF	boolean_t	is_gtm_chset_utf8;
#define	GTM_ICU_INIT_IF_NEEDED	if (is_gtm_chset_utf8) gtm_icu_init();

#endif /* ICU_API_H */