2001-05-23 15:26:42 +02:00
|
|
|
/*
|
2008-12-05 01:56:15 +01:00
|
|
|
* PROGRAM: JRD Backup and Restore program
|
2001-05-23 15:26:42 +02:00
|
|
|
* MODULE: burp_proto.h
|
2003-10-05 08:23:04 +02:00
|
|
|
* DESCRIPTION: Prototype header file for burp.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-09-12 11:04:38 +02:00
|
|
|
#ifndef BURP_BURP_PROTO_H
|
|
|
|
#define BURP_BURP_PROTO_H
|
2001-05-23 15:26:42 +02:00
|
|
|
|
2008-01-16 07:11:50 +01:00
|
|
|
#include "../jrd/ThreadData.h"
|
2007-03-28 06:20:36 +02:00
|
|
|
#include "../common/classes/MsgPrint.h"
|
2008-01-16 07:11:50 +01:00
|
|
|
#include "../common/UtilSvc.h"
|
2004-06-08 15:41:08 +02:00
|
|
|
|
|
|
|
THREAD_ENTRY_DECLARE BURP_main(THREAD_ENTRY_PARAM);
|
2008-01-16 07:11:50 +01:00
|
|
|
int gbak(Firebird::UtilSvc*);
|
2003-09-15 15:13:45 +02:00
|
|
|
|
2009-01-03 10:14:29 +01:00
|
|
|
void BURP_abort();
|
2007-03-28 06:20:36 +02:00
|
|
|
void BURP_error(USHORT, bool, const MsgFormat::SafeArg& arg = MsgFormat::SafeArg());
|
|
|
|
void BURP_error(USHORT, bool, const char* str);
|
|
|
|
void BURP_error_redirect(const ISC_STATUS*, USHORT, const MsgFormat::SafeArg& arg = MsgFormat::SafeArg());
|
|
|
|
void BURP_msg_partial(USHORT, const MsgFormat::SafeArg& arg = MsgFormat::SafeArg());
|
|
|
|
void BURP_msg_put(USHORT, const MsgFormat::SafeArg& arg);
|
2004-10-30 07:41:25 +02:00
|
|
|
const int BURP_MSG_GET_SIZE = 128; // Use it for buffers passed to this function.
|
2007-03-28 06:20:36 +02:00
|
|
|
void BURP_msg_get(USHORT, TEXT*, const MsgFormat::SafeArg& arg = MsgFormat::SafeArg());
|
2003-12-22 11:00:59 +01:00
|
|
|
void BURP_output_version(void*, const TEXT*);
|
2007-03-28 06:20:36 +02:00
|
|
|
void BURP_print(USHORT, const MsgFormat::SafeArg& arg = MsgFormat::SafeArg());
|
|
|
|
void BURP_print(USHORT, const char* str);
|
2008-04-04 11:42:42 +02:00
|
|
|
void BURP_print_status(const ISC_STATUS* status, bool stuffFlag = false);
|
2003-10-02 21:20:55 +02:00
|
|
|
void BURP_print_warning(const ISC_STATUS*);
|
2007-03-28 06:20:36 +02:00
|
|
|
void BURP_verbose(USHORT, const MsgFormat::SafeArg& arg = MsgFormat::SafeArg());
|
|
|
|
void BURP_verbose(USHORT, const char* str);
|
2001-05-23 15:26:42 +02:00
|
|
|
|
2003-10-02 21:20:55 +02:00
|
|
|
#endif // BURP_BURP_PROTO_H
|
2001-05-23 15:26:42 +02:00
|
|
|
|