[svn-r13127] Refactoring. Cleaned up some buggy code when searching for messages in

B-trees.

Tested on Windows, smirom, and kagiso.
This commit is contained in:
James Laird
2007-01-09 14:18:14 -05:00
parent 6e40802f06
commit 03fc4bb6f3
3 changed files with 72 additions and 53 deletions

View File

@@ -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 */