diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-11-25 22:10:35 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-11-25 22:10:35 (GMT) |
commit | afd94614e0e6b527df8899470b33d2f667bb531f (patch) | |
tree | bda5a063cc3892f3b1a884d71449b6c71595e1e4 /src/H5Opublic.h | |
parent | e4f62217b88a1ad842cd5f226c2729feb3b8c559 (diff) | |
download | hdf5-afd94614e0e6b527df8899470b33d2f667bb531f.zip hdf5-afd94614e0e6b527df8899470b33d2f667bb531f.tar.gz hdf5-afd94614e0e6b527df8899470b33d2f667bb531f.tar.bz2 |
[svn-r14286] Description:
Add H5Ovisit() and H5Ovisit_by_name() API routines.
Tested on:
FreeBSD/32 6.2 (duty) in debug mode
FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
in debug mode
Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
in production mode
Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, in production mode
Mac OS X/32 10.4.10 (amazon) in debug mode
Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
Diffstat (limited to 'src/H5Opublic.h')
-rw-r--r-- | src/H5Opublic.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/H5Opublic.h b/src/H5Opublic.h index 6ddd565..64fdd07 100644 --- a/src/H5Opublic.h +++ b/src/H5Opublic.h @@ -124,6 +124,10 @@ typedef struct H5O_info_t { /* Typedef for message creation indexes */ typedef uint32_t H5O_msg_crt_idx_t; +/* Prototype for H5Ovisit/H5Ovisit_by_name() operator */ +typedef herr_t (*H5O_iterate_t)(hid_t obj, const char *name, const H5O_info_t *info, + void *op_data); + /********************/ /* Public Variables */ @@ -159,6 +163,11 @@ H5_DLL herr_t H5Oset_comment_by_name(hid_t loc_id, const char *name, H5_DLL ssize_t H5Oget_comment(hid_t obj_id, char *comment, size_t bufsize); H5_DLL ssize_t H5Oget_comment_by_name(hid_t loc_id, const char *name, char *comment, size_t bufsize, hid_t lapl_id); +H5_DLL herr_t H5Ovisit(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, + H5O_iterate_t op, void *op_data); +H5_DLL herr_t H5Ovisit_by_name(hid_t loc_id, const char *obj_name, + H5_index_t idx_type, H5_iter_order_t order, H5O_iterate_t op, + void *op_data, hid_t lapl_id); H5_DLL herr_t H5Oclose(hid_t object_id); /* Symbols defined for compatibility with previous versions of the HDF5 API. |