00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef _H5FDprivate_H
00021 #define _H5FDprivate_H
00022
00023
00024 #include "H5FDpublic.h"
00025
00026
00027
00028
00029
00030
00031
00032 #include "H5FDmpi.h"
00033
00034
00035
00036
00037 struct H5P_genplist_t;
00038
00039
00040 H5_DLL int H5FD_term_interface(void);
00041 H5_DLL H5FD_class_t *H5FD_get_class(hid_t id);
00042 H5_DLL hsize_t H5FD_sb_size(H5FD_t *file);
00043 H5_DLL herr_t H5FD_sb_encode(H5FD_t *file, char *name, uint8_t *buf);
00044 H5_DLL herr_t H5FD_sb_decode(H5FD_t *file, const char *name, const uint8_t *buf);
00045 H5_DLL void *H5FD_fapl_get(H5FD_t *file);
00046 H5_DLL herr_t H5FD_fapl_open(struct H5P_genplist_t *plist, hid_t driver_id, const void *driver_info);
00047 H5_DLL herr_t H5FD_fapl_copy(hid_t driver_id, const void *fapl, void **copied_fapl);
00048 H5_DLL herr_t H5FD_fapl_close(hid_t driver_id, void *fapl);
00049 H5_DLL herr_t H5FD_dxpl_open(struct H5P_genplist_t *plist, hid_t driver_id, const void *driver_info);
00050 H5_DLL herr_t H5FD_dxpl_copy(hid_t driver_id, const void *dxpl, void **copied_dxpl);
00051 H5_DLL herr_t H5FD_dxpl_close(hid_t driver_id, void *dxpl);
00052 H5_DLL hid_t H5FD_register(const void *cls, size_t size, hbool_t app_ref);
00053 H5_DLL H5FD_t *H5FD_open(const char *name, unsigned flags, hid_t fapl_id,
00054 haddr_t maxaddr);
00055 H5_DLL herr_t H5FD_close(H5FD_t *file);
00056 H5_DLL int H5FD_cmp(const H5FD_t *f1, const H5FD_t *f2);
00057 H5_DLL int H5FD_query(const H5FD_t *f, unsigned long *flags);
00058 H5_DLL haddr_t H5FD_alloc(H5FD_t *file, hid_t dxpl_id, H5FD_mem_t type, hsize_t size, haddr_t *align_addr, hsize_t *align_size);
00059 H5_DLL herr_t H5FD_free(H5FD_t *file, hid_t dxpl_id, H5FD_mem_t type, haddr_t addr, hsize_t size);
00060 H5_DLL htri_t H5FD_try_extend(H5FD_t *file, H5FD_mem_t type, haddr_t blk_end,
00061 hsize_t extra_requested);
00062 H5_DLL haddr_t H5FD_get_eoa(const H5FD_t *file, H5FD_mem_t type);
00063 H5_DLL herr_t H5FD_set_eoa(H5FD_t *file, H5FD_mem_t type, haddr_t addr);
00064 H5_DLL haddr_t H5FD_get_eof(const H5FD_t *file);
00065 H5_DLL haddr_t H5FD_get_maxaddr(const H5FD_t *file);
00066 H5_DLL herr_t H5FD_get_feature_flags(const H5FD_t *file, unsigned long *feature_flags);
00067 H5_DLL herr_t H5FD_get_fs_type_map(const H5FD_t *file, H5FD_mem_t *type_map);
00068 H5_DLL herr_t H5FD_read(H5FD_t *file, hid_t dxpl_id, H5FD_mem_t type,
00069 haddr_t addr, size_t size, void *buf);
00070 H5_DLL herr_t H5FD_write(H5FD_t *file, hid_t dxpl_id, H5FD_mem_t type,
00071 haddr_t addr, size_t size, const void *buf);
00072 H5_DLL herr_t H5FD_flush(H5FD_t *file, hid_t dxpl_id, unsigned closing);
00073 H5_DLL herr_t H5FD_truncate(H5FD_t *file, hid_t dxpl_id, hbool_t closing);
00074 H5_DLL herr_t H5FD_get_fileno(const H5FD_t *file, unsigned long *filenum);
00075 H5_DLL herr_t H5FD_get_vfd_handle(H5FD_t *file, hid_t fapl, void** file_handle);
00076 H5_DLL herr_t H5FD_set_base_addr(H5FD_t *file, haddr_t base_addr);
00077
00078 #endif
00079