8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-28 02:43:03 +01:00
firebird-mirror/src/burp/burp_proto.h

52 lines
2.1 KiB
C
Raw Normal View History

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): ______________________________________.
*/
#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"
#include "../common/classes/MsgPrint.h"
2008-01-16 07:11:50 +01:00
#include "../common/UtilSvc.h"
THREAD_ENTRY_DECLARE BURP_main(THREAD_ENTRY_PARAM);
2008-01-16 07:11:50 +01:00
int gbak(Firebird::UtilSvc*);
2009-01-03 10:14:29 +01:00
void BURP_abort();
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.
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*);
void BURP_print(USHORT, const MsgFormat::SafeArg& arg = MsgFormat::SafeArg());
void BURP_print(USHORT, const char* str);
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*);
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