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 struct H5F_t;
00039
00040
00041 H5_DLL int H5FD_term_interface(void);
00042 H5_DLL H5FD_class_t *H5FD_get_class(hid_t id);
00043 H5_DLL hsize_t H5FD_sb_size(H5FD_t *file);
00044 H5_DLL herr_t H5FD_sb_encode(H5FD_t *file, char *name, uint8_t *buf);
00045 H5_DLL herr_t H5FD_sb_decode(H5FD_t *file, const char *name, const uint8_t *buf);
00046 H5_DLL void *H5FD_fapl_get(H5FD_t *file);
00047 H5_DLL herr_t H5FD_fapl_open(struct H5P_genplist_t *plist, hid_t driver_id, const void *driver_info);
00048 H5_DLL herr_t H5FD_fapl_copy(hid_t driver_id, const void *fapl, void **copied_fapl);
00049 H5_DLL herr_t H5FD_fapl_close(hid_t driver_id, void *fapl);
00050 H5_DLL herr_t H5FD_dxpl_open(struct H5P_genplist_t *plist, hid_t driver_id, const void *driver_info);
00051 H5_DLL herr_t H5FD_dxpl_copy(hid_t driver_id, const void *dxpl, void **copied_dxpl);
00052 H5_DLL herr_t H5FD_dxpl_close(hid_t driver_id, void *dxpl);
00053 H5_DLL hid_t H5FD_register(const void *cls, size_t size, hbool_t app_ref);
00054 H5_DLL H5FD_t *H5FD_open(const char *name, unsigned flags, hid_t fapl_id,
00055 haddr_t maxaddr);
00056 H5_DLL herr_t H5FD_close(H5FD_t *file);
00057 H5_DLL int H5FD_cmp(const H5FD_t *f1, const H5FD_t *f2);
00058 H5_DLL int H5FD_query(const H5FD_t *f, unsigned long *flags);
00059 H5_DLL haddr_t H5FD_alloc(H5FD_t *file, hid_t dxpl_id, H5FD_mem_t type, struct H5F_t *f,
00060 hsize_t size, haddr_t *align_addr, hsize_t *align_size);
00061 H5_DLL herr_t H5FD_free(H5FD_t *file, hid_t dxpl_id, H5FD_mem_t type, struct H5F_t *f,
00062 haddr_t addr, hsize_t size);
00063 H5_DLL htri_t H5FD_try_extend(H5FD_t *file, H5FD_mem_t type, struct H5F_t *f,
00064 haddr_t blk_end, hsize_t extra_requested);
00065 H5_DLL haddr_t H5FD_get_eoa(const H5FD_t *file, H5FD_mem_t type);
00066 H5_DLL herr_t H5FD_set_eoa(H5FD_t *file, H5FD_mem_t type, haddr_t addr);
00067 H5_DLL haddr_t H5FD_get_eof(const H5FD_t *file);
00068 H5_DLL haddr_t H5FD_get_maxaddr(const H5FD_t *file);
00069 H5_DLL herr_t H5FD_get_feature_flags(const H5FD_t *file, unsigned long *feature_flags);
00070 H5_DLL herr_t H5FD_get_fs_type_map(const H5FD_t *file, H5FD_mem_t *type_map);
00071 H5_DLL herr_t H5FD_read(H5FD_t *file, hid_t dxpl_id, H5FD_mem_t type,
00072 haddr_t addr, size_t size, void *buf);
00073 H5_DLL herr_t H5FD_write(H5FD_t *file, hid_t dxpl_id, H5FD_mem_t type,
00074 haddr_t addr, size_t size, const void *buf);
00075 H5_DLL herr_t H5FD_flush(H5FD_t *file, hid_t dxpl_id, hbool_t closing);
00076 H5_DLL herr_t H5FD_truncate(H5FD_t *file, hid_t dxpl_id, hbool_t closing);
00077 H5_DLL herr_t H5FD_get_fileno(const H5FD_t *file, unsigned long *filenum);
00078 H5_DLL herr_t H5FD_get_vfd_handle(H5FD_t *file, hid_t fapl, void** file_handle);
00079 H5_DLL herr_t H5FD_set_base_addr(H5FD_t *file, haddr_t base_addr);
00080 H5_DLL haddr_t H5FD_get_base_addr(const H5FD_t *file);
00081
00082 #endif
00083