summaryrefslogtreecommitdiffstats
path: root/src/H5Pdcpl.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-09-13 16:57:46 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-09-13 16:57:46 (GMT)
commit12f8879c407478ab7cb7c60e1c37554cf370c175 (patch)
tree87198e8ca2084f756e91827e35c4d438b8a92011 /src/H5Pdcpl.c
parent18758623d78ff9fbd4880761da6d40fdfe44c945 (diff)
downloadhdf5-12f8879c407478ab7cb7c60e1c37554cf370c175.zip
hdf5-12f8879c407478ab7cb7c60e1c37554cf370c175.tar.gz
hdf5-12f8879c407478ab7cb7c60e1c37554cf370c175.tar.bz2
[svn-r5926] Purpose:
API name change Description: Change all "space time" references to "alloc time", including API functions and macro definitions, etc. Platforms tested: FreeBSD 4.6 (sleipnir) w/C++ Solaris 2.7 (arabica) w/FORTRAN IRIX64 6.5 (modi4) w/parallel & FORTRAN
Diffstat (limited to 'src/H5Pdcpl.c')
-rw-r--r--src/H5Pdcpl.c24
1 files changed, 13 insertions, 11 deletions
diff --git a/src/H5Pdcpl.c b/src/H5Pdcpl.c
index 4c3d6a1..7e995ef 100644
--- a/src/H5Pdcpl.c
+++ b/src/H5Pdcpl.c
@@ -1022,10 +1022,11 @@ done:
/*-------------------------------------------------------------------------
- * Function: H5Pset_space_time
+ * Function: H5Pset_alloc_time
*
* Purpose: Set space allocation time for dataset during creation.
- * Valid values are H5D_EARLY, H5D_LATE.
+ * Valid values are H5D_ALLOC_TIME_DEFAULT, H5D_ALLOC_TIME_EARLY,
+ * H5D_ALLOC_TIME_LATE, H5D_ALLOC_TIME_INCR
*
* Return: Non-negative on success/Negative on failure
*
@@ -1038,12 +1039,12 @@ done:
*-------------------------------------------------------------------------
*/
herr_t
-H5Pset_space_time(hid_t plist_id, H5D_space_time_t alloc_time)
+H5Pset_alloc_time(hid_t plist_id, H5D_alloc_time_t alloc_time)
{
H5P_genplist_t *plist; /* Property list pointer */
herr_t ret_value = SUCCEED; /* return value */
- FUNC_ENTER_API(H5Pset_space_time, FAIL);
+ FUNC_ENTER_API(H5Pset_alloc_time, FAIL);
H5TRACE2("e","iDs",plist_id,alloc_time);
/* Get the property list structure */
@@ -1051,7 +1052,7 @@ H5Pset_space_time(hid_t plist_id, H5D_space_time_t alloc_time)
HGOTO_ERROR(H5E_ATOM, H5E_BADATOM, FAIL, "can't find object for ID");
/* Set values */
- if(H5P_set(plist, H5D_CRT_SPACE_TIME_NAME, &alloc_time) < 0)
+ if(H5P_set(plist, H5D_CRT_ALLOC_TIME_NAME, &alloc_time) < 0)
HGOTO_ERROR(H5E_PLIST, H5E_CANTSET, FAIL, "can't set space allocation time");
done:
@@ -1060,10 +1061,11 @@ done:
/*-------------------------------------------------------------------------
- * Function: H5Pget_space_time
+ * Function: H5Pget_alloc_time
*
- * Purpose: Get space allocation time for dataset creation. Valid
- * values are H5D_EARLY, H5D_LATE.
+ * Purpose: Get space allocation time for dataset creation.
+ * Valid values are H5D_ALLOC_TIME_DEFAULT, H5D_ALLOC_TIME_EARLY,
+ * H5D_ALLOC_TIME_LATE, H5D_ALLOC_TIME_INCR
*
* Return: Non-negative on success/Negative on failure
*
@@ -1076,12 +1078,12 @@ done:
*-------------------------------------------------------------------------
*/
herr_t
-H5Pget_space_time(hid_t plist_id, H5D_space_time_t *alloc_time/*out*/)
+H5Pget_alloc_time(hid_t plist_id, H5D_alloc_time_t *alloc_time/*out*/)
{
H5P_genplist_t *plist; /* Property list pointer */
herr_t ret_value = SUCCEED; /* return value */
- FUNC_ENTER_API(H5Pget_space_time, FAIL);
+ FUNC_ENTER_API(H5Pget_alloc_time, FAIL);
H5TRACE2("e","ix",plist_id,alloc_time);
/* Get the property list structure */
@@ -1089,7 +1091,7 @@ H5Pget_space_time(hid_t plist_id, H5D_space_time_t *alloc_time/*out*/)
HGOTO_ERROR(H5E_ATOM, H5E_BADATOM, FAIL, "can't find object for ID");
/* Get values */
- if(!alloc_time || H5P_get(plist, H5D_CRT_SPACE_TIME_NAME, alloc_time) < 0)
+ if(!alloc_time || H5P_get(plist, H5D_CRT_ALLOC_TIME_NAME, alloc_time) < 0)
HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "can't get space allocation time");
done: