summaryrefslogtreecommitdiffstats
path: root/src/H5Gprivate.h
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1997-08-01 16:51:29 (GMT)
committerRobb Matzke <matzke@llnl.gov>1997-08-01 16:51:29 (GMT)
commitfc4bcbc21f9a530aa03e1525516507de2c8dadb5 (patch)
tree0d79d7649f3c58b67d8d0a0cfeff64b50bdcb79f /src/H5Gprivate.h
parent3ecc8c71b5f8e546f608f5d15f272c98fd593f61 (diff)
downloadhdf5-fc4bcbc21f9a530aa03e1525516507de2c8dadb5.zip
hdf5-fc4bcbc21f9a530aa03e1525516507de2c8dadb5.tar.gz
hdf5-fc4bcbc21f9a530aa03e1525516507de2c8dadb5.tar.bz2
[svn-r4] Changed SIZEOF_OFFSET and SIZEOF_SIZE to H5F_SIZEOF_OFFSET and
H5F_SIZEOF_SIZE. Modified files to use these instead of accessing the hdf5_file_t struct directly. Changed address return values from H5B to -1 for error. Changed off_t to haddr_t for anything that's a file address.
Diffstat (limited to 'src/H5Gprivate.h')
-rw-r--r--src/H5Gprivate.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5Gprivate.h b/src/H5Gprivate.h
index 3316771..4b7930d 100644
--- a/src/H5Gprivate.h
+++ b/src/H5Gprivate.h
@@ -46,7 +46,7 @@ typedef enum H5G_type_t {
*/
typedef struct H5G_entry_t {
off_t name_off; /*offset of name within name heap */
- off_t header; /*file address of object header */
+ haddr_t header; /*file address of object header */
H5G_type_t type; /*type of information cached */
union {
@@ -57,8 +57,8 @@ typedef struct H5G_entry_t {
} sdata;
struct {
- off_t btree; /*file address of symbol table B-tree */
- off_t heap; /*file address of symtab name heap */
+ haddr_t btree; /*file address of symbol table B-tree */
+ haddr_t heap; /*file address of symtab name heap */
} symtab;
} cache; /*cached data from object header */
} H5G_entry_t;
@@ -92,7 +92,7 @@ typedef struct H5G_node_ud1_t {
/* downward */
char *name; /*points to temporary memory */
- off_t heap; /*symbol table heap address */
+ haddr_t heap; /*symbol table heap address */
/* upward */
H5G_entry_t entry; /*symbol table entry */
@@ -105,7 +105,7 @@ typedef struct H5G_node_list_t {
H5G_entry_t *entry; /*array of entries, alloc'd by caller */
char **name; /*array of string ptrs, allocd by caller*/
intn nentries; /*size of the ADDR and NAME arrays */
- off_t heap; /*heap address */
+ haddr_t heap; /*heap address */
/* upward */
intn nused; /*num. symbols processed */