summaryrefslogtreecommitdiffstats
path: root/src/H5Gpkg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Gpkg.h')
-rw-r--r--src/H5Gpkg.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/H5Gpkg.h b/src/H5Gpkg.h
index e599905..b9693a3 100644
--- a/src/H5Gpkg.h
+++ b/src/H5Gpkg.h
@@ -47,12 +47,19 @@ 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_entry_t ent; /*info about the group */
+ H5G_shared_t* shared; /*shared file object data */
+ H5G_entry_t ent; /*info about the group */
};
/*