2001-05-23 15:26:42 +02:00
|
|
|
/*
|
|
|
|
* PROGRAM: JRD Access Method
|
|
|
|
* MODULE: cmp_proto.h
|
|
|
|
* DESCRIPTION: Prototype header file for cmp.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): ______________________________________.
|
|
|
|
*/
|
|
|
|
|
2001-12-24 03:51:06 +01:00
|
|
|
#ifndef JRD_CMP_PROTO_H
|
|
|
|
#define JRD_CMP_PROTO_H
|
2001-05-23 15:26:42 +02:00
|
|
|
|
|
|
|
#include "../jrd/req.h"
|
|
|
|
|
2003-10-20 12:53:52 +02:00
|
|
|
int CMP_clone_active(jrd_req*);
|
|
|
|
jrd_nod* CMP_clone_node(TDBB, Csb*, jrd_nod*);
|
|
|
|
jrd_req* CMP_clone_request(TDBB, jrd_req*, USHORT, BOOLEAN);
|
|
|
|
jrd_req* CMP_compile(USHORT, UCHAR*, USHORT);
|
|
|
|
jrd_req* CMP_compile2(TDBB, UCHAR*, USHORT);
|
|
|
|
csb_repeat* CMP_csb_element(Csb*, USHORT);
|
2003-11-06 18:57:01 +01:00
|
|
|
void CMP_expunge_transaction(jrd_tra*);
|
2003-10-03 03:34:14 +02:00
|
|
|
void CMP_decrement_prc_use_count(TDBB, JRD_PRC);
|
2003-10-20 12:53:52 +02:00
|
|
|
jrd_req* CMP_find_request(TDBB, USHORT, USHORT);
|
2003-10-03 03:34:14 +02:00
|
|
|
void CMP_fini(TDBB);
|
2003-10-20 12:53:52 +02:00
|
|
|
fmt* CMP_format(TDBB, Csb*, USHORT);
|
|
|
|
void CMP_get_desc(TDBB, Csb*, jrd_nod*, dsc*);
|
|
|
|
idl* CMP_get_index_lock(TDBB, jrd_rel*, USHORT);
|
|
|
|
SLONG CMP_impure(Csb*, USHORT);
|
|
|
|
jrd_req* CMP_make_request(TDBB, Csb*);
|
2003-11-02 18:08:47 +01:00
|
|
|
void CMP_post_access(TDBB, Csb*, /* INOUT */ TEXT*, SLONG,
|
2003-10-03 03:34:14 +02:00
|
|
|
const TEXT*, const TEXT*, USHORT, const TEXT*,
|
|
|
|
const TEXT*);
|
2003-10-20 12:53:52 +02:00
|
|
|
void CMP_post_resource(TDBB, Rsc**, blk*, enum rsc_s, USHORT);
|
|
|
|
void CMP_release_resource(Rsc**, enum rsc_s, USHORT);
|
|
|
|
void CMP_release(TDBB, jrd_req*);
|
2003-10-03 03:34:14 +02:00
|
|
|
void CMP_shutdown_database(TDBB);
|
|
|
|
|
|
|
|
#endif // JRD_CMP_PROTO_H
|
2001-05-23 15:26:42 +02:00
|
|
|
|