8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-27 18:03:04 +01:00
firebird-mirror/src/jrd/flu.h

58 lines
1.6 KiB
C
Raw Normal View History

2001-05-23 15:26:42 +02:00
/*
* PROGRAM: JRD Access Method
* MODULE: flu.h
* DESCRIPTION: Function lookup definitions
*
* 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): ______________________________________.
*
* 2002.10.28 Sean Leyne - Completed removal of obsolete "HP700" port
*
2001-05-23 15:26:42 +02:00
*/
#ifndef JRD_FLU_H
#define JRD_FLU_H
2001-05-23 15:26:42 +02:00
2002-06-30 11:58:20 +02:00
/* RITTER - changed HP10 to HPUX in the line below */
2003-11-17 02:43:56 +01:00
#if defined(HPUX)
2003-11-17 02:05:59 +01:00
# include <dl.h>
# include <shl.h>
2001-05-23 15:26:42 +02:00
typedef shl_t HMOD;
2003-11-17 02:43:56 +01:00
#elif defined(SOLARIS)
2003-11-17 02:05:59 +01:00
# include <dlfcn.h>
2001-05-23 15:26:42 +02:00
typedef void *HMOD;
2003-11-17 02:43:56 +01:00
#elif defined(WIN_NT)
2003-11-17 02:05:59 +01:00
# include <windows.h>
2001-05-23 15:26:42 +02:00
typedef HMODULE HMOD;
2003-11-17 02:05:59 +01:00
#else
2001-05-23 15:26:42 +02:00
typedef void *HMOD;
#endif
/* External function module descriptor */
2004-05-24 19:31:47 +02:00
struct mod {
2001-05-23 15:26:42 +02:00
HMOD mod_handle; /* Handle to search for entrypoints */
2003-11-26 12:15:32 +01:00
mod* mod_next; /* Linked list of open modules */
2001-05-23 15:26:42 +02:00
SLONG mod_use_count; /* Databases interested in module */
USHORT mod_length; /* Module name length */
TEXT mod_name[1]; /* Module name */
2004-05-24 19:31:47 +02:00
};
typedef mod *MOD;
2001-05-23 15:26:42 +02:00
#endif /* JRD_FLU_H */