diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-08-30 13:55:10 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-08-30 13:55:10 (GMT) |
commit | c50c23d387121f2acaf364fa3c1f5d407c4ffb43 (patch) | |
tree | 70719be38921637a74c90894d837973017bc68f0 /src/H5Opublic.h | |
parent | 926a033b139974a8a9fd6ddec7150bcbdb556675 (diff) | |
download | hdf5-c50c23d387121f2acaf364fa3c1f5d407c4ffb43.zip hdf5-c50c23d387121f2acaf364fa3c1f5d407c4ffb43.tar.gz hdf5-c50c23d387121f2acaf364fa3c1f5d407c4ffb43.tar.bz2 |
[svn-r14129] Description:
Add H5O{set|get}_comment routines, which were overlooked before.
Move H5G{set|get}_comment routines to deprecated code section,
replacing internal calls with H5O{set|get}_comment.
Tested on:
FreeBSD/32 6.2 (duty)
FreeBSD/64 6.2 (liberty)
Linux/32 2.6 (kagiso)
Linux/64 2.6 (smirom)
Solaris/32 5.10 (linew)
AIX/32 5.3 (copper)
Mac OS X/32 10.4.10 (amazon)
Diffstat (limited to 'src/H5Opublic.h')
-rw-r--r-- | src/H5Opublic.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5Opublic.h b/src/H5Opublic.h index b10a4e4..17fe139 100644 --- a/src/H5Opublic.h +++ b/src/H5Opublic.h @@ -156,6 +156,10 @@ H5_DLL herr_t H5Oincr_refcount(hid_t object_id); H5_DLL herr_t H5Odecr_refcount(hid_t object_id); H5_DLL herr_t H5Ocopy(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t lcpl_id); +H5_DLL herr_t H5Oset_comment(hid_t loc_id, const char *name, + const char *comment, hid_t lapl_id); +H5_DLL ssize_t H5Oget_comment(hid_t loc_id, const char *name, char *comment, + size_t bufsize, hid_t lapl_id); H5_DLL herr_t H5Oclose(hid_t object_id); #ifdef __cplusplus |