summaryrefslogtreecommitdiffstats
path: root/src/H5Tpublic.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/H5Tpublic.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/H5Tpublic.h')
-rw-r--r--src/H5Tpublic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5Tpublic.h b/src/H5Tpublic.h
index 3fec470..7e5f8eb 100644
--- a/src/H5Tpublic.h
+++ b/src/H5Tpublic.h
@@ -485,6 +485,8 @@ H5_DLL htri_t H5Tequal(hid_t type1_id, hid_t type2_id);
H5_DLL herr_t H5Tlock(hid_t type_id);
H5_DLL herr_t H5Tcommit(hid_t loc_id, const char *name, hid_t type_id);
H5_DLL htri_t H5Tcommitted(hid_t type_id);
+H5_DLL herr_t H5Tencode(hid_t obj_id, unsigned char* buf, size_t* nalloc);
+H5_DLL hid_t H5Tdecode(unsigned char* buf);
/* Operations defined on compound datatypes */
H5_DLL herr_t H5Tinsert(hid_t parent_id, const char *name, size_t offset,