2001-05-23 15:26:42 +02:00
|
|
|
/*
|
|
|
|
* PROGRAM: JRD Access Method
|
|
|
|
* MODULE: cmp_proto.h
|
2003-11-07 09:06:35 +01:00
|
|
|
* DESCRIPTION: Prototype header file for cmp.cpp
|
2001-05-23 15:26:42 +02:00
|
|
|
*
|
|
|
|
* 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"
|
2004-03-28 11:10:30 +02:00
|
|
|
// req.h includes exe.h => Jrd::CompilerScratch and Jrd::CompilerScratch::csb_repeat.
|
2004-06-29 06:37:59 +02:00
|
|
|
#include "../jrd/scl.h"
|
2001-05-23 15:26:42 +02:00
|
|
|
|
2004-03-20 15:57:40 +01:00
|
|
|
bool CMP_clone_is_active(const Jrd::jrd_req*);
|
2004-03-28 11:10:30 +02:00
|
|
|
Jrd::jrd_nod* CMP_clone_node(Jrd::thread_db*, Jrd::CompilerScratch*, Jrd::jrd_nod*);
|
2004-03-20 15:57:40 +01:00
|
|
|
Jrd::jrd_req* CMP_clone_request(Jrd::thread_db*, Jrd::jrd_req*, USHORT, bool);
|
|
|
|
Jrd::jrd_req* CMP_compile(USHORT, const UCHAR*, USHORT);
|
|
|
|
Jrd::jrd_req* CMP_compile2(Jrd::thread_db*, const UCHAR*, USHORT);
|
2004-03-28 11:10:30 +02:00
|
|
|
Jrd::CompilerScratch::csb_repeat* CMP_csb_element(Jrd::CompilerScratch*, USHORT);
|
2004-03-20 15:57:40 +01:00
|
|
|
void CMP_decrement_prc_use_count(Jrd::thread_db*, Jrd::jrd_prc*);
|
|
|
|
Jrd::jrd_req* CMP_find_request(Jrd::thread_db*, USHORT, USHORT);
|
|
|
|
void CMP_fini(Jrd::thread_db*);
|
2004-03-30 06:10:52 +02:00
|
|
|
Jrd::Format* CMP_format(Jrd::thread_db*, Jrd::CompilerScratch*, USHORT);
|
2004-03-28 11:10:30 +02:00
|
|
|
void CMP_get_desc(Jrd::thread_db*, Jrd::CompilerScratch*, Jrd::jrd_nod*, dsc*);
|
2004-03-20 15:57:40 +01:00
|
|
|
Jrd::IndexLock* CMP_get_index_lock(Jrd::thread_db*, Jrd::jrd_rel*, USHORT);
|
2004-03-28 11:10:30 +02:00
|
|
|
SLONG CMP_impure(Jrd::CompilerScratch*, USHORT);
|
|
|
|
Jrd::jrd_req* CMP_make_request(Jrd::thread_db*, Jrd::CompilerScratch*);
|
2005-05-12 20:28:04 +02:00
|
|
|
void CMP_post_access(Jrd::thread_db*, Jrd::CompilerScratch*, const Firebird::MetaName&, SLONG,
|
|
|
|
Jrd::SecurityClass::flags_t, const TEXT*, const Firebird::MetaName&);
|
2004-04-18 04:50:38 +02:00
|
|
|
void CMP_post_resource(Jrd::ResourceList*, blk*, Jrd::Resource::rsc_s, USHORT);
|
2004-03-20 15:57:40 +01:00
|
|
|
void CMP_release(Jrd::thread_db*, Jrd::jrd_req*);
|
|
|
|
void CMP_shutdown_database(Jrd::thread_db*);
|
2004-04-18 04:50:38 +02:00
|
|
|
void CMP_verify_access(Jrd::thread_db* tdbb, Jrd::jrd_req* request);
|
2003-10-03 03:34:14 +02:00
|
|
|
|
|
|
|
#endif // JRD_CMP_PROTO_H
|
2004-01-03 11:59:52 +01:00
|
|
|
|