summaryrefslogtreecommitdiffstats
path: root/src/H5Sprivate.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/H5Sprivate.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/H5Sprivate.h')
-rw-r--r--src/H5Sprivate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5Sprivate.h b/src/H5Sprivate.h
index dc42b05..9e4028b 100644
--- a/src/H5Sprivate.h
+++ b/src/H5Sprivate.h
@@ -206,6 +206,8 @@ typedef struct H5S_conv_t {
/* Operations on dataspaces */
H5_DLL H5S_t *H5S_copy(const H5S_t *src, hbool_t share_selection);
H5_DLL herr_t H5S_close(H5S_t *ds);
+H5_DLL herr_t H5S_encode(H5S_t *obj, unsigned char *buf, size_t *nalloc);
+H5_DLL H5S_t *H5S_decode(unsigned char *buf);
H5_DLL H5S_conv_t *H5S_find(const H5F_t *file,const H5S_t *mem_space, const H5S_t *file_space,
unsigned flags, hbool_t *use_par_opt_io,const H5O_layout_t *layout );
H5_DLL H5S_class_t H5S_get_simple_extent_type(const H5S_t *ds);