2001-05-23 15:26:42 +02:00
|
|
|
/*
|
|
|
|
* PROGRAM: JRD Access Method
|
|
|
|
* MODULE: rng_proto.h
|
2004-02-20 07:43:27 +01:00
|
|
|
* DESCRIPTION: Prototype header file for rng.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_RNG_PROTO_H
|
|
|
|
#define JRD_RNG_PROTO_H
|
2001-05-23 15:26:42 +02:00
|
|
|
|
|
|
|
#ifdef PC_ENGINE
|
2004-02-20 07:43:27 +01:00
|
|
|
|
2004-03-20 15:57:40 +01:00
|
|
|
namespace Jrd {
|
|
|
|
class jrd_req;
|
|
|
|
struct record_param;
|
|
|
|
class jrd_nod;
|
|
|
|
class RefreshRange;
|
2004-03-28 11:10:30 +02:00
|
|
|
struct impure_value;
|
|
|
|
class Attachment;
|
2004-03-20 15:57:40 +01:00
|
|
|
}
|
2004-02-20 07:43:27 +01:00
|
|
|
|
2004-03-28 11:10:30 +02:00
|
|
|
struct dsc;
|
|
|
|
|
2003-10-03 03:53:34 +02:00
|
|
|
void RNG_add_page(ULONG);
|
2004-03-20 15:57:40 +01:00
|
|
|
void RNG_add_record(Jrd::record_param*);
|
|
|
|
jrd_nod* RNG_add_relation(Jrd::jrd_nod*);
|
|
|
|
void RNG_add_uncommitted_record(Jrd::record_param*);
|
2004-03-28 11:10:30 +02:00
|
|
|
dsc *RNG_begin(Jrd::jrd_nod*, Jrd::impure_value*);
|
2004-03-20 15:57:40 +01:00
|
|
|
jrd_nod *RNG_delete(Jrd::jrd_nod*);
|
|
|
|
void RNG_delete_ranges(Jrd::jrd_req *);
|
|
|
|
jrd_nod* RNG_end(Jrd::jrd_nod*);
|
|
|
|
void RNG_release_locks(Jrd::RefreshRange*);
|
|
|
|
void RNG_release_ranges(Jrd::jrd_req *);
|
|
|
|
void RNG_shutdown_attachment(Jrd::Attachment*);
|
2001-05-23 15:26:42 +02:00
|
|
|
#endif
|
|
|
|
|
2003-10-03 03:53:34 +02:00
|
|
|
#endif // JRD_RNG_PROTO_H
|
2004-02-20 07:43:27 +01:00
|
|
|
|