summaryrefslogtreecommitdiffstats
path: root/src/H5Oprivate.h
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2004-07-14 21:45:23 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2004-07-14 21:45:23 (GMT)
commitfbc2aaadafb3dfb23842ee4c89bad4bfdb6d3077 (patch)
tree6c92298234945fc1c59f9b46e0e399a5e26690bc /src/H5Oprivate.h
parent9b2aafa18b550a34b39acd78d32e04af49c3cbbb (diff)
downloadhdf5-fbc2aaadafb3dfb23842ee4c89bad4bfdb6d3077.zip
hdf5-fbc2aaadafb3dfb23842ee4c89bad4bfdb6d3077.tar.gz
hdf5-fbc2aaadafb3dfb23842ee4c89bad4bfdb6d3077.tar.bz2
[svn-r8879]
Purpose: New feature Description: New API H5Tencode and H5Tdecode. Given object ID, H5Tencode encodes object information into a binary form. H5Tdecode decode an object information in a binary form, reconstructs the object and return a new object ID. Solution: Use object header functions H5O_dtype_decode and H5O_dtype_encode to facilitate them. The encoded binary is exactly like object header information. This is the first step checkin. Will check in H5Sencode and H5Sdecode later. Platforms tested: h5committed and fuss. Misc. update: will update release.txt after 2nd step checkin.
Diffstat (limited to 'src/H5Oprivate.h')
-rw-r--r--src/H5Oprivate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5Oprivate.h b/src/H5Oprivate.h
index 8de6392..ab52171 100644
--- a/src/H5Oprivate.h
+++ b/src/H5Oprivate.h
@@ -249,6 +249,8 @@ H5_DLL herr_t H5O_remove(H5G_entry_t *ent, hid_t type_id, int sequence,
hid_t dxpl_id);
H5_DLL herr_t H5O_reset(hid_t type_id, void *native);
H5_DLL void *H5O_free(hid_t type_id, void *mesg);
+H5_DLL herr_t H5O_encode(unsigned char *buf, void *obj, size_t *nalloc, hid_t type_id);
+H5_DLL void* H5O_decode(unsigned char *buf, hid_t type_id);
H5_DLL void *H5O_copy(hid_t type_id, const void *mesg, void *dst);
H5_DLL size_t H5O_raw_size(hid_t type_id, H5F_t *f, const void *mesg);
H5_DLL herr_t H5O_get_share(hid_t type_id, H5F_t *f, const void *mesg, H5O_shared_t *share);