summaryrefslogtreecommitdiffstats
path: root/src/H5L.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2008-04-08 16:09:17 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2008-04-08 16:09:17 (GMT)
commitde68c607843fbfa55f94a661cf8cf58ad09adc0c (patch)
tree8185120942d326db8f36ea6ce964f6974ca57659 /src/H5L.c
parentb7f6a65f7458ba351a55206abcbdc89f3c721f4b (diff)
downloadhdf5-de68c607843fbfa55f94a661cf8cf58ad09adc0c.zip
hdf5-de68c607843fbfa55f94a661cf8cf58ad09adc0c.tar.gz
hdf5-de68c607843fbfa55f94a661cf8cf58ad09adc0c.tar.bz2
[svn-r14811] Description:
Add "_META" suffix to FUNC_ENTER/FUNC_LEAVE API routines that can modify metadata in the file. This will give us a single place to change to recording the beginning & ending of transactions. Tested on: FreeBSD/32 6.2 (duty) Too simple to require h5committest
Diffstat (limited to 'src/H5L.c')
-rw-r--r--src/H5L.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/H5L.c b/src/H5L.c
index 020f7c2..d90bdcc 100644
--- a/src/H5L.c
+++ b/src/H5L.c
@@ -314,7 +314,7 @@ H5Lmove(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id,
H5G_loc_t dst_loc, *dst_loc_p;
herr_t ret_value=SUCCEED; /* Return value */
- FUNC_ENTER_API(H5Lmove, FAIL)
+ FUNC_ENTER_API_META(H5Lmove, FAIL)
H5TRACE6("e", "i*si*sii", src_loc_id, src_name, dst_loc_id, dst_name, lcpl_id,
lapl_id);
@@ -346,7 +346,7 @@ H5Lmove(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id,
HGOTO_ERROR(H5E_LINK, H5E_CANTMOVE, FAIL, "unable to move link")
done:
- FUNC_LEAVE_API(ret_value)
+ FUNC_LEAVE_API_META(ret_value)
} /* end H5Lmove() */
@@ -372,7 +372,7 @@ H5Lcopy(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id,
H5G_loc_t dst_loc, *dst_loc_p;
herr_t ret_value=SUCCEED; /* Return value */
- FUNC_ENTER_API(H5Lcopy, FAIL)
+ FUNC_ENTER_API_META(H5Lcopy, FAIL)
H5TRACE6("e", "i*si*sii", src_loc_id, src_name, dst_loc_id, dst_name, lcpl_id,
lapl_id);
@@ -404,7 +404,7 @@ H5Lcopy(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id,
HGOTO_ERROR(H5E_LINK, H5E_CANTMOVE, FAIL, "unable to move link")
done:
- FUNC_LEAVE_API(ret_value)
+ FUNC_LEAVE_API_META(ret_value)
} /* end H5Lcopy() */
@@ -433,7 +433,7 @@ H5Lcreate_soft(const char *link_target,
H5G_loc_t link_loc; /* Group location for new link */
herr_t ret_value = SUCCEED; /* Return value */
- FUNC_ENTER_API(H5Lcreate_soft, FAIL)
+ FUNC_ENTER_API_META(H5Lcreate_soft, FAIL)
H5TRACE5("e", "*si*sii", link_target, link_loc_id, link_name, lcpl_id, lapl_id);
/* Check arguments */
@@ -451,7 +451,7 @@ H5Lcreate_soft(const char *link_target,
HGOTO_ERROR(H5E_LINK, H5E_CANTINIT, FAIL, "unable to create link")
done:
- FUNC_LEAVE_API(ret_value)
+ FUNC_LEAVE_API_META(ret_value)
} /* end H5Lcreate_soft() */
@@ -479,7 +479,7 @@ H5Lcreate_hard(hid_t cur_loc_id, const char *cur_name,
H5G_loc_t new_loc, *new_loc_p;
herr_t ret_value = SUCCEED; /* Return value */
- FUNC_ENTER_API(H5Lcreate_hard, FAIL)
+ FUNC_ENTER_API_META(H5Lcreate_hard, FAIL)
H5TRACE6("e", "i*si*sii", cur_loc_id, cur_name, new_loc_id, new_name, lcpl_id,
lapl_id);
@@ -513,7 +513,7 @@ H5Lcreate_hard(hid_t cur_loc_id, const char *cur_name,
HGOTO_ERROR(H5E_LINK, H5E_CANTINIT, FAIL, "unable to create link")
done:
- FUNC_LEAVE_API(ret_value)
+ FUNC_LEAVE_API_META(ret_value)
} /* end H5Lcreate_hard() */
@@ -548,7 +548,7 @@ H5Lcreate_ud(hid_t link_loc_id, const char *link_name, H5L_type_t link_type,
H5G_loc_t link_loc;
herr_t ret_value = SUCCEED; /* Return value */
- FUNC_ENTER_API(H5Lcreate_ud, FAIL)
+ FUNC_ENTER_API_META(H5Lcreate_ud, FAIL)
H5TRACE7("e", "i*sLl*xzii", link_loc_id, link_name, link_type, udata,
udata_size, lcpl_id, lapl_id);
@@ -563,7 +563,7 @@ H5Lcreate_ud(hid_t link_loc_id, const char *link_name, H5L_type_t link_type,
HGOTO_ERROR(H5E_LINK, H5E_CANTINIT, FAIL, "unable to create link")
done:
- FUNC_LEAVE_API(ret_value);
+ FUNC_LEAVE_API_META(ret_value);
} /* end H5Lcreate_ud() */
@@ -590,7 +590,7 @@ H5Ldelete(hid_t loc_id, const char *name, hid_t lapl_id)
H5G_loc_t loc; /* Group's location */
herr_t ret_value = SUCCEED; /* Return value */
- FUNC_ENTER_API(H5Ldelete, FAIL)
+ FUNC_ENTER_API_META(H5Ldelete, FAIL)
H5TRACE3("e", "i*si", loc_id, name, lapl_id);
/* Check arguments */
@@ -604,7 +604,7 @@ H5Ldelete(hid_t loc_id, const char *name, hid_t lapl_id)
HGOTO_ERROR(H5E_LINK, H5E_CANTDELETE, FAIL, "unable to delete link")
done:
- FUNC_LEAVE_API(ret_value)
+ FUNC_LEAVE_API_META(ret_value)
} /* end H5Ldelete() */
@@ -635,7 +635,7 @@ H5Ldelete_by_idx(hid_t loc_id, const char *group_name,
H5L_trav_rmbi_t udata; /* User data for callback */
herr_t ret_value = SUCCEED; /* Return value */
- FUNC_ENTER_API(H5Ldelete_by_idx, FAIL)
+ FUNC_ENTER_API_META(H5Ldelete_by_idx, FAIL)
H5TRACE6("e", "i*sIiIohi", loc_id, group_name, idx_type, order, n, lapl_id);
/* Check arguments */
@@ -664,7 +664,7 @@ H5Ldelete_by_idx(hid_t loc_id, const char *group_name,
HGOTO_ERROR(H5E_SYM, H5E_EXISTS, FAIL, "name doesn't exist")
done:
- FUNC_LEAVE_API(ret_value)
+ FUNC_LEAVE_API_META(ret_value)
} /* end H5Ldelete_by_idx() */