summaryrefslogtreecommitdiffstats
path: root/src/H5Apublic.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-11-27 14:51:22 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-11-27 14:51:22 (GMT)
commit59208d8a9b3e0c00cb604acfb153113789e66a28 (patch)
tree25a5583a49280d9a3bee876202b74b51094444b5 /src/H5Apublic.h
parent50005f98ad6edbdcd9b1edbc729a909b88d06d1d (diff)
downloadhdf5-59208d8a9b3e0c00cb604acfb153113789e66a28.zip
hdf5-59208d8a9b3e0c00cb604acfb153113789e66a28.tar.gz
hdf5-59208d8a9b3e0c00cb604acfb153113789e66a28.tar.bz2
[svn-r12976] Description:
Add # of attributes to the object info struct and deprecate H5Aget_num_attrs(). Tested on: FreeBSd/32 4.11 (sleipnir) Linux/32 2.4 (heping) Linux/64 2.4 (mir) AIX/32 5.? (copper)
Diffstat (limited to 'src/H5Apublic.h')
-rw-r--r--src/H5Apublic.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/H5Apublic.h b/src/H5Apublic.h
index ec9904a..21545ae 100644
--- a/src/H5Apublic.h
+++ b/src/H5Apublic.h
@@ -41,12 +41,18 @@ H5_DLL hid_t H5Aget_type(hid_t attr_id);
H5_DLL hid_t H5Aget_create_plist(hid_t attr_id);
H5_DLL ssize_t H5Aget_name(hid_t attr_id, size_t buf_size, char *buf);
H5_DLL hsize_t H5Aget_storage_size(hid_t attr_id);
-H5_DLL int H5Aget_num_attrs(hid_t loc_id);
H5_DLL herr_t H5Arename(hid_t loc_id, const char *old_name, const char *new_name);
H5_DLL herr_t H5Aiterate(hid_t loc_id, unsigned *attr_num, H5A_operator_t op,
void *op_data);
H5_DLL herr_t H5Adelete(hid_t loc_id, const char *name);
+/* Functions and variables defined for compatibility with previous versions
+ * of the HDF5 API.
+ *
+ * Use of these functions and variables is deprecated.
+ */
+H5_DLL int H5Aget_num_attrs(hid_t loc_id);
+
#ifdef __cplusplus
}
#endif