 |
HDF5
1.12.0
|
Go to the documentation of this file.
20 #if !(defined H5PL_FRIEND || defined H5PL_MODULE)
21 #error "Do not include this file outside the H5PL package!"
37 #define H5PL_DEFAULT_PATH H5_DEFAULT_PLUGINDIR
59 #ifdef H5_HAVE_WIN32_API
62 # define H5PL_PATH_SEPARATOR ";"
65 # define H5PL_HANDLE HINSTANCE
68 # define H5PL_OPEN_DLIB(S) LoadLibraryExA(S, NULL, LOAD_WITH_ALTERED_SEARCH_PATH)
71 # define H5PL_GET_LIB_FUNC(H,N) GetProcAddress(H,N)
74 # define H5PL_CLOSE_LIB(H) FreeLibrary(H)
77 # define H5PL_CLR_ERROR
80 # define H5PL_EXPAND_BUFFER_SIZE 32767
92 # define H5PL_PATH_SEPARATOR ":"
95 # define H5PL_HANDLE void *
98 # define H5PL_OPEN_DLIB(S) dlopen(S, RTLD_LAZY)
101 # define H5PL_GET_LIB_FUNC(H,N) dlsym(H,N)
104 # define H5PL_CLOSE_LIB(H) dlclose(H)
107 # define H5PL_CLR_ERROR HERROR(H5E_PLUGIN, H5E_CANTGET, "can't dlopen:%s", dlerror())
110 typedef const void *(*H5PL_get_plugin_info_t)(void);
140 hbool_t *success ,
const void **plugin_info );
H5PL_type_t
Definition: H5PLpublic.h:32
const void *(* H5PL_get_plugin_info_t)(void)
Definition: H5PLpkg.h:110
H5_DLL unsigned H5PL__get_num_paths(void)
Definition: H5PLpath.c:339
H5_DLL herr_t H5PL__find_plugin_in_path_table(const H5PL_search_params_t *search_params, hbool_t *found, const void **plugin_info)
Definition: H5PLpath.c:583
H5PL_type_t type
Definition: H5PLpkg.h:120
H5_DLL herr_t H5PL__append_path(const char *path)
Definition: H5PLpath.c:393
Definition: H5PLpkg.h:119
H5PL_type_t(* H5PL_get_plugin_type_t)(void)
Definition: H5PLpkg.h:109
H5T_path_t ** path
Definition: H5T.c:558
const H5PL_key_t * key
Definition: H5PLpkg.h:121
#define H5PL_HANDLE
Definition: H5PLpkg.h:95
H5_DLL herr_t H5PL__close_plugin_cache(hbool_t *already_closed)
Definition: H5PLplugin_cache.c:145
H5_DLL herr_t H5PL__add_plugin(H5PL_type_t type, const H5PL_key_t *key, H5PL_HANDLE handle)
Definition: H5PLplugin_cache.c:219
H5_DLL herr_t H5PL__prepend_path(const char *path)
Definition: H5PLpath.c:422
H5_DLL const char * H5PL__get_path(unsigned int index)
Definition: H5PLpath.c:554
H5_DLL herr_t H5PL__find_plugin_in_cache(const H5PL_search_params_t *search_params, hbool_t *found, const void **plugin_info)
Definition: H5PLplugin_cache.c:258
H5_DLL herr_t H5PL__close(H5PL_HANDLE handle)
Definition: H5PLint.c:432
H5_DLL herr_t H5PL__create_plugin_cache(void)
Definition: H5PLplugin_cache.c:108
H5_DLL herr_t H5PL__create_path_table(void)
Definition: H5PLpath.c:238
Definition: H5PLprivate.h:38
H5_DLL herr_t H5PL__set_plugin_control_mask(unsigned int mask)
Definition: H5PLint.c:118
#define H5_DLL
Definition: H5api_adpt.h:234
struct H5PL_search_params_t H5PL_search_params_t
H5_DLL herr_t H5PL__get_plugin_control_mask(unsigned int *mask)
Definition: H5PLint.c:91
H5_DLL herr_t H5PL__insert_path(const char *path, unsigned int index)
Definition: H5PLpath.c:482
int herr_t
Definition: H5public.h:128
bool hbool_t
Definition: H5public.h:159
H5_DLL herr_t H5PL__remove_path(unsigned int index)
Definition: H5PLpath.c:513
H5_DLL herr_t H5PL__open(const char *libname, H5PL_type_t type, const H5PL_key_t *key, hbool_t *success, const void **plugin_info)
Definition: H5PLint.c:309
H5_DLL herr_t H5PL__close_path_table(void)
Definition: H5PLpath.c:306
H5_DLL herr_t H5PL__replace_path(const char *path, unsigned int index)
Definition: H5PLpath.c:451