|
| #define | H5O_FHEAP_MAN_WIDTH 4 |
| |
| #define | H5O_FHEAP_MAN_START_BLOCK_SIZE 1024 |
| |
| #define | H5O_FHEAP_MAN_MAX_DIRECT_SIZE (64 * 1024) |
| |
| #define | H5O_FHEAP_MAN_MAX_INDEX 40 |
| |
| #define | H5O_FHEAP_MAN_START_ROOT_ROWS 1 |
| |
| #define | H5O_FHEAP_CHECKSUM_DBLOCKS TRUE |
| |
| #define | H5O_FHEAP_MAX_MAN_SIZE (4 * 1024) |
| |
| #define | H5O_FHEAP_ID_LEN 8 |
| |
| #define | H5O_MESG_MAX_SIZE 65536 /*max obj header message size */ |
| |
| #define | H5O_ALL (-1) /* Operate on all messages of type */ |
| |
| #define | H5O_FIRST (-2) /* Operate on first message of type */ |
| |
| #define | H5O_MSG_NO_FLAGS_SET 0x00u |
| |
| #define | H5O_MSG_FLAG_CONSTANT 0x01u |
| |
| #define | H5O_MSG_FLAG_SHARED 0x02u |
| |
| #define | H5O_MSG_FLAG_DONTSHARE 0x04u |
| |
| #define | H5O_MSG_FLAG_FAIL_IF_UNKNOWN_AND_OPEN_FOR_WRITE 0x08u |
| |
| #define | H5O_MSG_FLAG_MARK_IF_UNKNOWN 0x10u |
| |
| #define | H5O_MSG_FLAG_WAS_UNKNOWN 0x20u |
| |
| #define | H5O_MSG_FLAG_SHAREABLE 0x40u |
| |
| #define | H5O_MSG_FLAG_FAIL_IF_UNKNOWN_ALWAYS 0x80u |
| |
| #define | H5O_MSG_FLAG_BITS (H5O_MSG_FLAG_CONSTANT|H5O_MSG_FLAG_SHARED|H5O_MSG_FLAG_DONTSHARE|H5O_MSG_FLAG_FAIL_IF_UNKNOWN_AND_OPEN_FOR_WRITE|H5O_MSG_FLAG_MARK_IF_UNKNOWN|H5O_MSG_FLAG_WAS_UNKNOWN|H5O_MSG_FLAG_SHAREABLE|H5O_MSG_FLAG_FAIL_IF_UNKNOWN_ALWAYS) |
| |
| #define | H5O_UPDATE_TIME 0x01u |
| |
| #define | H5O_UPDATE_FORCE 0x02u /* Force updating the message */ |
| |
| #define | H5O_HASH_SIZE 32 |
| |
| #define | H5O_CRT_ATTR_MAX_COMPACT_NAME "max compact attr" /* Max. # of attributes to store compactly */ |
| |
| #define | H5O_CRT_ATTR_MIN_DENSE_NAME "min dense attr" /* Min. # of attributes to store densely */ |
| |
| #define | H5O_CRT_OHDR_FLAGS_NAME "object header flags" /* Object header flags */ |
| |
| #define | H5O_CRT_PIPELINE_NAME "pline" /* Filter pipeline */ |
| |
| #define | H5O_CRT_PIPELINE_DEF {{0, NULL, H5O_NULL_ID, {{0, HADDR_UNDEF}}}, H5O_PLINE_VERSION_1, 0, 0, NULL} |
| |
| #define | H5O_CPY_OPTION_NAME "copy object" /* Copy options */ |
| |
| #define | H5O_CPY_MERGE_COMM_DT_LIST_NAME "merge committed dtype list" /* List of datatype paths to search in the dest file for merging */ |
| |
| #define | H5O_CPY_MCDT_SEARCH_CB_NAME "committed dtype list search" /* Callback function when the search for a matching committed datatype is complete */ |
| |
| #define | H5O_OH_GET_ADDR(O) (H5O_get_oh_addr(O)) |
| |
| #define | H5O_OH_GET_VERSION(O) (H5O_get_oh_version(O)) |
| |
| #define | H5O_OH_GET_FLAGS(O) (H5O_get_oh_flags(O)) |
| |
| #define | H5O_OH_GET_MTIME(O) (H5O_get_oh_mtime(O)) |
| |
| #define | H5O_UPDATE_SHARED(SH_MESG, SH_TYPE, F, MSG_TYPE, CRT_IDX, OH_ADDR) |
| |
| #define | H5O_NULL_ID 0x0000 /* Null Message. */ |
| |
| #define | H5O_SDSPACE_ID 0x0001 /* Dataspace Message. */ |
| |
| #define | H5O_LINFO_ID 0x0002 /* Link info Message. */ |
| |
| #define | H5O_DTYPE_ID 0x0003 /* Datatype Message. */ |
| |
| #define | H5O_FILL_ID 0x0004 /* Fill Value Message. (Old) */ |
| |
| #define | H5O_FILL_NEW_ID 0x0005 /* Fill Value Message. (New) */ |
| |
| #define | H5O_LINK_ID 0x0006 /* Link Message. */ |
| |
| #define | H5O_EFL_ID 0x0007 /* External File List Message */ |
| |
| #define | H5O_LAYOUT_ID 0x0008 /* Data Layout Message. */ |
| |
| #define | H5O_BOGUS_VALID_ID 0x0009 /* "Bogus valid" Message. */ |
| |
| #define | H5O_GINFO_ID 0x000a /* Group info Message. */ |
| |
| #define | H5O_PLINE_ID 0x000b /* Filter pipeline message. */ |
| |
| #define | H5O_ATTR_ID 0x000c /* Attribute Message. */ |
| |
| #define | H5O_NAME_ID 0x000d /* Object name message. */ |
| |
| #define | H5O_MTIME_ID 0x000e /* Modification time message. (Old) */ |
| |
| #define | H5O_SHMESG_ID 0x000f /* Shared message "SOHM" table. */ |
| |
| #define | H5O_CONT_ID 0x0010 /* Object header continuation message. */ |
| |
| #define | H5O_STAB_ID 0x0011 /* Symbol table message. */ |
| |
| #define | H5O_MTIME_NEW_ID 0x0012 /* Modification time message. (New) */ |
| |
| #define | H5O_BTREEK_ID 0x0013 /* v1 B-tree 'K' values message. */ |
| |
| #define | H5O_DRVINFO_ID 0x0014 /* Driver info message. */ |
| |
| #define | H5O_AINFO_ID 0x0015 /* Attribute info message. */ |
| |
| #define | H5O_REFCOUNT_ID 0x0016 /* Reference count message. */ |
| |
| #define | H5O_FSINFO_ID 0x0017 /* File space info message. */ |
| |
| #define | H5O_MDCI_MSG_ID 0x0018 /* Metadata Cache Image Message */ |
| |
| #define | H5O_UNKNOWN_ID 0x0019 /* Placeholder message ID for unknown message. */ |
| |
| #define | H5O_BOGUS_INVALID_ID 0x001a /* "Bogus invalid" Message. */ |
| |
| #define | H5O_SHARE_TYPE_UNSHARED 0 /* Message is not shared */ |
| |
| #define | H5O_SHARE_TYPE_SOHM 1 /* Message is stored in SOHM heap */ |
| |
| #define | H5O_SHARE_TYPE_COMMITTED 2 /* Message is stored in another object header */ |
| |
| #define | H5O_SHARE_TYPE_HERE 3 /* Message is stored in this object header, but is sharable */ |
| |
| #define | H5O_IS_STORED_SHARED(T) ((((T) == H5O_SHARE_TYPE_SOHM) || ((T) == H5O_SHARE_TYPE_COMMITTED)) ? TRUE : FALSE) |
| |
| #define | H5O_IS_TRACKED_SHARED(T) ((T) > 0) |
| |
| #define | H5O_FILL_VERSION_1 1 |
| |
| #define | H5O_FILL_VERSION_2 2 |
| |
| #define | H5O_FILL_VERSION_3 3 |
| |
| #define | H5O_FILL_VERSION_LATEST H5O_FILL_VERSION_3 |
| |
| #define | H5O_EFL_ALLOC 16 /*number of slots to alloc at once */ |
| |
| #define | H5O_EFL_UNLIMITED H5F_UNLIMITED /*max possible file size */ |
| |
| #define | H5O_LAYOUT_NDIMS (H5S_MAX_RANK+1) |
| |
| #define | H5O_LAYOUT_CHUNK_DONT_FILTER_PARTIAL_BOUND_CHUNKS 0x01 |
| |
| #define | H5O_LAYOUT_CHUNK_SINGLE_INDEX_WITH_FILTER 0x02 |
| |
| #define | H5O_LAYOUT_ALL_CHUNK_FLAGS |
| |
| #define | H5O_LAYOUT_VDS_GH_ENC_VERS 0 |
| |
| #define | H5O_LAYOUT_VERSION_1 1 |
| |
| #define | H5O_LAYOUT_VERSION_2 2 |
| |
| #define | H5O_LAYOUT_VERSION_3 3 |
| |
| #define | H5O_LAYOUT_VERSION_4 4 |
| |
| #define | H5O_LAYOUT_VERSION_DEFAULT H5O_LAYOUT_VERSION_3 |
| |
| #define | H5O_LAYOUT_VERSION_LATEST H5O_LAYOUT_VERSION_4 |
| |
| #define | H5O_PLINE_VERSION_1 1 |
| |
| #define | H5O_PLINE_VERSION_2 2 |
| |
| #define | H5O_PLINE_VERSION_LATEST H5O_PLINE_VERSION_2 |
| |
| #define | H5O_INVALID_VERSION 256 |
| |
| #define | H5O_FSINFO_VERSION_0 0 |
| |
| #define | H5O_FSINFO_VERSION_1 1 |
| |
| #define | H5O_FSINFO_VERSION_LATEST H5O_FSINFO_VERSION_1 |
| |
| #define | H5O_MODIFY_CONDENSE 0x01 |
| |
| #define | H5O_MODIFY 0x02 |
| |
|
| H5_DLL herr_t | H5O_init (void) |
| |
| H5_DLL herr_t | H5O_create (H5F_t *f, size_t size_hint, size_t initial_rc, hid_t ocpl_id, H5O_loc_t *loc) |
| |
| H5_DLL H5O_t * | H5O__create_ohdr (H5F_t *f, hid_t ocpl_id) |
| |
| H5_DLL herr_t | H5O__apply_ohdr (H5F_t *f, H5O_t *oh, hid_t ocpl_id, size_t size_hint, size_t initial_rc, H5O_loc_t *loc_out) |
| |
| H5_DLL herr_t | H5O_open (H5O_loc_t *loc) |
| |
| H5_DLL void * | H5O_open_by_idx (const H5G_loc_t *loc, const char *name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5I_type_t *opened_type) |
| |
| H5_DLL void * | H5O_open_by_addr (const H5G_loc_t *loc, haddr_t addr, H5I_type_t *opened_type) |
| |
| H5_DLL void * | H5O_open_by_loc (const H5G_loc_t *obj_loc, H5I_type_t *opened_type) |
| |
| H5_DLL herr_t | H5O_close (H5O_loc_t *loc, hbool_t *file_closed) |
| |
| H5_DLL int | H5O_link (const H5O_loc_t *loc, int adjust) |
| |
| H5_DLL H5O_t * | H5O_protect (const H5O_loc_t *loc, unsigned prot_flags, hbool_t pin_all_chunks) |
| |
| H5_DLL H5O_t * | H5O_pin (const H5O_loc_t *loc) |
| |
| H5_DLL herr_t | H5O_unpin (H5O_t *oh) |
| |
| H5_DLL herr_t | H5O_dec_rc_by_loc (const H5O_loc_t *loc) |
| |
| H5_DLL herr_t | H5O_unprotect (const H5O_loc_t *loc, H5O_t *oh, unsigned oh_flags) |
| |
| H5_DLL herr_t | H5O_touch (const H5O_loc_t *loc, hbool_t force) |
| |
| H5_DLL herr_t | H5O_touch_oh (H5F_t *f, H5O_t *oh, hbool_t force) |
| |
| H5_DLL herr_t | H5O_delete (H5F_t *f, haddr_t addr) |
| |
| H5_DLL herr_t | H5O_get_hdr_info (const H5O_loc_t *oloc, H5O_hdr_info_t *hdr) |
| |
| H5_DLL herr_t | H5O_get_info (const H5O_loc_t *oloc, H5O_info2_t *oinfo, unsigned fields) |
| |
| H5_DLL herr_t | H5O_get_native_info (const H5O_loc_t *oloc, H5O_native_info_t *oinfo, unsigned fields) |
| |
| H5_DLL herr_t | H5O_obj_type (const H5O_loc_t *loc, H5O_type_t *obj_type) |
| |
| H5_DLL herr_t | H5O_get_create_plist (const H5O_loc_t *loc, struct H5P_genplist_t *oc_plist) |
| |
| H5_DLL void * | H5O_open_name (const H5G_loc_t *loc, const char *name, H5I_type_t *opened_type) |
| |
| H5_DLL herr_t | H5O_get_nlinks (const H5O_loc_t *loc, hsize_t *nlinks) |
| |
| H5_DLL void * | H5O_obj_create (H5F_t *f, H5O_type_t obj_type, void *crt_info, H5G_loc_t *obj_loc) |
| |
| H5_DLL haddr_t | H5O_get_oh_addr (const H5O_t *oh) |
| |
| H5_DLL uint8_t | H5O_get_oh_flags (const H5O_t *oh) |
| |
| H5_DLL time_t | H5O_get_oh_mtime (const H5O_t *oh) |
| |
| H5_DLL uint8_t | H5O_get_oh_version (const H5O_t *oh) |
| |
| H5_DLL herr_t | H5O_get_rc_and_type (const H5O_loc_t *oloc, unsigned *rc, H5O_type_t *otype) |
| |
| H5_DLL H5AC_proxy_entry_t * | H5O_get_proxy (const H5O_t *oh) |
| |
| H5_DLL herr_t | H5O_msg_create (const H5O_loc_t *loc, unsigned type_id, unsigned mesg_flags, unsigned update_flags, void *mesg) |
| |
| H5_DLL herr_t | H5O_msg_append_oh (H5F_t *f, H5O_t *oh, unsigned type_id, unsigned mesg_flags, unsigned update_flags, void *mesg) |
| |
| H5_DLL herr_t | H5O_msg_write (const H5O_loc_t *loc, unsigned type_id, unsigned mesg_flags, unsigned update_flags, void *mesg) |
| |
| H5_DLL herr_t | H5O_msg_write_oh (H5F_t *f, H5O_t *oh, unsigned type_id, unsigned mesg_flags, unsigned update_flags, void *mesg) |
| |
| H5_DLL herr_t | H5O_msg_flush (H5F_t *f, H5O_t *oh, H5O_mesg_t *mesg) |
| |
| H5_DLL void * | H5O_msg_read (const H5O_loc_t *loc, unsigned type_id, void *mesg) |
| |
| H5_DLL void * | H5O_msg_read_oh (H5F_t *f, H5O_t *oh, unsigned type_id, void *mesg) |
| |
| H5_DLL herr_t | H5O_msg_reset (unsigned type_id, void *native) |
| |
| H5_DLL void * | H5O_msg_free (unsigned type_id, void *mesg) |
| |
| H5_DLL void * | H5O_msg_free_real (const H5O_msg_class_t *type, void *mesg) |
| |
| H5_DLL void * | H5O_msg_copy (unsigned type_id, const void *mesg, void *dst) |
| |
| H5_DLL int | H5O_msg_count (const H5O_loc_t *loc, unsigned type_id) |
| |
| H5_DLL htri_t | H5O_msg_exists (const H5O_loc_t *loc, unsigned type_id) |
| |
| H5_DLL htri_t | H5O_msg_exists_oh (const H5O_t *oh, unsigned type_id) |
| |
| H5_DLL herr_t | H5O_msg_remove (const H5O_loc_t *loc, unsigned type_id, int sequence, hbool_t adj_link) |
| |
| H5_DLL herr_t | H5O_msg_remove_op (const H5O_loc_t *loc, unsigned type_id, int sequence, H5O_operator_t op, void *op_data, hbool_t adj_link) |
| |
| H5_DLL herr_t | H5O_msg_iterate (const H5O_loc_t *loc, unsigned type_id, const H5O_mesg_operator_t *op, void *op_data) |
| |
| H5_DLL size_t | H5O_msg_raw_size (const H5F_t *f, unsigned type_id, hbool_t disable_shared, const void *mesg) |
| |
| H5_DLL size_t | H5O_msg_size_f (const H5F_t *f, hid_t ocpl_id, unsigned type_id, const void *mesg, size_t extra_raw) |
| |
| H5_DLL size_t | H5O_msg_size_oh (const H5F_t *f, const H5O_t *oh, unsigned type_id, const void *mesg, size_t extra_raw) |
| |
| H5_DLL htri_t | H5O_msg_is_shared (unsigned type_id, const void *mesg) |
| |
| H5_DLL htri_t | H5O_msg_can_share (unsigned type_id, const void *mesg) |
| |
| H5_DLL htri_t | H5O_msg_can_share_in_ohdr (unsigned type_id) |
| |
| H5_DLL herr_t | H5O_msg_set_share (unsigned type_id, const H5O_shared_t *share, void *mesg) |
| |
| H5_DLL herr_t | H5O_msg_reset_share (unsigned type_id, void *mesg) |
| |
| H5_DLL herr_t | H5O_msg_get_crt_index (unsigned type_id, const void *mesg, H5O_msg_crt_idx_t *crt_idx) |
| |
| H5_DLL herr_t | H5O_msg_encode (H5F_t *f, unsigned type_id, hbool_t disable_shared, unsigned char *buf, const void *obj) |
| |
| H5_DLL void * | H5O_msg_decode (H5F_t *f, H5O_t *open_oh, unsigned type_id, size_t buf_size, const unsigned char *buf) |
| |
| H5_DLL herr_t | H5O_msg_delete (H5F_t *f, H5O_t *open_oh, unsigned type_id, void *mesg) |
| |
| H5_DLL herr_t | H5O_msg_get_flags (const H5O_loc_t *loc, unsigned type_id, uint8_t *flags) |
| |
| H5_DLL herr_t | H5O_flush (H5O_loc_t *oloc, hid_t obj_id) |
| |
| H5_DLL herr_t | H5O_flush_common (H5O_loc_t *oloc, hid_t obj_id) |
| |
| H5_DLL herr_t | H5O_refresh_metadata (hid_t oid, H5O_loc_t oloc) |
| |
| H5_DLL herr_t | H5O_refresh_metadata_reopen (hid_t oid, H5G_loc_t *obj_loc, H5VL_t *vol_driver, hbool_t start_swmr) |
| |
| H5_DLL herr_t | H5O_disable_mdc_flushes (H5O_loc_t *oloc) |
| |
| H5_DLL herr_t | H5O_enable_mdc_flushes (H5O_loc_t *oloc) |
| |
| H5_DLL herr_t | H5O_are_mdc_flushes_disabled (H5O_loc_t *oloc, hbool_t *are_disabled) |
| |
| H5_DLL herr_t | H5O_copy_header_map (const H5O_loc_t *oloc_src, H5O_loc_t *oloc_dst, H5O_copy_t *cpy_info, hbool_t inc_depth, H5O_type_t *obj_type, void **udata) |
| |
| H5_DLL herr_t | H5O_copy_expand_ref (H5F_t *file_src, hid_t tid_src, H5T_t *dt_src, void *buf_src, size_t nbytes_src, H5F_t *file_dst, void *buf_dst, H5O_copy_t *cpy_info) |
| |
| H5_DLL herr_t | H5O_copy (const H5G_loc_t *src_loc, const char *src_name, H5G_loc_t *dst_loc, const char *dst_name, hid_t ocpypl_id, hid_t lcpl_id) |
| |
| H5_DLL herr_t | H5O_debug_id (unsigned type_id, H5F_t *f, const void *mesg, FILE *stream, int indent, int fwidth) |
| |
| H5_DLL herr_t | H5O_debug (H5F_t *f, haddr_t addr, FILE *stream, int indent, int fwidth) |
| |
| H5_DLL herr_t | H5O_loc_reset (H5O_loc_t *loc) |
| |
| H5_DLL herr_t | H5O_loc_copy (H5O_loc_t *dst, H5O_loc_t *src, H5_copy_depth_t depth) |
| |
| H5_DLL herr_t | H5O_loc_copy_shallow (H5O_loc_t *dst, H5O_loc_t *src) |
| |
| H5_DLL herr_t | H5O_loc_copy_deep (H5O_loc_t *dst, const H5O_loc_t *src) |
| |
| H5_DLL herr_t | H5O_loc_hold_file (H5O_loc_t *loc) |
| |
| H5_DLL herr_t | H5O_loc_free (H5O_loc_t *loc) |
| |
| H5_DLL H5O_loc_t * | H5O_get_loc (hid_t id) |
| |
| H5_DLL hsize_t | H5O_efl_total_size (H5O_efl_t *efl) |
| |
| H5_DLL herr_t | H5O_fsinfo_set_version (H5F_libver_t low, H5F_libver_t high, H5O_fsinfo_t *fsinfo) |
| |
| H5_DLL herr_t | H5O_fsinfo_check_version (H5F_libver_t high, H5O_fsinfo_t *fsinfo) |
| |
| H5_DLL herr_t | H5O_fill_reset_dyn (H5O_fill_t *fill) |
| |
| H5_DLL herr_t | H5O_fill_convert (H5O_fill_t *fill, H5T_t *type, hbool_t *fill_changed) |
| |
| H5_DLL herr_t | H5O_fill_set_version (H5F_t *f, H5O_fill_t *fill) |
| |
| H5_DLL herr_t | H5O_link_delete (H5F_t *f, H5O_t *open_oh, void *_mesg) |
| |
| H5_DLL herr_t | H5O_pline_set_version (H5F_t *f, H5O_pline_t *pline) |
| |
| H5_DLL herr_t | H5O_set_shared (H5O_shared_t *dst, const H5O_shared_t *src) |
| |