8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 20:43:04 +01:00
firebird-mirror/src/jrd/cmp_proto.h

64 lines
2.4 KiB
C
Raw Normal View History

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"
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);
struct jrd_req* DLL_EXPORT CMP_compile(USHORT, UCHAR*, USHORT);
struct jrd_req* DLL_EXPORT CMP_compile2(TDBB, UCHAR*, USHORT);
struct csb_repeat* DLL_EXPORT CMP_csb_element(struct Csb*, USHORT);
extern "C" void DLL_EXPORT CMP_expunge_transaction(struct jrd_tra*);
void DLL_EXPORT CMP_decrement_prc_use_count(TDBB, JRD_PRC);
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);
void DLL_EXPORT CMP_get_desc(TDBB, struct Csb*,
struct jrd_nod*, struct dsc*);
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);
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*,
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);
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 */