diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2005-02-22 17:14:13 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2005-02-22 17:14:13 (GMT) |
commit | 7ff30cd69523ea8379c1ebbd7efb95eed80a6925 (patch) | |
tree | eba9754de140a9fbd260f4edde637546eb046962 /hl/src/H5DS.h | |
parent | 643e9a38bd78fcf6c16127731693e6720bc6b22b (diff) | |
download | hdf5-7ff30cd69523ea8379c1ebbd7efb95eed80a6925.zip hdf5-7ff30cd69523ea8379c1ebbd7efb95eed80a6925.tar.gz hdf5-7ff30cd69523ea8379c1ebbd7efb95eed80a6925.tar.bz2 |
[svn-r10063] Purpose:
changed the function H5DSget_scale_name to return the size of the name buffer
added a test
Description:
Solution:
Platforms tested:
linux
solaris
Misc. update:
Diffstat (limited to 'hl/src/H5DS.h')
-rw-r--r-- | hl/src/H5DS.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/hl/src/H5DS.h b/hl/src/H5DS.h index 2bd57d9..4ae47ef 100644 --- a/hl/src/H5DS.h +++ b/hl/src/H5DS.h @@ -63,8 +63,9 @@ herr_t H5DSget_label(hid_t did, char *label, unsigned int idx); -herr_t H5DSget_scale_name(hid_t did, - char *buf); +ssize_t H5DSget_scale_name(hid_t did, + char *name, + size_t size); herr_t H5DSis_scale(hid_t did); @@ -74,9 +75,9 @@ herr_t H5DSiterate_scales(hid_t did, H5DS_iterate_t visitor, void *visitor_data); -htri_t H5DS_is_attached(hid_t did, - hid_t dsid, - unsigned int idx); +htri_t H5DSis_attached(hid_t did, + hid_t dsid, + unsigned int idx); #ifdef __cplusplus |