summaryrefslogtreecommitdiffstats
path: root/src/H5Oprivate.h
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2004-07-21 21:30:26 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2004-07-21 21:30:26 (GMT)
commit7fe5ff1fed0e689486ef0ee46f44d56cf24a1df8 (patch)
tree555f3327b4a09f973f408d857f126abcb762937f /src/H5Oprivate.h
parentc8daece13b12f9023ed7b1433b344dde9d04d2e0 (diff)
downloadhdf5-7fe5ff1fed0e689486ef0ee46f44d56cf24a1df8.zip
hdf5-7fe5ff1fed0e689486ef0ee46f44d56cf24a1df8.tar.gz
hdf5-7fe5ff1fed0e689486ef0ee46f44d56cf24a1df8.tar.bz2
[svn-r8921] Purpose: new feature
Description: This is the second step of checkin for encoding and decoding objects. H5Tencode and H5Tdecode have been committed in the previous step. H5Sencode and H5Sdecode are checked in this time. Solution: Given object ID, these functions encode and decode object information into and from binary buffer and return new object ID. They take advantage of the existing codes of object header message and encode in the same format. Platforms tested: fuss and h5committest. Misc. update: RELEASE.txt
Diffstat (limited to 'src/H5Oprivate.h')
-rw-r--r--src/H5Oprivate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Oprivate.h b/src/H5Oprivate.h
index a18820a..4eb3a3c 100644
--- a/src/H5Oprivate.h
+++ b/src/H5Oprivate.h
@@ -249,7 +249,7 @@ H5_DLL herr_t H5O_remove(H5G_entry_t *ent, unsigned type_id, int sequence,
hid_t dxpl_id);
H5_DLL herr_t H5O_reset(unsigned type_id, void *native);
H5_DLL void *H5O_free(unsigned type_id, void *mesg);
-H5_DLL herr_t H5O_encode(unsigned char *buf, void *obj, size_t *nalloc, unsigned type_id);
+H5_DLL herr_t H5O_encode(unsigned char *buf, void *obj, hid_t type_id);
H5_DLL void* H5O_decode(unsigned char *buf, unsigned type_id);
H5_DLL void *H5O_copy(unsigned type_id, const void *mesg, void *dst);
H5_DLL size_t H5O_raw_size(unsigned type_id, H5F_t *f, const void *mesg);