summaryrefslogtreecommitdiffstats
path: root/src/H5Opkg.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-12-11 19:02:38 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-12-11 19:02:38 (GMT)
commitdc73eca1599d065186baa6a44ed611cb37225ce1 (patch)
tree9d12df1f2b95b34357903dff1e35f6af952491fa /src/H5Opkg.h
parente8d8f70f519b40da5e95dde61e66e2e4178f3a10 (diff)
downloadhdf5-dc73eca1599d065186baa6a44ed611cb37225ce1.zip
hdf5-dc73eca1599d065186baa6a44ed611cb37225ce1.tar.gz
hdf5-dc73eca1599d065186baa6a44ed611cb37225ce1.tar.bz2
[svn-r13041] Description:
Migrate "internalish" attribute operations into new source code file. Add test & basic support for opening attributes in dense storage (shared attributes not tested or supported yet). Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/H5Opkg.h')
-rw-r--r--src/H5Opkg.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/H5Opkg.h b/src/H5Opkg.h
index eea0102..b4f5b15 100644
--- a/src/H5Opkg.h
+++ b/src/H5Opkg.h
@@ -23,6 +23,7 @@
#include "H5Oprivate.h" /* Object headers */
/* Other private headers needed by this file */
+#include "H5Aprivate.h" /* Attributes */
#include "H5ACprivate.h" /* Metadata cache */
/* Object header macros */
@@ -418,6 +419,17 @@ H5_DLL herr_t H5O_release_mesg(H5F_t *f, hid_t dxpl_id, H5O_t *oh,
H5_DLL void * H5O_shared_read(H5F_t *f, hid_t dxpl_id, const H5O_shared_t *shared,
const H5O_msg_class_t *type, void *mesg);
+/* Attribute operations */
+H5_DLL herr_t H5O_attr_create(const H5O_loc_t *loc, hid_t dxpl_id, H5A_t *attr);
+H5_DLL H5A_t *H5O_attr_open(const H5O_loc_t *loc, const char *name,
+ hid_t dxpl_id);
+H5_DLL herr_t H5O_attr_write(const H5O_loc_t *loc, hid_t dxpl_id,
+ H5A_t *attr);
+H5_DLL herr_t H5O_attr_rename(const H5O_loc_t *loc, hid_t dxpl_id,
+ const char *old_name, const char *new_name);
+H5_DLL herr_t H5O_attr_iterate(hid_t loc_id, const H5O_loc_t *loc, hid_t dxpl_id,
+ unsigned skip, unsigned *last_attr, H5A_operator_t op, void *op_data);
+
/* These functions operate on object locations */
H5_DLL H5O_loc_t *H5O_get_loc(hid_t id);