summaryrefslogtreecommitdiffstats
path: root/src/H5Ipkg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Ipkg.h')
-rw-r--r--src/H5Ipkg.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/H5Ipkg.h b/src/H5Ipkg.h
index 5d9af13..b6e3da3 100644
--- a/src/H5Ipkg.h
+++ b/src/H5Ipkg.h
@@ -67,6 +67,11 @@ typedef struct H5I_id_info_t {
unsigned count; /* Ref. count for this ID */
unsigned app_count; /* Ref. count of application visible IDs */
const void *object; /* Pointer associated with the ID */
+
+ /* Future ID info */
+ hbool_t is_future; /* Whether this ID represents a future object */
+ H5I_future_realize_func_t realize_cb; /* 'realize' callback for future object */
+ H5I_future_discard_func_t discard_cb; /* 'discard' callback for future object */
} H5I_id_info_t;
/* Type information structure used */
@@ -98,10 +103,12 @@ H5_DLLVAR int H5I_next_type_g;
/* Package Private Prototypes */
/******************************/
-H5_DLL int H5I__destroy_type(H5I_type_t type);
-H5_DLL void * H5I__remove_verify(hid_t id, H5I_type_t type);
-H5_DLL int H5I__inc_type_ref(H5I_type_t type);
-H5_DLL int H5I__get_type_ref(H5I_type_t type);
+H5_DLL hid_t H5I__register(H5I_type_t type, const void *object, hbool_t app_ref,
+ H5I_future_realize_func_t realize_cb, H5I_future_discard_func_t discard_cb);
+H5_DLL int H5I__destroy_type(H5I_type_t type);
+H5_DLL void *H5I__remove_verify(hid_t id, H5I_type_t type);
+H5_DLL int H5I__inc_type_ref(H5I_type_t type);
+H5_DLL int H5I__get_type_ref(H5I_type_t type);
H5_DLL H5I_id_info_t *H5I__find_id(hid_t id);
/* Testing functions */