summaryrefslogtreecommitdiffstats
path: root/src/H5Gdeprec.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/H5Gdeprec.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/H5Gdeprec.c')
-rw-r--r--src/H5Gdeprec.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/H5Gdeprec.c b/src/H5Gdeprec.c
index 2b3a9e6..4a2cf28 100644
--- a/src/H5Gdeprec.c
+++ b/src/H5Gdeprec.c
@@ -247,7 +247,7 @@ H5Gcreate1(hid_t loc_id, const char *name, size_t size_hint)
HGOTO_ERROR(H5E_ATOM, H5E_BADATOM, FAIL, "can't find object for ID")
/* get creation properties */
- if(H5P_set(plist, H5G_CRT_LCPL_ID_NAME, &lcpl_id) < 0)
+ if(H5P_set(plist, H5VL_GRP_LCPL_ID, &lcpl_id) < 0)
HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "can't get property value for lcpl id")
/* Create the group through the VOL */
@@ -331,9 +331,9 @@ H5Glink(hid_t cur_loc_id, H5G_link_t type, const char *cur_name, const char *new
if(type == H5L_TYPE_HARD) {
/* 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 */
@@ -343,7 +343,7 @@ H5Glink(hid_t cur_loc_id, H5G_link_t type, const char *cur_name, const char *new
} /* end if */
else if(type == H5L_TYPE_SOFT) {
/* set creation properties */
- 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 get property value for target name")
/* Create the link through the VOL */
@@ -390,9 +390,9 @@ H5Glink2(hid_t cur_loc_id, const char *cur_name, H5G_link_t type,
if(type == H5L_TYPE_HARD) {
/* 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 */
@@ -407,7 +407,7 @@ H5Glink2(hid_t cur_loc_id, const char *cur_name, H5G_link_t type,
new_loc_id = cur_loc_id;
/* set creation properties */
- 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 get property value for target name")
/* Create the link through the VOL */