summaryrefslogtreecommitdiffstats
path: root/src/H5L.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2012-05-29 15:12:25 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2012-05-29 15:12:25 (GMT)
commit930dd4f8918dd3c60f69f4e4bb32b27da91a60f8 (patch)
tree00342c4d6baa380ac7fea0c49d03178a66ef5a8c /src/H5L.c
parent485dcbd4026b0d68df1b075fba9415d83c9eb554 (diff)
downloadhdf5-930dd4f8918dd3c60f69f4e4bb32b27da91a60f8.zip
hdf5-930dd4f8918dd3c60f69f4e4bb32b27da91a60f8.tar.gz
hdf5-930dd4f8918dd3c60f69f4e4bb32b27da91a60f8.tar.bz2
[svn-r22417] rename the properties used for the VOL callbacks.
move them to the VOL public header.
Diffstat (limited to 'src/H5L.c')
-rw-r--r--src/H5L.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/H5L.c b/src/H5L.c
index 3f48431..349d8af 100644
--- a/src/H5L.c
+++ b/src/H5L.c
@@ -429,7 +429,7 @@ H5Lcreate_soft(const char *link_target,
HGOTO_ERROR(H5E_ATOM, H5E_BADATOM, FAIL, "can't find object for ID")
/* set creation properties */
- if(H5P_set(plist, H5L_CRT_TARGET_NAME_NAME, &link_target) < 0)
+ if(H5P_set(plist, H5VL_LINK_TARGET_NAME, &link_target) < 0)
HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "can't get property value for target name")
/* Create the link through the VOL */
@@ -488,9 +488,9 @@ H5Lcreate_hard(hid_t cur_loc_id, const char *cur_name,
HGOTO_ERROR(H5E_ATOM, H5E_BADATOM, FAIL, "can't find object for ID")
/* set creation properties */
- if(H5P_set(plist, H5L_CRT_TARGET_ID_NAME, &cur_loc_id) < 0)
+ if(H5P_set(plist, H5VL_LINK_TARGET_ID, &cur_loc_id) < 0)
HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "can't set property value for target id")
- if(H5P_set(plist, H5L_CRT_TARGET_NAME_NAME, &cur_name) < 0)
+ if(H5P_set(plist, H5VL_LINK_TARGET_NAME, &cur_name) < 0)
HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "can't set property value for target name")
/* Create the link through the VOL */
@@ -553,11 +553,11 @@ H5Lcreate_ud(hid_t link_loc_id, const char *link_name, H5L_type_t link_type,
HGOTO_ERROR(H5E_ATOM, H5E_BADATOM, FAIL, "can't find object for ID")
/* set creation properties */
- if(H5P_set(plist, H5L_CRT_LINK_TYPE_NAME, &link_type) < 0)
+ if(H5P_set(plist, H5VL_LINK_TYPE, &link_type) < 0)
HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "can't get property value from plist")
- if(H5P_set(plist, H5L_CRT_UDATA_NAME, &udata) < 0)
+ if(H5P_set(plist, H5VL_LINK_UDATA, &udata) < 0)
HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "can't get property value from plist")
- if(H5P_set(plist, H5L_CRT_UDATA_SIZE_NAME, &udata_size) < 0)
+ if(H5P_set(plist, H5VL_LINK_UDATA_SIZE, &udata_size) < 0)
HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "can't get property value from plist")
/* Create the link through the VOL */