summaryrefslogtreecommitdiffstats
path: root/src/H5Ppublic.h
diff options
context:
space:
mode:
authorVailin Choi <vchoi@hdfgroup.org>2008-10-03 03:54:23 (GMT)
committerVailin Choi <vchoi@hdfgroup.org>2008-10-03 03:54:23 (GMT)
commit3d008d3756c094fa205770b810fa2719c3e21687 (patch)
tree46c06c3ad13199c2a415dc8d5c9fc28123aeb83a /src/H5Ppublic.h
parent33ae6a749eaa04ee7ab91d7b63cb430fd4e0fc8f (diff)
downloadhdf5-3d008d3756c094fa205770b810fa2719c3e21687.zip
hdf5-3d008d3756c094fa205770b810fa2719c3e21687.tar.gz
hdf5-3d008d3756c094fa205770b810fa2719c3e21687.tar.bz2
[svn-r15762] Changes for bug #1247 so that the user can specify the driver
to use when opening the external linked target file. 1. Two new public routines are added to H5Plapl.c as well as "del/copy/close" callbacks for the property itself. 2. Modify H5L_extern_traverse() to use the fapl set via H5Pset_elink_fapl() and retrieve via H5Pget_elink_fapl(). 3. Add 3 tests to links.c to verify H5Pset/get_elink_fapl(). Also fix the compiler warning for the "if condition" in H5_build_extpath() of H5system.c.
Diffstat (limited to 'src/H5Ppublic.h')
-rw-r--r--src/H5Ppublic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5Ppublic.h b/src/H5Ppublic.h
index bab5a1a..0e4e8d3 100644
--- a/src/H5Ppublic.h
+++ b/src/H5Ppublic.h
@@ -374,6 +374,8 @@ H5_DLL herr_t H5Pset_nlinks(hid_t plist_id, size_t nlinks);
H5_DLL herr_t H5Pget_nlinks(hid_t plist_id, size_t *nlinks);
H5_DLL herr_t H5Pset_elink_prefix(hid_t plist_id, const char *prefix);
H5_DLL ssize_t H5Pget_elink_prefix(hid_t plist_id, char *prefix, size_t size);
+H5_DLL hid_t H5Pget_elink_fapl(hid_t lapl_id);
+H5_DLL herr_t H5Pset_elink_fapl(hid_t lapl_id, hid_t fapl_id);
/* Object copy property list (OCPYPL) routines */
H5_DLL herr_t H5Pset_copy_object(hid_t plist_id, unsigned crt_intmd);