summaryrefslogtreecommitdiffstats
path: root/src/H5Hprivate.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/H5Hprivate.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/H5Hprivate.h')
-rw-r--r--src/H5Hprivate.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/H5Hprivate.h b/src/H5Hprivate.h
index b90d727..f896b4a 100644
--- a/src/H5Hprivate.h
+++ b/src/H5Hprivate.h
@@ -23,14 +23,14 @@
/*
* Library prototypes...
*/
-off_t H5H_new (hdf5_file_t *f, size_t size_hint);
-void *H5H_read (hdf5_file_t *f, off_t addr, off_t offset, size_t size,
+haddr_t H5H_new (hdf5_file_t *f, size_t size_hint);
+void *H5H_read (hdf5_file_t *f, haddr_t addr, off_t offset, size_t size,
void *buf);
-const void *H5H_peek (hdf5_file_t *f, off_t addr, off_t offset);
-off_t H5H_insert (hdf5_file_t *f, off_t addr, size_t size, const void *buf);
-herr_t H5H_write (hdf5_file_t *f, off_t addr, off_t offset, size_t size,
+const void *H5H_peek (hdf5_file_t *f, haddr_t addr, off_t offset);
+off_t H5H_insert (hdf5_file_t *f, haddr_t addr, size_t size, const void *buf);
+herr_t H5H_write (hdf5_file_t *f, haddr_t addr, off_t offset, size_t size,
const void *buf);
-herr_t H5H_remove (hdf5_file_t *f, off_t addr, off_t offset, size_t size);
+herr_t H5H_remove (hdf5_file_t *f, haddr_t addr, off_t offset, size_t size);
#endif