summaryrefslogtreecommitdiffstats
path: root/src/H5Apkg.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-12-12 01:49:59 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-12-12 01:49:59 (GMT)
commit2f665b89ce8f1b28a4a8fbe40cf3f2f507e6b860 (patch)
tree1c684269c08fefef3a4446fede48cf39566e0cd9 /src/H5Apkg.h
parentf98b337a92b4367695ee0da8f0082a79633139ac (diff)
downloadhdf5-2f665b89ce8f1b28a4a8fbe40cf3f2f507e6b860.zip
hdf5-2f665b89ce8f1b28a4a8fbe40cf3f2f507e6b860.tar.gz
hdf5-2f665b89ce8f1b28a4a8fbe40cf3f2f507e6b860.tar.bz2
[svn-r13047] Description:
Add "attribute exists" internal routine to make verifying that an attribute with the same name doesn't already exist easier. Tweak "trace" script to produce more whitespace in H5TRACE macros, in order to make them easier to read. Minor other whitespace cleanups Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/H5Apkg.h')
-rw-r--r--src/H5Apkg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/H5Apkg.h b/src/H5Apkg.h
index 85be22e..11dd43d 100644
--- a/src/H5Apkg.h
+++ b/src/H5Apkg.h
@@ -122,7 +122,7 @@ typedef struct {
} H5A_attr_table_t;
/* Attribute iteration operator for internal library callbacks */
-typedef herr_t (*H5A_lib_iterate_t)(const H5A_t *attr, uint8_t mesg_flags,
+typedef herr_t (*H5A_lib_iterate_t)(const H5A_t *attr, unsigned mesg_flags,
void *op_data);
/* Describe kind of callback to make for each attribute */
@@ -172,6 +172,8 @@ H5_DLL herr_t H5A_dense_iterate(H5F_t *f, hid_t dxpl_id, hid_t loc_id,
unsigned *last_attr, const H5A_attr_iterate_t *attr_op, void *op_data);
H5_DLL herr_t H5A_dense_remove(H5F_t *f, hid_t dxpl_id, const H5O_t *oh,
const char *name);
+H5_DLL htri_t H5A_dense_exists(H5F_t *f, hid_t dxpl_id, const H5O_t *oh,
+ const char *name);
/* Attribute table operations */
H5_DLL herr_t H5A_dense_build_table(H5F_t *f, hid_t dxpl_id, const H5O_t *oh,