|
| #define | H5O_NMESGS 8 /*initial number of messages */ |
| |
| #define | H5O_NCHUNKS 2 /*initial number of chunks */ |
| |
| #define | H5O_MIN_SIZE 22 /* Min. obj header data size (must be big enough for a message prefix and a continuation message) */ |
| |
| #define | H5O_MSG_TYPES 26 /* # of types of messages */ |
| |
| #define | H5O_MAX_CRT_ORDER_IDX 65535 /* Max. creation order index value */ |
| |
| #define | H5O_VERSION_1 1 |
| |
| #define | H5O_VERSION_2 2 |
| |
| #define | H5O_VERSION_LATEST H5O_VERSION_2 |
| |
| #define | H5O_ALIGN_OLD(X) (8 * (((X) + 7) / 8)) |
| |
| #define | H5O_ALIGN_VERS(V, X) |
| |
| #define | H5O_ALIGN_OH(O, X) H5O_ALIGN_VERS((O)->version, X) |
| |
| #define | H5O_ALIGN_F(F, X) H5O_ALIGN_VERS(MAX(H5O_VERSION_1, (uint8_t)H5O_obj_ver_bounds[H5F_LOW_BOUND(F)]), X) |
| |
| #define | H5O_SIZEOF_CHKSUM 4 |
| |
| #define | H5O_CRT_ATTR_MAX_COMPACT_DEF 8 |
| |
| #define | H5O_CRT_ATTR_MIN_DENSE_DEF 6 |
| |
| #define | H5O_CRT_OHDR_FLAGS_DEF H5O_HDR_STORE_TIMES |
| |
| #define | H5O_HDR_CHUNK0_1 0x00 /* Use 1-byte value for chunk #0 size */ |
| |
| #define | H5O_HDR_CHUNK0_2 0x01 /* Use 2-byte value for chunk #0 size */ |
| |
| #define | H5O_HDR_CHUNK0_4 0x02 /* Use 4-byte value for chunk #0 size */ |
| |
| #define | H5O_HDR_CHUNK0_8 0x03 /* Use 8-byte value for chunk #0 size */ |
| |
| #define | H5O_SIZEOF_HDR(O) |
| |
| #define | H5O_SIZEOF_MSGHDR_VERS(V, C) |
| |
| #define | H5O_SIZEOF_MSGHDR_OH(O) (unsigned)H5O_SIZEOF_MSGHDR_VERS((O)->version, (O)->flags & H5O_HDR_ATTR_CRT_ORDER_TRACKED) |
| |
| #define | H5O_SIZEOF_MSGHDR_F(F, C) (unsigned)H5O_SIZEOF_MSGHDR_VERS(MAX((H5F_STORE_MSG_CRT_IDX(F) ? H5O_VERSION_LATEST : H5O_VERSION_1), (uint8_t)H5O_obj_ver_bounds[H5F_LOW_BOUND(F)]), (C)) |
| |
| #define | H5O_SIZEOF_CHKHDR_VERS(V) |
| |
| #define | H5O_SIZEOF_CHKHDR_OH(O) H5O_SIZEOF_CHKHDR_VERS((O)->version) |
| |
| #define | H5O_SIZEOF_CHKSUM_VERS(V) |
| |
| #define | H5O_SIZEOF_CHKSUM_OH(O) H5O_SIZEOF_CHKSUM_VERS((O)->version) |
| |
| #define | H5O_DECODEIO_NOCHANGE 0x01u /* IN: do not modify values */ |
| |
| #define | H5O_DECODEIO_DIRTY 0x02u /* OUT: message has been changed */ |
| |
| #define | INCR_NDECODE_DIRTIED(OH) (OH)->ndecode_dirtied++; |
| |
| #define | H5O_LOAD_NATIVE(F, IOF, OH, MSG, ERR) |
| |
| #define | H5O_SHARE_IS_SHARABLE 0x01 |
| |
| #define | H5O_SHARE_IN_OHDR 0x02 |
| |
| #define | H5O_SPEC_READ_SIZE 512 |
| |
|
| | H5FL_EXTERN (H5O_t) |
| |
| | H5FL_SEQ_EXTERN (H5O_mesg_t) |
| |
| | H5FL_SEQ_EXTERN (H5O_chunk_t) |
| |
| | H5FL_BLK_EXTERN (chunk_image) |
| |
| H5_DLL const H5O_obj_class_t * | H5O__obj_class (const H5O_loc_t *loc) |
| |
| H5_DLL int | H5O__link_oh (H5F_t *f, int adjust, H5O_t *oh, hbool_t *deleted) |
| |
| H5_DLL herr_t | H5O__visit (H5G_loc_t *loc, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void *op_data, unsigned fields) |
| |
| H5_DLL herr_t | H5O__inc_rc (H5O_t *oh) |
| |
| H5_DLL herr_t | H5O__dec_rc (H5O_t *oh) |
| |
| H5_DLL herr_t | H5O__free (H5O_t *oh) |
| |
| H5_DLL herr_t | H5O__msg_alloc (H5F_t *f, H5O_t *oh, const H5O_msg_class_t *type, unsigned *mesg_flags, void *mesg, size_t *mesg_idx) |
| |
| H5_DLL herr_t | H5O__msg_append_real (H5F_t *f, H5O_t *oh, const H5O_msg_class_t *type, unsigned mesg_flags, unsigned update_flags, void *mesg) |
| |
| H5_DLL herr_t | H5O__msg_write_real (H5F_t *f, H5O_t *oh, const H5O_msg_class_t *type, unsigned mesg_flags, unsigned update_flags, void *mesg) |
| |
| H5_DLL herr_t | H5O__msg_free_mesg (H5O_mesg_t *mesg) |
| |
| H5_DLL unsigned | H5O__msg_count_real (const H5O_t *oh, const H5O_msg_class_t *type) |
| |
| H5_DLL herr_t | H5O__msg_remove_real (H5F_t *f, H5O_t *oh, const H5O_msg_class_t *type, int sequence, H5O_operator_t op, void *op_data, hbool_t adj_link) |
| |
| H5_DLL void * | H5O__msg_copy_file (const H5O_msg_class_t *type, H5F_t *file_src, void *mesg_src, H5F_t *file_dst, hbool_t *recompute_size, unsigned *mesg_flags, H5O_copy_t *cpy_info, void *udata) |
| |
| H5_DLL herr_t | H5O__msg_iterate_real (H5F_t *f, H5O_t *oh, const H5O_msg_class_t *type, const H5O_mesg_operator_t *op, void *op_data) |
| |
| H5_DLL herr_t | H5O__flush_msgs (H5F_t *f, H5O_t *oh) |
| |
| H5_DLL herr_t | H5O__delete_mesg (H5F_t *f, H5O_t *open_oh, H5O_mesg_t *mesg) |
| |
| H5_DLL herr_t | H5O__chunk_add (H5F_t *f, H5O_t *oh, unsigned idx, unsigned cont_chunkno) |
| |
| H5_DLL H5O_chunk_proxy_t * | H5O__chunk_protect (H5F_t *f, H5O_t *oh, unsigned idx) |
| |
| H5_DLL herr_t | H5O__chunk_unprotect (H5F_t *f, H5O_chunk_proxy_t *chk_proxy, hbool_t chk_dirtied) |
| |
| H5_DLL herr_t | H5O__chunk_update_idx (H5F_t *f, H5O_t *oh, unsigned idx) |
| |
| H5_DLL herr_t | H5O__chunk_resize (H5O_t *oh, H5O_chunk_proxy_t *chk_proxy) |
| |
| H5_DLL herr_t | H5O__chunk_delete (H5F_t *f, H5O_t *oh, unsigned idx) |
| |
| H5_DLL herr_t | H5O__chunk_dest (H5O_chunk_proxy_t *chunk_proxy) |
| |
| H5_DLL herr_t | H5O__attr_bh_info (H5F_t *f, H5O_t *oh, H5_ih_info_t *bh_info) |
| |
| H5_DLL herr_t | H5O__alloc_msgs (H5O_t *oh, size_t min_alloc) |
| |
| H5_DLL herr_t | H5O__alloc_chunk (H5F_t *f, H5O_t *oh, size_t size, size_t found_null, const H5O_msg_alloc_info_t *found_msg, size_t *new_idx) |
| |
| H5_DLL herr_t | H5O__alloc (H5F_t *f, H5O_t *oh, const H5O_msg_class_t *type, const void *mesg, size_t *mesg_idx) |
| |
| H5_DLL herr_t | H5O__condense_header (H5F_t *f, H5O_t *oh) |
| |
| H5_DLL herr_t | H5O__release_mesg (H5F_t *f, H5O_t *oh, H5O_mesg_t *mesg, hbool_t adj_link) |
| |
| H5_DLL void * | H5O__shared_decode (H5F_t *f, H5O_t *open_oh, unsigned *ioflags, const uint8_t *buf, const H5O_msg_class_t *type) |
| |
| H5_DLL herr_t | H5O__shared_encode (const H5F_t *f, uint8_t *buf, const H5O_shared_t *sh_mesg) |
| |
| H5_DLL size_t | H5O__shared_size (const H5F_t *f, const H5O_shared_t *sh_mesg) |
| |
| H5_DLL herr_t | H5O__shared_delete (H5F_t *f, H5O_t *open_oh, const H5O_msg_class_t *mesg_type, H5O_shared_t *sh_mesg) |
| |
| H5_DLL herr_t | H5O__shared_link (H5F_t *f, H5O_t *open_oh, const H5O_msg_class_t *mesg_type, H5O_shared_t *sh_mesg) |
| |
| H5_DLL herr_t | H5O__shared_copy_file (H5F_t *file_src, H5F_t *file_dst, const H5O_msg_class_t *mesg_type, const void *_native_src, void *_native_dst, hbool_t *recompute_size, unsigned *mesg_flags, H5O_copy_t *cpy_info, void *udata) |
| |
| H5_DLL herr_t | H5O__shared_post_copy_file (H5F_t *f, const H5O_msg_class_t *mesg_type, const H5O_shared_t *shared_src, H5O_shared_t *shared_dst, unsigned *mesg_flags, H5O_copy_t *cpy_info) |
| |
| H5_DLL herr_t | H5O__shared_debug (const H5O_shared_t *mesg, FILE *stream, int indent, int fwidth) |
| |
| H5_DLL herr_t | H5O__attr_reset (void *_mesg) |
| |
| H5_DLL herr_t | H5O__attr_delete (H5F_t *f, H5O_t *open_oh, void *_mesg) |
| |
| H5_DLL herr_t | H5O__attr_link (H5F_t *f, H5O_t *open_oh, void *_mesg) |
| |
| H5_DLL herr_t | H5O__attr_count_real (H5F_t *f, H5O_t *oh, hsize_t *nattrs) |
| |
| H5_DLL herr_t | H5O__debug_real (H5F_t *f, H5O_t *oh, haddr_t addr, FILE *stream, int indent, int fwidth) |
| |