summaryrefslogtreecommitdiffstats
path: root/src/H5Pprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-11-14 00:05:51 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-11-14 00:05:51 (GMT)
commit3ddb574eb73c58365aa3218db692fd082db5dcc1 (patch)
tree48f7400b482ae6605b208ae551e70c552964889f /src/H5Pprivate.h
parent7b8b71ed9ba2d5b78cdfd50f719296e5f62a5dc5 (diff)
downloadhdf5-3ddb574eb73c58365aa3218db692fd082db5dcc1.zip
hdf5-3ddb574eb73c58365aa3218db692fd082db5dcc1.tar.gz
hdf5-3ddb574eb73c58365aa3218db692fd082db5dcc1.tar.bz2
[svn-r2892] Purpose:
Code development Description: Increment bug fixes and some new API functions to generic property list code. Platforms tested: FreeBSD 4.1.1 (hawkwind)
Diffstat (limited to 'src/H5Pprivate.h')
-rw-r--r--src/H5Pprivate.h29
1 files changed, 3 insertions, 26 deletions
diff --git a/src/H5Pprivate.h b/src/H5Pprivate.h
index c12e1ad..c60adc3 100644
--- a/src/H5Pprivate.h
+++ b/src/H5Pprivate.h
@@ -30,6 +30,8 @@ typedef enum {
H5P_MOD_DEC_CLS, /* Decrement the dependant class count*/
H5P_MOD_INC_LST, /* Increment the dependant list count*/
H5P_MOD_DEC_LST, /* Decrement the dependant list count*/
+ H5P_MOD_INC_REF, /* Increment the ID reference count*/
+ H5P_MOD_DEC_REF, /* Decrement the ID reference count*/
H5P_MOD_CHECK, /* Just check about deleting the class */
H5P_MOD_MAX /* Upper limit on class modifications */
} H5P_class_mod_t;
@@ -60,6 +62,7 @@ typedef struct H5P_genclass_tag {
uintn hashsize; /* Hash table size */
uintn plists; /* Number of property lists that have been created since the last modification to the class */
uintn classes; /* Number of classes that have been derived since the last modification to the class */
+ uintn ref_count; /* Number of oustanding ID's open on this class object */
uintn internal:1; /* Whether this class is internal to the library or not */
uintn deleted:1; /* Whether this class has been deleted and is waiting for dependent classes & proplists to close */
@@ -96,32 +99,6 @@ typedef struct {
} H5P_t;
/* Private functions, not part of the publicly documented API */
-__DLL__ H5P_genclass_t *H5P_create_class(H5P_genclass_t *par_class,
- const char *name,
- uintn hashsize, uintn internal,
- H5P_cls_create_func_t cls_create,
- void *create_data,
- H5P_cls_close_func_t cls_close,
- void *close_data);
-__DLL__ H5P_genplist_t *H5P_create_list(H5P_genclass_t *pclass);
-__DLL__ herr_t H5P_register(H5P_genclass_t *pclass, const char *name,
- size_t size, void *def_value,
- H5P_prp_create_func_t prp_create,
- H5P_prp_set_func_t prp_set,
- H5P_prp_get_func_t prp_get,
- H5P_prp_close_func_t prp_close);
-__DLL__ herr_t H5P_insert(H5P_genplist_t *plist, const char *name, size_t size,
- void *value, H5P_prp_set_func_t prp_set,
- H5P_prp_get_func_t prp_get,
- H5P_prp_close_func_t prp_close);
-__DLL__ herr_t H5P_set(hid_t plist_id, const char *name, void *value);
-__DLL__ htri_t H5P_exist(H5P_genplist_t *plist, const char *name);
-__DLL__ herr_t H5P_get_size(H5P_genplist_t *plist, const char *name, size_t *size);
-__DLL__ herr_t H5P_get(hid_t plist_id, const char *name, void *value);
-__DLL__ herr_t H5P_remove(H5P_genplist_t *plist, const char *name);
-__DLL__ herr_t H5P_unregister(H5P_genclass_t *pclass, const char *name);
-__DLL__ herr_t H5P_close_list(void *_plist);
-__DLL__ herr_t H5P_close_class(void *_pclass);
__DLL__ herr_t H5P_init(void);
__DLL__ hid_t H5P_create(H5P_class_t type, H5P_t *plist);
__DLL__ void *H5P_copy(H5P_class_t type, const void *src);