8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-31 06:03:02 +01:00
firebird-mirror/src/burp/burp_proto.h
2004-10-30 05:41:25 +00:00

54 lines
2.1 KiB
C

/*
* PROGRAM: JRD Backup and Restore program
* MODULE: burp_proto.h
* DESCRIPTION: Prototype header file for burp.cpp
*
* 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
#include "../jrd/thd.h"
#ifdef SUPERSERVER
THREAD_ENTRY_DECLARE BURP_main(THREAD_ENTRY_PARAM);
#endif
void BURP_abort(void);
void BURP_error(USHORT, bool, USHORT, const void*, USHORT, const void*,
USHORT, const void*, USHORT, const void*, USHORT, const void*);
void BURP_error(USHORT, bool, const void*, const void*, const void*,
const void*, const void*);
void BURP_print_status(const ISC_STATUS*);
void BURP_error_redirect(const ISC_STATUS*, USHORT, const void*, const void*);
void BURP_msg_partial(USHORT, const void*, const void*, const void*,
const void*, const void*);
void BURP_msg_put(USHORT, const void*, const void*, const void*,
const void*, const void*);
const int BURP_MSG_GET_SIZE = 128; // Use it for buffers passed to this function.
void BURP_msg_get(USHORT, TEXT*, const void*, const void*, const void*,
const void*, const void*);
void BURP_output_version(void*, const TEXT*);
void BURP_print(USHORT, const void*, const void*, const void*, const void*, const void*);
void BURP_print_warning(const ISC_STATUS*);
void BURP_verbose(USHORT, const void*, const void*, const void*, const void*, const void*);
#endif // BURP_BURP_PROTO_H