HDF5  1.12.0
Data Structures | Macros | Typedefs | Functions
H5PLpkg.h File Reference
#include "H5PLprivate.h"

Go to the source code of this file.

Data Structures

struct  H5PL_search_params_t
 

Macros

#define H5PL_DEFAULT_PATH   H5_DEFAULT_PLUGINDIR
 
#define H5PL_PATH_SEPARATOR   ":"
 
#define H5PL_HANDLE   void *
 
#define H5PL_OPEN_DLIB(S)   dlopen(S, RTLD_LAZY)
 
#define H5PL_GET_LIB_FUNC(H, N)   dlsym(H,N)
 
#define H5PL_CLOSE_LIB(H)   dlclose(H)
 
#define H5PL_CLR_ERROR   HERROR(H5E_PLUGIN, H5E_CANTGET, "can't dlopen:%s", dlerror())
 

Typedefs

typedef H5PL_type_t(* H5PL_get_plugin_type_t) (void)
 
typedef const void *(* H5PL_get_plugin_info_t) (void)
 
typedef struct H5PL_search_params_t H5PL_search_params_t
 

Functions

H5_DLL herr_t H5PL__get_plugin_control_mask (unsigned int *mask)
 
H5_DLL herr_t H5PL__set_plugin_control_mask (unsigned int mask)
 
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)
 
H5_DLL herr_t H5PL__close (H5PL_HANDLE handle)
 
H5_DLL herr_t H5PL__create_plugin_cache (void)
 
H5_DLL herr_t H5PL__close_plugin_cache (hbool_t *already_closed)
 
H5_DLL herr_t H5PL__add_plugin (H5PL_type_t type, const H5PL_key_t *key, H5PL_HANDLE handle)
 
H5_DLL herr_t H5PL__find_plugin_in_cache (const H5PL_search_params_t *search_params, hbool_t *found, const void **plugin_info)
 
H5_DLL herr_t H5PL__create_path_table (void)
 
H5_DLL herr_t H5PL__close_path_table (void)
 
H5_DLL unsigned H5PL__get_num_paths (void)
 
H5_DLL herr_t H5PL__append_path (const char *path)
 
H5_DLL herr_t H5PL__prepend_path (const char *path)
 
H5_DLL herr_t H5PL__replace_path (const char *path, unsigned int index)
 
H5_DLL herr_t H5PL__insert_path (const char *path, unsigned int index)
 
H5_DLL herr_t H5PL__remove_path (unsigned int index)
 
H5_DLL const char * H5PL__get_path (unsigned int index)
 
H5_DLL herr_t H5PL__find_plugin_in_path_table (const H5PL_search_params_t *search_params, hbool_t *found, const void **plugin_info)
 

Macro Definition Documentation

◆ H5PL_CLOSE_LIB

#define H5PL_CLOSE_LIB (   H)    dlclose(H)

◆ H5PL_CLR_ERROR

#define H5PL_CLR_ERROR   HERROR(H5E_PLUGIN, H5E_CANTGET, "can't dlopen:%s", dlerror())

◆ H5PL_DEFAULT_PATH

#define H5PL_DEFAULT_PATH   H5_DEFAULT_PLUGINDIR

◆ H5PL_GET_LIB_FUNC

#define H5PL_GET_LIB_FUNC (   H,
 
)    dlsym(H,N)

◆ H5PL_HANDLE

#define H5PL_HANDLE   void *

◆ H5PL_OPEN_DLIB

#define H5PL_OPEN_DLIB (   S)    dlopen(S, RTLD_LAZY)

◆ H5PL_PATH_SEPARATOR

#define H5PL_PATH_SEPARATOR   ":"

Typedef Documentation

◆ H5PL_get_plugin_info_t

typedef const void*(* H5PL_get_plugin_info_t) (void)

◆ H5PL_get_plugin_type_t

typedef H5PL_type_t(* H5PL_get_plugin_type_t) (void)

◆ H5PL_search_params_t

Function Documentation

◆ H5PL__add_plugin()

H5_DLL herr_t H5PL__add_plugin ( H5PL_type_t  type,
const H5PL_key_t key,
H5PL_HANDLE  handle 
)

◆ H5PL__append_path()

H5_DLL herr_t H5PL__append_path ( const char *  path)

◆ H5PL__close()

H5_DLL herr_t H5PL__close ( H5PL_HANDLE  handle)

◆ H5PL__close_path_table()

H5_DLL herr_t H5PL__close_path_table ( void  )

◆ H5PL__close_plugin_cache()

H5_DLL herr_t H5PL__close_plugin_cache ( hbool_t already_closed)

◆ H5PL__create_path_table()

H5_DLL herr_t H5PL__create_path_table ( void  )

◆ H5PL__create_plugin_cache()

H5_DLL herr_t H5PL__create_plugin_cache ( void  )

◆ H5PL__find_plugin_in_cache()

H5_DLL herr_t H5PL__find_plugin_in_cache ( const H5PL_search_params_t search_params,
hbool_t found,
const void **  plugin_info 
)

◆ H5PL__find_plugin_in_path_table()

H5_DLL herr_t H5PL__find_plugin_in_path_table ( const H5PL_search_params_t search_params,
hbool_t found,
const void **  plugin_info 
)

◆ H5PL__get_num_paths()

H5_DLL unsigned H5PL__get_num_paths ( void  )

◆ H5PL__get_path()

H5_DLL const char* H5PL__get_path ( unsigned int  index)

◆ H5PL__get_plugin_control_mask()

H5_DLL herr_t H5PL__get_plugin_control_mask ( unsigned int mask)

◆ H5PL__insert_path()

H5_DLL herr_t H5PL__insert_path ( const char *  path,
unsigned int  index 
)

◆ H5PL__open()

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 
)

◆ H5PL__prepend_path()

H5_DLL herr_t H5PL__prepend_path ( const char *  path)

◆ H5PL__remove_path()

H5_DLL herr_t H5PL__remove_path ( unsigned int  index)

◆ H5PL__replace_path()

H5_DLL herr_t H5PL__replace_path ( const char *  path,
unsigned int  index 
)

◆ H5PL__set_plugin_control_mask()

H5_DLL herr_t H5PL__set_plugin_control_mask ( unsigned int  mask)