8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-25 02:03:03 +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"
2001-12-24 03:51:06 +01:00
int DLL_EXPORT CMP_clone_active(struct req*);
struct nod* DLL_EXPORT CMP_clone_node(TDBB, struct Csb*,
struct nod*);
struct req* DLL_EXPORT CMP_clone_request(TDBB, struct req*, USHORT,
2001-05-23 15:26:42 +02:00
BOOLEAN);
2001-12-24 03:51:06 +01:00
struct req* DLL_EXPORT CMP_compile(USHORT, UCHAR*, USHORT);
struct req* DLL_EXPORT CMP_compile2(TDBB, UCHAR*, USHORT);
struct csb_repeat* DLL_EXPORT CMP_csb_element(struct Csb**, USHORT);
void DLL_EXPORT CMP_expunge_transaction(struct tra*);
void DLL_EXPORT CMP_decrement_prc_use_count(TDBB, JRD_PRC);
2001-12-24 03:51:06 +01:00
struct req* DLL_EXPORT CMP_find_request(TDBB, USHORT, USHORT);
void DLL_EXPORT CMP_fini(TDBB);
struct fmt* DLL_EXPORT CMP_format(TDBB, struct Csb*, USHORT);
void DLL_EXPORT CMP_get_desc(TDBB, register struct Csb*,
register struct nod*, struct dsc*);
struct idl* DLL_EXPORT CMP_get_index_lock(TDBB, struct rel*, USHORT);
SLONG DLL_EXPORT CMP_impure(struct Csb*, USHORT);
struct req* DLL_EXPORT CMP_make_request(TDBB, struct Csb**);
int DLL_EXPORT CMP_post_access(TDBB,
struct Csb*,
/* INOUT */ TEXT*,
struct rel*,
CONST TEXT*,
CONST TEXT*,
USHORT,
CONST TEXT*,
CONST TEXT*);
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 req*);
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 */