~ubuntu-branches/ubuntu/karmic/firebird2.1/karmic

« back to all changes in this revision

Viewing changes to src/jrd/mov_proto.h

  • Committer: Bazaar Package Importer
  • Author(s): Damyan Ivanov
  • Date: 2008-05-26 23:59:25 UTC
  • Revision ID: james.westby@ubuntu.com-20080526235925-2pnqj6nxpppoeaer
Tags: upstream-2.1.0.17798-0.ds2
ImportĀ upstreamĀ versionĀ 2.1.0.17798-0.ds2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *      PROGRAM:        JRD Access Method
 
3
 *      MODULE:         mov_proto.h
 
4
 *      DESCRIPTION:    Prototype header file for mov.cpp
 
5
 *
 
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
 
10
 *
 
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.
 
15
 *
 
16
 * The Original Code was created by Inprise Corporation
 
17
 * and its predecessors. Portions created by Inprise Corporation are
 
18
 * Copyright (C) Inprise Corporation.
 
19
 *
 
20
 * All Rights Reserved.
 
21
 * Contributor(s): ______________________________________.
 
22
 */
 
23
 
 
24
#ifndef JRD_MOV_PROTO_H
 
25
#define JRD_MOV_PROTO_H
 
26
 
 
27
#include "../jrd/dsc.h"
 
28
#include "../jrd/jrd.h"
 
29
#include "../jrd/val.h"
 
30
 
 
31
struct dsc;
 
32
struct vary;
 
33
 
 
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*,
 
47
                                                          USHORT);
 
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*);
 
55
 
 
56
#endif // JRD_MOV_PROTO_H