mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-26 08:03:03 +01:00
65 lines
2.2 KiB
C++
65 lines
2.2 KiB
C++
/*
|
|
* PROGRAM: JRD Access Method
|
|
* MODULE: dpm_proto.h
|
|
* DESCRIPTION: Prototype header file for dpm.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): ______________________________________.
|
|
*/
|
|
|
|
#ifndef JRD_DPM_PROTO_H
|
|
#define JRD_DPM_PROTO_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
// fwd. decl.
|
|
class blb;
|
|
|
|
struct pag* DPM_allocate(TDBB, struct win*);
|
|
void DPM_backout(TDBB, struct rpb *);
|
|
int DPM_chain(TDBB, struct rpb *, struct rpb *);
|
|
int DPM_compress(TDBB, struct dpg *);
|
|
void DPM_create_relation(TDBB, struct rel *);
|
|
SLONG DPM_data_pages(TDBB, struct rel *);
|
|
void DPM_delete(TDBB, struct rpb *, SLONG);
|
|
void DPM_delete_relation(TDBB, struct rel *);
|
|
BOOLEAN DPM_fetch(TDBB, register struct rpb *, USHORT);
|
|
SSHORT DPM_fetch_back(TDBB, register struct rpb *, USHORT, SSHORT);
|
|
void DPM_fetch_fragment(TDBB, register struct rpb *, USHORT);
|
|
SINT64 DPM_gen_id(TDBB, SLONG, USHORT, SINT64);
|
|
int DPM_get(TDBB, register struct rpb *, SSHORT);
|
|
ULONG DPM_get_blob(TDBB, blb*, ULONG, USHORT, SLONG);
|
|
BOOLEAN DPM_next(TDBB, register struct rpb *, USHORT, BOOLEAN,
|
|
BOOLEAN);
|
|
void DPM_pages(TDBB, SSHORT, int, ULONG, SLONG);
|
|
SLONG DPM_prefetch_bitmap(struct tdbb *, struct rel *, struct sbm *,
|
|
SLONG);
|
|
void DPM_scan_pages(TDBB);
|
|
void DPM_store(TDBB, register struct rpb *, struct lls **, USHORT);
|
|
SLONG DPM_store_blob(TDBB, blb*, struct rec *);
|
|
void DPM_rewrite_header(TDBB, struct rpb *);
|
|
void DPM_update(TDBB, register struct rpb *, struct lls **,
|
|
struct tra *);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern "C" */
|
|
#endif
|
|
|
|
#endif /* JRD_DPM_PROTO_H */
|