summaryrefslogtreecommitdiffstats
path: root/src/H5Gpkg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Gpkg.h')
-rw-r--r--src/H5Gpkg.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/H5Gpkg.h b/src/H5Gpkg.h
index 27fceff..7010aa6 100644
--- a/src/H5Gpkg.h
+++ b/src/H5Gpkg.h
@@ -47,11 +47,18 @@ typedef struct H5G_node_t {
} H5G_node_t;
/*
+ * Reference count shared between all instances of an open group
+ */
+struct H5G_shared_t {
+ int fo_count; /* open file object count */
+};
+
+/*
* A group handle passed around through layers of the library within and
* above the H5G layer.
*/
struct H5G_t {
- int nref; /*open reference count */
+ H5G_shared_t* shared; /*shared file object data */
H5G_entry_t ent; /*info about the group */
};