00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef _H5SMprivate_H
00024 #define _H5SMprivate_H
00025
00026 #include "H5Oprivate.h"
00027 #include "H5Pprivate.h"
00028
00029
00030
00031
00032
00033
00034 typedef struct H5SM_master_table_t H5SM_master_table_t;
00035
00036
00037
00038
00039
00040
00041
00042 H5_DLL herr_t H5SM_init(H5F_t *f, H5P_genplist_t *fc_plist,
00043 const H5O_loc_t *ext_loc, hid_t dxpl_id);
00044 H5_DLL htri_t H5SM_can_share(H5F_t *f, hid_t dxpl_id, H5SM_master_table_t *table,
00045 ssize_t *sohm_index_num, unsigned type_id, const void *mesg);
00046 H5_DLL htri_t H5SM_try_share(H5F_t *f, hid_t dxpl_id, H5O_t *open_oh,
00047 unsigned type_id, void *mesg, unsigned *mesg_flags);
00048 H5_DLL herr_t H5SM_delete(H5F_t *f, hid_t dxpl_id, H5O_t *open_oh,
00049 H5O_shared_t *sh_mesg);
00050 H5_DLL herr_t H5SM_get_info(const H5O_loc_t *ext_loc, H5P_genplist_t *fc_plist,
00051 hid_t dxpl_id);
00052 H5_DLL htri_t H5SM_type_shared(H5F_t *f, unsigned type_id, hid_t dxpl_id);
00053 H5_DLL herr_t H5SM_get_fheap_addr(H5F_t *f, hid_t dxpl_id, unsigned type_id,
00054 haddr_t *fheap_addr);
00055 H5_DLL herr_t H5SM_reconstitute(H5O_shared_t *sh_mesg, H5F_t *f,
00056 unsigned msg_type_id, H5O_fheap_id_t heap_id);
00057 H5_DLL herr_t H5SM_get_refcount(H5F_t *f, hid_t dxpl_id, unsigned type_id,
00058 const H5O_shared_t *sh_mesg, hsize_t *ref_count);
00059 H5_DLL herr_t H5SM_ih_size(H5F_t *f, hid_t dxpl_id, H5F_info_t *bh_info);
00060
00061
00062
00063 H5_DLL herr_t H5SM_table_debug(H5F_t *f, hid_t dxpl_id, haddr_t table_addr,
00064 FILE *stream, int indent, int fwidth, unsigned table_vers,
00065 unsigned num_indexes);
00066 H5_DLL herr_t H5SM_list_debug(H5F_t *f, hid_t dxpl_id, haddr_t list_addr,
00067 FILE *stream, int indent, int fwidth, unsigned list_vers, size_t num_messages);
00068
00069 #endif
00070