charsetc.h
1.48 KB
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
/*
* Modifications Copyright 1993, 1994, 1995, 1996, 1999, 2000, 2001, 2002,
* 2004, 2005 by Paul Mattes.
* Original X11 Port Copyright 1990 by Jeff Sparkes.
* Permission to use, copy, modify, and distribute this software and its
* documentation for any purpose and without fee is hereby granted,
* provided that the above copyright notice appear in all copies and that
* both that copyright notice and this permission notice appear in
* supporting documentation.
*
* Copyright 1989 by Georgia Tech Research Corporation, Atlanta, GA 30332.
* All Rights Reserved. GTRC hereby grants public use of this software.
* Derivative works based on this software must incorporate this copyright
* notice.
*
* x3270, c3270, s3270 and tcl3270 are distributed in the hope that they will
* be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the file LICENSE
* for more details.
*/
/*
* charsetc.h
* Global declarations for charset.c
*/
LIB3270_INTERNAL Boolean charset_changed;
LIB3270_INTERNAL unsigned long cgcsgid;
#if defined(X3270_DBCS) /*[*/
LIB3270_INTERNAL unsigned long cgcsgid_dbcs;
LIB3270_INTERNAL char *converter_names;
LIB3270_INTERNAL char *encoding;
#endif /*]*/
LIB3270_INTERNAL char *default_display_charset;
enum cs_result { CS_OKAY, CS_NOTFOUND, CS_BAD, CS_PREREQ, CS_ILLEGAL };
LIB3270_INTERNAL enum cs_result charset_init(char *csname);
LIB3270_INTERNAL char *get_charset_name(void);