summaryrefslogtreecommitdiffstats
path: root/src/H5Lpublic.h
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2009-01-08 18:24:09 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2009-01-08 18:24:09 (GMT)
commit50d88ec142fc41ba5588980cde79c6bb9c2e276a (patch)
tree0a848b0ff0ef7fe06554a902d186dc34e153134a /src/H5Lpublic.h
parentab2ff6eda496173e038d97685f96dd2de9e3df29 (diff)
downloadhdf5-50d88ec142fc41ba5588980cde79c6bb9c2e276a.zip
hdf5-50d88ec142fc41ba5588980cde79c6bb9c2e276a.tar.gz
hdf5-50d88ec142fc41ba5588980cde79c6bb9c2e276a.tar.bz2
[svn-r16282] Purpose: Add functions to allow more flexible traversal of external links.
Description: Added H5Pset/get_elink_cb to allow the user to specify a callback function to be called whenever an external link is traversed. Added H5Pset/get_elink_acc_flags to allow the user to specify the file access flags to use to open the target file of an external link. All these properties are set on a LAPL. Tested: jam (trunk version tested with h5committest)
Diffstat (limited to 'src/H5Lpublic.h')
-rw-r--r--src/H5Lpublic.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/H5Lpublic.h b/src/H5Lpublic.h
index eba09b2..620d2e9 100644
--- a/src/H5Lpublic.h
+++ b/src/H5Lpublic.h
@@ -29,7 +29,6 @@
/* Public headers needed by this file */
#include "H5public.h" /* Generic Functions */
#include "H5Ipublic.h" /* IDs */
-#include "H5Ppublic.h" /* Property lists */
#include "H5Tpublic.h" /* Datatypes */
/*****************/
@@ -131,6 +130,12 @@ typedef struct {
typedef herr_t (*H5L_iterate_t)(hid_t group, const char *name, const H5L_info_t *info,
void *op_data);
+/* Callback for external link traversal */
+typedef herr_t (*H5L_elink_traverse_t)(const char *parent_file_name,
+ const char *parent_group_name, const char *child_file_name,
+ const char *child_object_name, unsigned *acc_flags, hid_t fapl_id,
+ void *op_data);
+
/********************/
/* Public Variables */