summaryrefslogtreecommitdiffstats
path: root/src/H5SMpkg.h
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2007-01-09 19:18:14 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2007-01-09 19:18:14 (GMT)
commit03fc4bb6f3fe785a34d71de5da392c2a9d8a278e (patch)
tree1123e1c1e637dc4eadfd319f4a07119275f18072 /src/H5SMpkg.h
parent6e40802f06d0d4f12a710522fd977531d36fafe9 (diff)
downloadhdf5-03fc4bb6f3fe785a34d71de5da392c2a9d8a278e.zip
hdf5-03fc4bb6f3fe785a34d71de5da392c2a9d8a278e.tar.gz
hdf5-03fc4bb6f3fe785a34d71de5da392c2a9d8a278e.tar.bz2
[svn-r13127] Refactoring. Cleaned up some buggy code when searching for messages in
B-trees. Tested on Windows, smirom, and kagiso.
Diffstat (limited to 'src/H5SMpkg.h')
-rwxr-xr-xsrc/H5SMpkg.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/H5SMpkg.h b/src/H5SMpkg.h
index 4a89235..6416a1b 100755
--- a/src/H5SMpkg.h
+++ b/src/H5SMpkg.h
@@ -110,11 +110,12 @@ typedef enum {
/* Typedef for searching an index (list or B-tree) */
typedef struct {
- uint32_t hash; /* The hash value for this message */
- const void *encoding; /* The message encoded */
- size_t encoding_size; /* Size of the encoding */
+ H5SM_sohm_t message; /* The message to find/insert.
+ * If the message doesn't yet have a
+ * heap ID, the heap ID will be 0. */
+ const void *encoding; /* The message encoded, or NULL */
+ size_t encoding_size; /* Size of the encoding, or 0 */
H5HF_t *fheap; /* The heap for this message type, open. */
- H5SM_fheap_id_t mesg_heap_id; /* The heap_id for this message */
} H5SM_mesg_key_t;
/* Typedef for a SOHM index header */