2001-05-23 15:26:42 +02:00
|
|
|
/*
|
|
|
|
* PROGRAM: JRD Access Method
|
|
|
|
* MODULE: sbm_proto.h
|
2003-11-07 09:06:35 +01:00
|
|
|
* DESCRIPTION: Prototype header file for sbm.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): ______________________________________.
|
|
|
|
*/
|
|
|
|
|
2003-10-03 03:53:34 +02:00
|
|
|
#ifndef JRD_SBM_PROTO_H
|
|
|
|
#define JRD_SBM_PROTO_H
|
2001-05-23 15:26:42 +02:00
|
|
|
|
|
|
|
#include "../jrd/sbm.h"
|
2001-07-12 07:46:06 +02:00
|
|
|
#include "../jrd/rse.h"
|
2001-05-23 15:26:42 +02:00
|
|
|
|
|
|
|
#ifdef DEV_BUILD
|
|
|
|
#include "../jrd/ib_stdio.h"
|
2004-03-18 06:56:06 +01:00
|
|
|
void SBM_dump(IB_FILE*, SparseBitmap*);
|
2001-05-23 15:26:42 +02:00
|
|
|
#endif
|
|
|
|
|
2004-03-18 06:56:06 +01:00
|
|
|
SparseBitmap** SBM_and(SparseBitmap**, SparseBitmap**);
|
|
|
|
bool SBM_clear(SparseBitmap*, SLONG);
|
|
|
|
bool SBM_equal(SparseBitmap*, SparseBitmap*);
|
2003-10-03 03:53:34 +02:00
|
|
|
void SBM_init(void);
|
2004-03-18 06:56:06 +01:00
|
|
|
bool SBM_next(SparseBitmap*, SLONG*, enum rse_get_mode);
|
|
|
|
SparseBitmap** SBM_or(SparseBitmap**, SparseBitmap**);
|
|
|
|
void SBM_release(SparseBitmap*);
|
|
|
|
void SBM_reset(SparseBitmap**);
|
|
|
|
void SBM_set(thread_db*, SparseBitmap**, SLONG);
|
|
|
|
bool SBM_test(const SparseBitmap*, SLONG);
|
|
|
|
SLONG SBM_size(const SparseBitmap* const* const);
|
2001-05-23 15:26:42 +02:00
|
|
|
|
2003-11-06 04:03:36 +01:00
|
|
|
#endif // JRD_SBM_PROTO_H
|
|
|
|
|