diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-11-27 23:10:02 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-11-27 23:10:02 (GMT) |
commit | 2516911cad1e5f26aa92a6b153909b32a3645ac0 (patch) | |
tree | b3003be2ba4d683bad5f54cc504c2b4832bdbebf /src/H5Oprivate.h | |
parent | 03c994ee5921d46c7332b494844e55432f7bde31 (diff) | |
download | hdf5-2516911cad1e5f26aa92a6b153909b32a3645ac0.zip hdf5-2516911cad1e5f26aa92a6b153909b32a3645ac0.tar.gz hdf5-2516911cad1e5f26aa92a6b153909b32a3645ac0.tar.bz2 |
[svn-r12988] Description:
General cleanups, in preparation for adding some attribute-tracking fields
to the object header prefix.
Tested on:
Linux/32 2.6 (chicago)
Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/H5Oprivate.h')
-rw-r--r-- | src/H5Oprivate.h | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/src/H5Oprivate.h b/src/H5Oprivate.h index b0c50dc..05b85e3 100644 --- a/src/H5Oprivate.h +++ b/src/H5Oprivate.h @@ -157,15 +157,20 @@ typedef struct H5O_shared_t { * Link Info Message. * (Contains dynamic information about links in a group) * (Data structure in memory) + * (if the fields in this struct are changed, remember to change the default + * link info structure in src/H5Gprivate.h - QAK) */ typedef struct H5O_linfo_t { + /* (creation order info) */ hbool_t index_corder; /* Are creation order values indexed on links? */ - hsize_t nlinks; /* Number of links in the group */ int64_t min_corder; /* Current min. creation order value for group */ int64_t max_corder; /* Current max. creation order value for group */ + haddr_t corder_bt2_addr; /* Address of v2 B-tree for indexing creation order values of links */ + + /* (storage management info) */ + hsize_t nlinks; /* Number of links in the group */ haddr_t link_fheap_addr; /* Address of fractal heap for storing "dense" links */ haddr_t name_bt2_addr; /* Address of v2 B-tree for indexing names of links */ - haddr_t corder_bt2_addr; /* Address of v2 B-tree for indexing creation order values of links */ } H5O_linfo_t; /* @@ -296,17 +301,24 @@ typedef struct H5O_bogus_t { /* * Group info message. - * (Contains static information about a group) + * (Contains constant information about a group) * (Data structure in memory) + * (if the fields in this struct are changed, remember to change the default + * group info structure in src/H5Gprivate.h - QAK) */ typedef struct H5O_ginfo_t { /* "Old" format group info (not stored) */ uint32_t lheap_size_hint; /* Local heap size hint */ /* "New" format group info (stored) */ + /* (creation order info) */ hbool_t track_corder; /* Are creation order values tracked on links? */ + + /* (storage management info) */ uint32_t max_compact; /* Maximum # of compact links */ uint32_t min_dense; /* Minimum # of "dense" links */ + + /* (initial object header size info) */ uint32_t est_num_entries; /* Estimated # of entries in group */ uint32_t est_name_len; /* Estimated length of entry name */ } H5O_ginfo_t; |