8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-31 12:43:02 +01:00
firebird-mirror/src/intl/cv_jis.h

50 lines
2.0 KiB
C
Raw Normal View History

/*
* PROGRAM: InterBase International support
* MODULE: cv_jis.h
* DESCRIPTION: Codeset conversion for JIS family codesets
*
* The contents of this file are subject to the Interbase Public
* License Version 1.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy
* of the License at http://www.Inprise.com/IPL.html
*
* Software distributed under the License is distributed on an
* "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
* or implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code was created by Inprise Corporation
* and its predecessors. Portions created by Inprise Corporation are
* Copyright (C) Inprise Corporation.
*
* All Rights Reserved.
* Contributor(s): ______________________________________.
*/
2005-05-28 00:45:31 +02:00
ULONG CVJIS_sjis_to_unicode(csconvert* obj, ULONG sjis_len, const UCHAR* sjis_str,
ULONG dest_len, UCHAR *dest_ptr,
2005-05-28 00:45:31 +02:00
USHORT *err_code, ULONG *err_position);
ULONG CVJIS_unicode_to_sjis(csconvert* obj, ULONG unicode_len, const UCHAR* unicode_str,
2005-05-28 00:45:31 +02:00
ULONG sjis_len, UCHAR *sjis_str,
USHORT *err_code, ULONG *err_position);
2005-05-28 00:45:31 +02:00
ULONG CVJIS_eucj_to_unicode(csconvert* obj, ULONG src_len, const UCHAR* src_ptr,
ULONG dest_len, UCHAR *dest_ptr,
2005-05-28 00:45:31 +02:00
USHORT *err_code, ULONG *err_position);
ULONG CVJIS_unicode_to_eucj(csconvert* obj, ULONG unicode_len, const UCHAR* unicode_str,
2005-05-28 00:45:31 +02:00
ULONG eucj_len, UCHAR *eucj_str,
USHORT *err_code, ULONG *err_position);
/*
static USHORT CVJIS_check_euc(UCHAR *euc_str, USHORT euc_len);
static USHORT CVJIS_check_sjis(UCHAR *sjis_str, USHORT sjis_len);
static USHORT CVJIS_euc2sjis(csconvert* obj, UCHAR *sjis_str, USHORT sjis_len, UCHAR *euc_str
, USHORT euc_len, SSHORT *err_code, USHORT *err_position);
static USHORT CVJIS_sjis2euc(csconvert* obj, UCHAR *euc_str, USHORT euc_len, UCHAR *sjis_str
, USHORT sjis_len, SSHORT *err_code, USHORT *err_position);
*/