mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-31 01:23:02 +01:00
2ab1f94dd2
Some minor corrections Second step to rename
57 lines
1.9 KiB
C++
57 lines
1.9 KiB
C++
/*
|
|
* PROGRAM: JRD Access Method
|
|
* MODULE: idx_proto.h
|
|
* DESCRIPTION: Prototype header file for idx.cpp
|
|
*
|
|
* 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
|
|
|
|
#include "../jrd/btr.h"
|
|
#include "../jrd/exe.h"
|
|
#include "../jrd/req.h"
|
|
|
|
class jrd_rel;
|
|
class jrd_tra;
|
|
struct rpb;
|
|
|
|
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**,
|
|
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**,
|
|
USHORT *);
|
|
void IDX_statistics(thread_db*, jrd_rel*, USHORT, SelectivityList&);
|
|
enum idx_e IDX_store(thread_db*, rpb*, jrd_tra*,
|
|
jrd_rel**, USHORT *);
|
|
|
|
|
|
#endif // JRD_IDX_PROTO_H
|
|
|