8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-25 02:03:03 +01:00
firebird-mirror/src/jrd/cvt_proto.h
skywalker b3667acaf8 Main changes were to add cr to end of the files.
cvt_proto.h removed a duplicate extern directive
gen/codes.h added back appolo error code, since it was still used
2002-03-11 16:34:08 +00:00

44 lines
1.8 KiB
C

/*
* PROGRAM: JRD Access Method
* MODULE: cvt_proto.h
* DESCRIPTION: Prototype header file for cvt.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_CVT_PROTO_H_
#define _JRD_CVT_PROTO_H_
extern double PASCAL_ROUTINE CVT_date_to_double(struct dsc *, FPTR_VOID);
extern void CVT_double_to_date(double, SLONG[2], FPTR_VOID);
extern double PASCAL_ROUTINE CVT_get_double(struct dsc *, FPTR_VOID);
extern SLONG CVT_get_long(struct dsc *, SSHORT, FPTR_VOID);
extern SINT64 CVT_get_int64(struct dsc *, SSHORT, FPTR_VOID);
extern UCHAR CVT_get_numeric(UCHAR *, USHORT, SSHORT *, double *, FPTR_VOID);
extern SQUAD CVT_get_quad(struct dsc *, SSHORT, FPTR_VOID);
extern USHORT CVT_get_string_ptr(struct dsc *, USHORT *, UCHAR **,
struct vary *, USHORT, FPTR_VOID);
extern GDS_DATE CVT_get_sql_date(struct dsc *, FPTR_VOID);
extern GDS_TIME CVT_get_sql_time(struct dsc *, FPTR_VOID);
extern GDS_TIMESTAMP CVT_get_timestamp(struct dsc *, FPTR_VOID);
extern USHORT CVT_make_string(struct dsc *, USHORT, UCHAR **, struct vary *,
USHORT, FPTR_VOID);
extern "C" void DLL_EXPORT CVT_move(struct dsc *, struct dsc *, FPTR_VOID);
#endif /* _JRD_CVT_PROTO_H_ */