mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-27 04:43:02 +01:00
71 lines
2.7 KiB
C
71 lines
2.7 KiB
C
|
/*
|
||
|
* PROGRAM: JRD Access method
|
||
|
* MODULE: intl_proto.h
|
||
|
* DESCRIPTION: Prototype Header file for intl.c
|
||
|
*
|
||
|
* 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): ______________________________________.
|
||
|
*/
|
||
|
|
||
|
#ifndef _JRD_INTL_PROTO_H_
|
||
|
#define _JRD_INTL_PROTO_H_
|
||
|
|
||
|
#include "../jrd/intlobj.h"
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
extern SSHORT DLL_EXPORT INTL_charset(TDBB, USHORT, FPTR_VOID);
|
||
|
extern int DLL_EXPORT INTL_compare(TDBB, struct dsc *, struct dsc *,
|
||
|
FPTR_VOID);
|
||
|
extern USHORT DLL_EXPORT INTL_convert_bytes(TDBB, SSHORT, UCHAR *, USHORT,
|
||
|
SSHORT, UCHAR *, USHORT,
|
||
|
FPTR_VOID);
|
||
|
extern struct csconvert *DLL_EXPORT INTL_convert_lookup(TDBB, SSHORT, SSHORT);
|
||
|
extern int DLL_EXPORT INTL_convert_string(struct dsc *, struct dsc *,
|
||
|
FPTR_VOID);
|
||
|
extern int DLL_EXPORT INTL_data(struct dsc *);
|
||
|
extern int DLL_EXPORT INTL_data_or_binary(struct dsc *);
|
||
|
extern int DLL_EXPORT INTL_defined_type(TDBB, STATUS *, SSHORT);
|
||
|
extern SSHORT DLL_EXPORT INTL_fss_mbtowc(struct texttype **, unsigned short *,
|
||
|
unsigned char *, USHORT);
|
||
|
extern USHORT DLL_EXPORT INTL_fss_to_unicode(struct csconvert *, USHORT *,
|
||
|
USHORT, unsigned char *, USHORT,
|
||
|
SSHORT *, USHORT *);
|
||
|
extern unsigned short DLL_EXPORT INTL_getch(TDBB, struct texttype **, SSHORT,
|
||
|
UCHAR **, USHORT *);
|
||
|
extern void DLL_EXPORT INTL_init(TDBB);
|
||
|
extern USHORT DLL_EXPORT INTL_key_length(TDBB, USHORT, USHORT);
|
||
|
extern void *DLL_EXPORT INTL_obj_lookup(TDBB, USHORT, SSHORT, FPTR_VOID,
|
||
|
STATUS *);
|
||
|
extern void DLL_EXPORT INTL_pad_spaces(TDBB, struct dsc *, UCHAR *, USHORT);
|
||
|
extern USHORT DLL_EXPORT INTL_string_to_key(TDBB, USHORT, struct dsc *,
|
||
|
struct dsc *, USHORT);
|
||
|
extern int DLL_EXPORT INTL_str_to_upper(TDBB, struct dsc *);
|
||
|
extern USHORT DLL_EXPORT INTL_unicode_to_fss(struct csconvert *,
|
||
|
unsigned char *, USHORT,
|
||
|
USHORT *, USHORT, SSHORT *,
|
||
|
USHORT *);
|
||
|
extern UCHAR DLL_EXPORT INTL_upper(TDBB, USHORT, UCHAR);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
} /* extern "C" */
|
||
|
#endif
|
||
|
|
||
|
#endif /* _JRD_INTL_PROTO_H_ */
|