mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-26 06:43:04 +01:00
58 lines
1.8 KiB
C
58 lines
1.8 KiB
C
/*
|
|
* PROGRAM: JRD Access Method
|
|
* MODULE: err_proto.h
|
|
* DESCRIPTION: Prototype header file for err.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 JRD_ERR_PROTO_H
|
|
#define JRD_ERR_PROTO_H
|
|
|
|
#ifndef REQUESTER
|
|
#include "../jrd/jrd.h"
|
|
#include "../jrd/btr.h"
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern BOOLEAN DLL_EXPORT ERR_post_warning(STATUS, ...);
|
|
extern void ERR_assert(CONST TEXT*, int);
|
|
extern void DLL_EXPORT ERR_bugcheck(int);
|
|
extern void DLL_EXPORT ERR_bugcheck_msg(CONST TEXT*);
|
|
extern void DLL_EXPORT ERR_corrupt(int);
|
|
extern void DLL_EXPORT ERR_duplicate_error(enum idx_e, struct rel*, USHORT);
|
|
extern void DLL_EXPORT ERR_error(int);
|
|
extern void DLL_EXPORT ERR_error_msg(CONST TEXT *);
|
|
extern void DLL_EXPORT ERR_post(STATUS, ...);
|
|
extern void DLL_EXPORT ERR_punt(void);
|
|
extern void DLL_EXPORT ERR_warning(STATUS, ...);
|
|
extern void DLL_EXPORT ERR_log(int, int, CONST TEXT *);
|
|
#endif /* REQUESTER */
|
|
|
|
extern TEXT *DLL_EXPORT ERR_cstring(CONST TEXT*);
|
|
extern TEXT *DLL_EXPORT ERR_string(CONST TEXT*, int);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern "C" */
|
|
#endif
|
|
|
|
#endif /* JRD_ERR_PROTO_H */
|