mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-27 04:43:02 +01:00
58 lines
1.6 KiB
C
58 lines
1.6 KiB
C
/*
|
|
* 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
|
|
*
|
|
*/
|
|
|
|
#ifndef JRD_FLU_H
|
|
#define JRD_FLU_H
|
|
|
|
/* RITTER - changed HP10 to HPUX in the line below */
|
|
#if defined(HPUX)
|
|
# include <dl.h>
|
|
# include <shl.h>
|
|
typedef shl_t HMOD;
|
|
#elif defined(SOLARIS)
|
|
# include <dlfcn.h>
|
|
typedef void *HMOD;
|
|
#elif defined(WIN_NT)
|
|
# include <windows.h>
|
|
typedef HMODULE HMOD;
|
|
#else
|
|
typedef void *HMOD;
|
|
#endif
|
|
|
|
/* External function module descriptor */
|
|
|
|
struct mod {
|
|
HMOD mod_handle; /* Handle to search for entrypoints */
|
|
mod* mod_next; /* Linked list of open modules */
|
|
SLONG mod_use_count; /* Databases interested in module */
|
|
USHORT mod_length; /* Module name length */
|
|
TEXT mod_name[1]; /* Module name */
|
|
};
|
|
|
|
typedef mod *MOD;
|
|
|
|
#endif /* JRD_FLU_H */
|