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

« back to all changes in this revision

Viewing changes to src/jrd/ext_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:         ext_proto.h
 
4
 *      DESCRIPTION:    Prototype header file for ext.cpp & extvms.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_EXT_PROTO_H
 
25
#define JRD_EXT_PROTO_H
 
26
 
 
27
namespace Jrd {
 
28
        class ExternalFile;
 
29
        class jrd_tra;
 
30
        class RecordSource;
 
31
        class jrd_rel;
 
32
        class OptimizerBlk;
 
33
        class jrd_nod;
 
34
        struct record_param;
 
35
        struct bid;
 
36
}
 
37
 
 
38
void    EXT_close(Jrd::RecordSource*);
 
39
void    EXT_erase(Jrd::record_param*, Jrd::jrd_tra*);
 
40
Jrd::ExternalFile*      EXT_file(Jrd::jrd_rel*, const TEXT*, Jrd::bid*);
 
41
void    EXT_fini(Jrd::jrd_rel*, bool);
 
42
bool    EXT_get(Jrd::thread_db*, Jrd::RecordSource*);
 
43
void    EXT_modify(Jrd::record_param*, Jrd::record_param*, Jrd::jrd_tra*);
 
44
 
 
45
#ifdef VMS
 
46
int     EXT_open(Jrd::RecordSource*);
 
47
#else
 
48
void    EXT_open(Jrd::thread_db*, Jrd::RecordSource*);
 
49
#endif
 
50
Jrd::RecordSource*      EXT_optimize(Jrd::OptimizerBlk*, SSHORT, Jrd::jrd_nod**);
 
51
void    EXT_ready(Jrd::jrd_rel*);
 
52
void    EXT_store(Jrd::thread_db*, Jrd::record_param*, Jrd::jrd_tra*);
 
53
void    EXT_trans_commit(Jrd::jrd_tra*);
 
54
void    EXT_trans_prepare(Jrd::jrd_tra*);
 
55
void    EXT_trans_rollback(Jrd::jrd_tra*);
 
56
void    EXT_trans_start(Jrd::jrd_tra*);
 
57
 
 
58
#endif // JRD_EXT_PROTO_H
 
59