Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-04-18 09:16:04

0001 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
0002  * Copyright by The HDF Group.                                               *
0003  * All rights reserved.                                                      *
0004  *                                                                           *
0005  * This file is part of HDF5.  The full HDF5 copyright notice, including     *
0006  * terms governing use, modification, and redistribution, is contained in    *
0007  * the COPYING file, which can be found at the root of the source code       *
0008  * distribution tree, or in https://www.hdfgroup.org/licenses.               *
0009  * If you do not have access to either file, you may request a copy from     *
0010  * help@hdfgroup.org.                                                        *
0011  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
0012 
0013 /*
0014  * Purpose:     Header file for writing external HDF5 plugins.
0015  */
0016 
0017 #ifndef H5PLextern_H
0018 #define H5PLextern_H
0019 
0020 /* Include HDF5 header */
0021 #include "hdf5.h"
0022 
0023 /* plugins always export */
0024 #if defined(_MSC_VER) /* MSVC Compiler Case */
0025 #define H5PLUGIN_DLL __declspec(dllexport)
0026 #elif (__GNUC__ >= 4) /* GCC 4.x has support for visibility options */
0027 #define H5PLUGIN_DLL __attribute__((visibility("default")))
0028 #else
0029 #define H5PLUGIN_DLL
0030 #endif
0031 
0032 #ifdef __cplusplus
0033 extern "C" {
0034 #endif
0035 
0036 H5PLUGIN_DLL H5PL_type_t H5PLget_plugin_type(void);
0037 H5PLUGIN_DLL const void *H5PLget_plugin_info(void);
0038 
0039 #ifdef __cplusplus
0040 }
0041 #endif
0042 
0043 #endif /* H5PLextern_H */