2
* PROGRAM: JRD Access method
4
* DESCRIPTION: Prototype Header file for tpc.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_TPC_PROTO_H
25
#define JRD_TPC_PROTO_H
27
int TPC_cache_state(Jrd::thread_db*, SLONG);
28
void TPC_initialize_tpc(Jrd::thread_db*, SLONG);
29
void TPC_set_state(Jrd::thread_db*, SLONG, SSHORT);
30
int TPC_snapshot_state(Jrd::thread_db*, SLONG);
31
void TPC_update_cache(Jrd::thread_db*, const Ods::tx_inv_page*, SLONG);
33
#endif // JRD_TPC_PROTO_H