8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-31 23:23:04 +01:00
firebird-mirror/src/burp/mvol_proto.h

50 lines
1.6 KiB
C
Raw Normal View History

2001-05-23 15:26:42 +02:00
/*
* PROGRAM: JRD Backup and Restore Program
* MODULE: mvol_proto.h
* DESCRIPTION: Prototype Header file for mvol.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 BURP_MVOL_PROTO_H
#define BURP_MVOL_PROTO_H
2001-05-23 15:26:42 +02:00
#include "../burp/burp.h"
2007-11-12 15:26:44 +01:00
FB_UINT64 MVOL_fini_read();
FB_UINT64 MVOL_fini_write(int*, UCHAR**);
2003-10-02 21:20:55 +02:00
void MVOL_init(ULONG);
void MVOL_init_read(const char*, const char*, USHORT*, int*, UCHAR**);
void MVOL_init_write(const char*, const char*, int*, UCHAR**);
2003-10-02 21:20:55 +02:00
bool MVOL_split_hdr_write();
bool MVOL_split_hdr_read();
int MVOL_read(int*, UCHAR**);
2004-07-03 02:13:46 +02:00
UCHAR* MVOL_read_block(BurpGlobals*, UCHAR*, ULONG);
void MVOL_skip_block(BurpGlobals*, ULONG);
2008-01-16 07:11:50 +01:00
UCHAR MVOL_write(const UCHAR, int*, UCHAR**);
2004-07-03 02:13:46 +02:00
const UCHAR* MVOL_write_block(BurpGlobals*, const UCHAR*, ULONG);
2003-02-19 06:18:29 +01:00
#if defined WIN_NT
2003-10-05 08:23:04 +02:00
DESC MVOL_open(const char*, ULONG, ULONG);
2001-05-23 15:26:42 +02:00
#endif
2003-10-02 21:20:55 +02:00
#endif // BURP_MVOL_PROTO_H