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"
|
|
|
|
|
2002-11-21 00:18:16 +01:00
|
|
|
int DLL_EXPORT CMP_clone_active(struct jrd_req*);
|
|
|
|
struct jrd_nod* DLL_EXPORT CMP_clone_node(TDBB, struct Csb*,
|
|
|
|
struct jrd_nod*);
|
|
|
|
struct jrd_req* DLL_EXPORT CMP_clone_request(TDBB, struct jrd_req*, USHORT,
|
2001-05-23 15:26:42 +02:00
|
|
|
BOOLEAN);
|
2002-11-21 00:18:16 +01:00
|
|
|
struct jrd_req* DLL_EXPORT CMP_compile(USHORT, UCHAR*, USHORT);
|
|
|
|
struct jrd_req* DLL_EXPORT CMP_compile2(TDBB, UCHAR*, USHORT);
|
2003-09-28 23:36:05 +02:00
|
|
|
struct csb_repeat* DLL_EXPORT CMP_csb_element(struct Csb*, USHORT);
|
2002-12-16 17:25:10 +01:00
|
|
|
extern "C" void DLL_EXPORT CMP_expunge_transaction(struct jrd_tra*);
|
2002-11-17 01:13:59 +01:00
|
|
|
void DLL_EXPORT CMP_decrement_prc_use_count(TDBB, JRD_PRC);
|
2002-11-21 00:18:16 +01:00
|
|
|
struct jrd_req* DLL_EXPORT CMP_find_request(TDBB, USHORT, USHORT);
|
2001-12-24 03:51:06 +01:00
|
|
|
void DLL_EXPORT CMP_fini(TDBB);
|
|
|
|
struct fmt* DLL_EXPORT CMP_format(TDBB, struct Csb*, USHORT);
|
2003-02-10 14:28:35 +01:00
|
|
|
void DLL_EXPORT CMP_get_desc(TDBB, struct Csb*,
|
|
|
|
struct jrd_nod*, struct dsc*);
|
2002-11-21 00:18:16 +01:00
|
|
|
struct idl* DLL_EXPORT CMP_get_index_lock(TDBB, struct jrd_rel*, USHORT);
|
2001-12-24 03:51:06 +01:00
|
|
|
SLONG DLL_EXPORT CMP_impure(struct Csb*, USHORT);
|
2003-09-28 23:36:05 +02:00
|
|
|
struct jrd_req* DLL_EXPORT CMP_make_request(TDBB, struct Csb*);
|
2001-12-24 03:51:06 +01:00
|
|
|
int DLL_EXPORT CMP_post_access(TDBB,
|
|
|
|
struct Csb*,
|
|
|
|
/* INOUT */ TEXT*,
|
2003-08-14 22:45:36 +02:00
|
|
|
SLONG,
|
2003-02-13 11:11:35 +01:00
|
|
|
const TEXT*,
|
|
|
|
const TEXT*,
|
2001-12-24 03:51:06 +01:00
|
|
|
USHORT,
|
2003-02-13 11:11:35 +01:00
|
|
|
const TEXT*,
|
|
|
|
const TEXT*);
|
2001-12-24 03:51:06 +01:00
|
|
|
void DLL_EXPORT CMP_post_resource(TDBB, struct Rsc**, struct blk*,
|
|
|
|
enum rsc_s, USHORT);
|
|
|
|
void DLL_EXPORT CMP_release_resource(struct Rsc**, enum rsc_s,
|
|
|
|
USHORT);
|
2002-11-21 00:18:16 +01:00
|
|
|
void DLL_EXPORT CMP_release(TDBB, struct jrd_req*);
|
2001-12-24 03:51:06 +01:00
|
|
|
void DLL_EXPORT CMP_shutdown_database(TDBB);
|
2001-05-23 15:26:42 +02:00
|
|
|
|
2001-12-24 03:51:06 +01:00
|
|
|
#endif /* JRD_CMP_PROTO_H */
|