summaryrefslogtreecommitdiffstats
path: root/src/H5Gloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Gloc.c')
-rw-r--r--src/H5Gloc.c69
1 files changed, 0 insertions, 69 deletions
diff --git a/src/H5Gloc.c b/src/H5Gloc.c
index f33680a..3a94a79 100644
--- a/src/H5Gloc.c
+++ b/src/H5Gloc.c
@@ -397,72 +397,3 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5G_loc_insert() */
-
-/*-------------------------------------------------------------------------
- * Function: H5G_loc_exists
- *
- * Purpose: Check if a symbol exists in a location
- *
- * Return: Non-negative if object exists/Negative if object doesn't exist
- *
- * Programmer: Quincey Koziol
- * Monday, September 19, 2005
- *
- *-------------------------------------------------------------------------
- */
-herr_t
-H5G_loc_exists(const H5G_loc_t *loc, const char *name, hid_t dxpl_id)
-{
- herr_t ret_value = SUCCEED; /* Return value */
-
- FUNC_ENTER_NOAPI(H5G_loc_exists, FAIL)
-
- /* Check args. */
- HDassert(loc);
- HDassert(name && *name);
-
- /* Get information for object in current group */
- if(H5G_obj_lookup(loc->oloc, name, NULL, dxpl_id) < 0)
- HGOTO_ERROR(H5E_SYM, H5E_NOTFOUND, FAIL, "component not found")
-
-done:
- FUNC_LEAVE_NOAPI(ret_value)
-} /* end H5G_loc_exists() */
-
-
-/*-------------------------------------------------------------------------
- * Function: H5G_loc_remove
- *
- * Purpose: Remove a link from a group
- *
- * Return: Non-negative on success/Negative on failure
- *
- * Programmer: Quincey Koziol
- * Monday, September 19, 2005
- *
- *-------------------------------------------------------------------------
- */
-herr_t
-H5G_loc_remove(H5G_loc_t *grp_loc, const char *link_name, H5G_loc_t *obj_loc, hid_t dxpl_id)
-{
- H5G_obj_t obj_type; /* Type of object removed */
- herr_t ret_value = SUCCEED; /* Return value */
-
- FUNC_ENTER_NOAPI(H5G_loc_remove, FAIL)
-
- /* Check args. */
- HDassert(grp_loc);
- HDassert(link_name && *link_name);
-
- /* Remove object from group */
- if(H5G_obj_remove(grp_loc->oloc, link_name, &obj_type, dxpl_id) < 0)
- HGOTO_ERROR(H5E_SYM, H5E_NOTFOUND, FAIL, "component not found")
-
- /* Search the open IDs and replace names for unlinked object */
- if(H5G_name_replace(obj_type, obj_loc, NULL, NULL, H5G_NAME_DELETE) < 0)
- HGOTO_ERROR(H5E_SYM, H5E_CANTDELETE, FAIL, "unable to replace name")
-
-done:
- FUNC_LEAVE_NOAPI(ret_value)
-} /* end H5G_loc_remove() */
-