diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2004-07-21 21:30:26 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2004-07-21 21:30:26 (GMT) |
commit | 7fe5ff1fed0e689486ef0ee46f44d56cf24a1df8 (patch) | |
tree | 555f3327b4a09f973f408d857f126abcb762937f /src/H5Spublic.h | |
parent | c8daece13b12f9023ed7b1433b344dde9d04d2e0 (diff) | |
download | hdf5-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/H5Spublic.h')
-rw-r--r-- | src/H5Spublic.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5Spublic.h b/src/H5Spublic.h index 70958c9..2017727 100644 --- a/src/H5Spublic.h +++ b/src/H5Spublic.h @@ -100,6 +100,8 @@ H5_DLL herr_t H5Sset_extent_simple(hid_t space_id, int rank, const hsize_t max[]); H5_DLL hid_t H5Scopy(hid_t space_id); H5_DLL herr_t H5Sclose(hid_t space_id); +H5_DLL herr_t H5Sencode(hid_t obj_id, unsigned char* buf, size_t* nalloc); +H5_DLL hid_t H5Sdecode(unsigned char* buf); H5_DLL hssize_t H5Sget_simple_extent_npoints(hid_t space_id); H5_DLL int H5Sget_simple_extent_ndims(hid_t space_id); H5_DLL int H5Sget_simple_extent_dims(hid_t space_id, hsize_t dims[], |