8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-29 18:43:03 +01:00
firebird-mirror/src/burp/burp_proto.h
brodsom bdac17190c Clean a bit services interface
- Include service entrypoint in each proto file and remove from it the private function common to service and standalone. (burp, alice and gsec)
- Replace functions output_svc/output_thread/output_netware with SVC_output callback common for all. (burp, alice and gsec)
- Create typedef pfn_svc_output common for all svc, and correct SVC_read_ib_log and thread_test to be compatible with pfn_svc_output typedef. (svc.cpp)
- Put inside an ifdef code for '-svc_re' switch (in all sources).
2003-09-15 13:13:45 +00:00

50 lines
2.0 KiB
C

/*
* PROGRAM: JRD Backup and Restore program
* MODULE: burp_proto.h
* DESCRIPTION: Prototype header file for burp.c
*
* 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
#ifdef SUPERSERVER
extern int BURP_main(SVC service);
#endif
extern void BURP_abort(void);
extern void BURP_svc_error(USHORT, USHORT, const void *, USHORT, const void *,
USHORT, const void *, USHORT, const void *, USHORT, const void *);
extern void BURP_error(USHORT, const void*, const void*, const void*, const void*, const void*);
extern void BURP_print_status(ISC_STATUS *);
extern void BURP_error_redirect(ISC_STATUS *, USHORT, const void*, const void*);
extern void BURP_msg_partial(USHORT, const void*, const void*, const void*,
const void*, const void*);
extern void BURP_msg_put(USHORT, const void*, const void*, const void*,
const void*, const void*);
extern void BURP_msg_get(USHORT, TEXT*, const void*, const void*, const void*,
const void*, const void*);
extern void BURP_output_version(const TEXT *, TEXT *);
extern void BURP_print(USHORT, const void*, const void*, const void*, const void*, const void*);
extern void BURP_print_warning(ISC_STATUS*);
extern void BURP_verbose(USHORT, const void*, const void*, const void*, const void*, const void*);
#endif /* BURP_BURP_PROTO_H */