2
* PROGRAM: JRD Access Method
4
* DESCRIPTION: Prototype header file for mov.cpp
6
* The contents of this file are subject to the Interbase Public
7
* License Version 1.0 (the "License"); you may not use this file
8
* except in compliance with the License. You may obtain a copy
9
* of the License at http://www.Inprise.com/IPL.html
11
* Software distributed under the License is distributed on an
12
* "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
13
* or implied. See the License for the specific language governing
14
* rights and limitations under the License.
16
* The Original Code was created by Inprise Corporation
17
* and its predecessors. Portions created by Inprise Corporation are
18
* Copyright (C) Inprise Corporation.
20
* All Rights Reserved.
21
* Contributor(s): ______________________________________.
24
#ifndef JRD_MOV_PROTO_H
25
#define JRD_MOV_PROTO_H
27
#include "../jrd/dsc.h"
28
#include "../jrd/jrd.h"
29
#include "../jrd/val.h"
34
int MOV_compare(const dsc*, const dsc*);
35
double MOV_date_to_double(const dsc*);
36
void MOV_double_to_date(double, SLONG[2]);
37
void MOV_fast(const SCHAR*, SCHAR*, ULONG);
38
void MOV_faster(const SLONG*, SLONG*, ULONG);
39
void MOV_fill(SLONG*, ULONG);
40
double MOV_get_double(const dsc*);
41
SLONG MOV_get_long(const dsc*, SSHORT);
42
void MOV_get_metadata_str(const dsc*, TEXT*, USHORT);
43
void MOV_get_name(const dsc*, TEXT*);
44
SQUAD MOV_get_quad(const dsc*, SSHORT);
45
SINT64 MOV_get_int64(const dsc*, SSHORT);
46
int MOV_get_string_ptr(const dsc*, USHORT*, UCHAR**, vary*,
48
int MOV_get_string(const dsc*, UCHAR**, vary*, USHORT);
49
GDS_DATE MOV_get_sql_date(const dsc*);
50
GDS_TIME MOV_get_sql_time(const dsc*);
51
GDS_TIMESTAMP MOV_get_timestamp(const dsc*);
52
int MOV_make_string(const dsc*, USHORT, const char**, vary*, USHORT);
53
int MOV_make_string2(Jrd::thread_db*, const dsc*, USHORT, UCHAR**, Jrd::MoveBuffer&, bool = true);
54
void MOV_move(Jrd::thread_db*, /*const*/ dsc*, dsc*);
56
#endif // JRD_MOV_PROTO_H