diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-12-30 14:27:33 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-12-30 14:27:33 (GMT) |
commit | c47ff1656fa52bca192e9f1b830863e2d549e382 (patch) | |
tree | 8aead7360ee0ece7bfe99f4c6bd15ab580dd33f9 /src/H5Ppkg.h | |
parent | 7db5dc86c953cc83a7c0e370b3a7bf98f91eaf0e (diff) | |
download | hdf5-c47ff1656fa52bca192e9f1b830863e2d549e382.zip hdf5-c47ff1656fa52bca192e9f1b830863e2d549e382.tar.gz hdf5-c47ff1656fa52bca192e9f1b830863e2d549e382.tar.bz2 |
[svn-r9731] Purpose:
Code cleanup (sorta)
Description:
Transition the generic property list code from using the threaded, balanced
binary tree code (H5TB<foo>() routines) to use skip lists (H5SL<foo>() routines)
for internal management of properties, etc.
Platforms tested:
FreeBSD 4.10 (sleipnir)
Too minor to require h5committest
Diffstat (limited to 'src/H5Ppkg.h')
-rw-r--r-- | src/H5Ppkg.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5Ppkg.h b/src/H5Ppkg.h index 1c05075..61ab1a8 100644 --- a/src/H5Ppkg.h +++ b/src/H5Ppkg.h @@ -38,7 +38,7 @@ #include "H5Pprivate.h" /* Other private headers needed by this file */ -#include "H5TBprivate.h" /* Threaded, balanced, binary trees (TBBTs) */ +#include "H5SLprivate.h" /* Skip lists */ /* Define enum for type of object that property is within */ typedef enum { @@ -89,7 +89,7 @@ struct H5P_genclass_t { unsigned internal; /* Whether this class is internal to the library or not */ unsigned deleted; /* Whether this class has been deleted and is waiting for dependent classes & proplists to close */ unsigned revision; /* Revision number of a particular class (global) */ - H5TB_TREE *props; /* TBBT containing properties */ + H5SL_t *props; /* Skip list containing properties */ /* Callback function pointers & info */ H5P_cls_create_func_t create_func; /* Function to call when a property list is created */ @@ -106,12 +106,12 @@ struct H5P_genplist_t { hid_t plist_id; /* Copy of the property list ID (for use in close callback) */ size_t nprops; /* Number of properties in class */ unsigned class_init:1; /* Whether the class initialization callback finished successfully */ - H5TB_TREE *del; /* TBBT containing names of deleted properties */ - H5TB_TREE *props; /* TBBT containing properties */ + H5SL_t *del; /* Skip list containing names of deleted properties */ + H5SL_t *props; /* Skip list containing properties */ }; /* Private functions, not part of the publicly documented API */ -H5_DLL herr_t H5P_add_prop(H5TB_TREE *props, H5P_genprop_t *prop); +H5_DLL herr_t H5P_add_prop(H5SL_t *props, H5P_genprop_t *prop); H5_DLL herr_t H5P_access_class(H5P_genclass_t *pclass, H5P_class_mod_t mod); H5_DLL char *H5P_get_class_path(H5P_genclass_t *pclass); H5_DLL H5P_genclass_t *H5P_open_class_path(const char *path); |