8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-31 04:03:03 +01:00
firebird-mirror/src/jrd/idx_proto.h

57 lines
1.9 KiB
C
Raw Normal View History

2001-05-23 15:26:42 +02:00
/*
* PROGRAM: JRD Access Method
* MODULE: idx_proto.h
* DESCRIPTION: Prototype header file for idx.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): ______________________________________.
*/
#ifndef JRD_IDX_PROTO_H
#define JRD_IDX_PROTO_H
2001-05-23 15:26:42 +02:00
#include "../jrd/btr.h"
#include "../jrd/exe.h"
#include "../jrd/req.h"
class jrd_rel;
class jrd_tra;
struct rpb;
2001-05-23 15:26:42 +02:00
void IDX_check_access(thread_db*, class Csb *, jrd_rel*, jrd_rel*,
class jrd_fld*);
void IDX_create_index(thread_db*, jrd_rel*, struct idx*, const TEXT*,
USHORT*, jrd_tra*, SelectivityList&);
struct idb* IDX_create_index_block(thread_db*, jrd_rel*, USHORT);
void IDX_delete_index(thread_db*, jrd_rel*, USHORT);
void IDX_delete_indices(thread_db*, jrd_rel*);
enum idx_e IDX_erase(thread_db*, rpb*, jrd_tra*, jrd_rel**,
2001-05-23 15:26:42 +02:00
USHORT *);
void IDX_garbage_collect(thread_db*, rpb*, class lls*, class lls*);
enum idx_e IDX_modify(thread_db*, rpb*, rpb*,
jrd_tra*, jrd_rel**, USHORT *);
enum idx_e IDX_modify_check_constraints(thread_db*, rpb*, rpb*,
jrd_tra*, jrd_rel**,
2001-05-23 15:26:42 +02:00
USHORT *);
void IDX_statistics(thread_db*, jrd_rel*, USHORT, SelectivityList&);
enum idx_e IDX_store(thread_db*, rpb*, jrd_tra*,
jrd_rel**, USHORT *);
2001-05-23 15:26:42 +02:00
#endif // JRD_IDX_PROTO_H
2003-12-03 09:19:24 +01:00