8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-31 19:23:03 +01:00
firebird-mirror/src/jrd/os/isc_i_proto.h

49 lines
1.6 KiB
C
Raw Normal View History

2003-09-08 22:33:42 +02:00
/*
* PROGRAM: JRD Access Method
* MODULE: isc_i_proto.h
* DESCRIPTION: Prototype header file for isc_ipc.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_ISC_I_PROTO_H_
#define _JRD_ISC_I_PROTO_H_
// This will install FP overflow signal handler
void DLL_EXPORT ISC_enter(void);
void DLL_EXPORT ISC_exit(void);
#ifdef WIN_NT
// This will poke event
int API_ROUTINE ISC_kill(SLONG, SLONG, void *);
2003-09-08 23:44:44 +02:00
// And this will do nothing
inline void API_ROUTINE ISC_enable() throw() {}
inline void API_ROUTINE ISC_inhibit() throw() {}
2003-09-08 22:33:42 +02:00
#else
// And that are functions to manage UNIX signals
int ISC_kill(SLONG, SLONG);
void API_ROUTINE ISC_signal(int, FPTR_VOID_PTR, void *);
void API_ROUTINE ISC_signal_cancel(int, FPTR_VOID_PTR, void *);
void API_ROUTINE ISC_enable() throw();
void API_ROUTINE ISC_inhibit() throw();
#endif
void DLL_EXPORT ISC_signal_init(void);
#endif /* _JRD_ISC_I_PROTO_H_ */