summaryrefslogtreecommitdiffstats
path: root/src/H5Oprivate.h
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2007-01-08 14:54:12 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2007-01-08 14:54:12 (GMT)
commit77a2e54459cee60effc94513bdb047dbf2ef847b (patch)
tree810b00b0eb408c86d3edce96884c61ab851c6516 /src/H5Oprivate.h
parent7fc6a486b94dcd8eff19db8816d9ab3b0bbeb440 (diff)
downloadhdf5-77a2e54459cee60effc94513bdb047dbf2ef847b.zip
hdf5-77a2e54459cee60effc94513bdb047dbf2ef847b.tar.gz
hdf5-77a2e54459cee60effc94513bdb047dbf2ef847b.tar.bz2
[svn-r13119] More code cleanup. Made shared messages zero-indexed instead of
one-indexed. Changed the names of some constants to be more consistent. Tested on juniper, smirom, and copper.
Diffstat (limited to 'src/H5Oprivate.h')
-rw-r--r--src/H5Oprivate.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/src/H5Oprivate.h b/src/H5Oprivate.h
index 9330d4a..392b223 100644
--- a/src/H5Oprivate.h
+++ b/src/H5Oprivate.h
@@ -46,21 +46,14 @@ typedef struct H5O_msg_class_t H5O_msg_class_t;
typedef struct H5O_t H5O_t;
/* JAMES: should these be in H5SM_private? or renamed? */
-/* JAMES: causes errors encoding/decoding if this is wrong. Can't be constant. */
+/* Fractal heap ID type for shared message heap IDs. The length of a heap ID
+ * depends on how the heap is configured; currently they're always stored in
+ * 8-byte fields, although only seven bytes are used.
+ */
#define H5SM_FHEAP_ID_LEN 7
-
-/* JAMES: not great? */
typedef uint64_t H5SM_fheap_id_t;
-/* JAMES for debugging */
-#define PRINT_BUF(buf, size) \
- if(1) { size_t x; \
- for(x=0; x<size; ++x) { \
- printf("%d ", *(((uint8_t *) buf) + x)); \
- } printf("\n"); }
-
-
/* Object header macros */
#define H5O_MESG_MAX_SIZE 65536 /*max obj header message size */
#define H5O_ALL (-1) /* Operate on all messages of type */
@@ -150,7 +143,6 @@ typedef struct H5O_shared_t {
H5O_loc_t oloc; /*object location info */
H5SM_fheap_id_t heap_id; /* ID within the SOHM heap */
} u;
- /* JAMES: add hash value? */
} H5O_shared_t;