summaryrefslogtreecommitdiffstats
path: root/src/H5Opublic.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/H5Opublic.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/H5Opublic.h')
-rw-r--r--src/H5Opublic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5Opublic.h b/src/H5Opublic.h
index b2a9778..4591120 100644
--- a/src/H5Opublic.h
+++ b/src/H5Opublic.h
@@ -87,6 +87,7 @@ typedef struct H5O_info_t {
H5O_type_t type; /* Basic object type (group, dataset, etc.) */
unsigned rc; /* Reference count of object */
time_t mtime; /* Modification time */
+ hsize_t num_attrs; /* # of attributes attached to object */
struct {
unsigned version; /* Version number of header format in file */
unsigned nmesgs; /* Number of object header messages */