summaryrefslogtreecommitdiffstats
path: root/src/H5Apublic.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-02-20 16:00:24 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-02-20 16:00:24 (GMT)
commit4486398a983615ef2561b331027e59ba75552304 (patch)
treebc4c021dde5dde827b12c0a8f871ca21d32c6e41 /src/H5Apublic.h
parent19257978d9ad35ae430e462524ba4b15f181e85f (diff)
downloadhdf5-4486398a983615ef2561b331027e59ba75552304.zip
hdf5-4486398a983615ef2561b331027e59ba75552304.tar.gz
hdf5-4486398a983615ef2561b331027e59ba75552304.tar.bz2
[svn-r13347] Description:
Deprecate H5Adelete in favor of H5Adelete2, which corresponds to the new pattern of specifying an object's location. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/H5Apublic.h')
-rw-r--r--src/H5Apublic.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/H5Apublic.h b/src/H5Apublic.h
index 818fc30..7268c73 100644
--- a/src/H5Apublic.h
+++ b/src/H5Apublic.h
@@ -64,7 +64,8 @@ H5_DLL ssize_t H5Aget_name_by_idx(hid_t loc_id, const char *obj_name,
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);
+H5_DLL herr_t H5Adelete2(hid_t loc_id, const char *obj_name,
+ const char *attr_name, hid_t lapl_id);
H5_DLL herr_t H5Adelete_by_idx(hid_t loc_id, const char *obj_name,
H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id);
@@ -74,6 +75,7 @@ H5_DLL herr_t H5Adelete_by_idx(hid_t loc_id, const char *obj_name,
* Use of these functions and variables is deprecated.
*/
H5_DLL int H5Aget_num_attrs(hid_t loc_id);
+H5_DLL herr_t H5Adelete(hid_t loc_id, const char *name);
#ifdef __cplusplus
}