summaryrefslogtreecommitdiffstats
path: root/src/H5Ppkg.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-12-30 14:27:29 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-12-30 14:27:29 (GMT)
commit11631664fd46f16acdee324a07851f47480db0c9 (patch)
tree90faca92d82b1231f65c29b80273a182043d0f13 /src/H5Ppkg.h
parent427ff7da2848042f68ecfadf5a321b1d8077e9db (diff)
downloadhdf5-11631664fd46f16acdee324a07851f47480db0c9.zip
hdf5-11631664fd46f16acdee324a07851f47480db0c9.tar.gz
hdf5-11631664fd46f16acdee324a07851f47480db0c9.tar.bz2
[svn-r9730] 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.h10
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);