summaryrefslogtreecommitdiffstats
path: root/hl/src/H5LT.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2006-05-17 19:55:12 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2006-05-17 19:55:12 (GMT)
commitf24a3a9a0254c54a9f80c2eb268b0217fdd065fd (patch)
treed29ba22fd14808ad262d514066e9d9e3bcba2f11 /hl/src/H5LT.c
parenta80f2a3d7b29bcc111c7ccbd4468f82968f797ee (diff)
downloadhdf5-f24a3a9a0254c54a9f80c2eb268b0217fdd065fd.zip
hdf5-f24a3a9a0254c54a9f80c2eb268b0217fdd065fd.tar.gz
hdf5-f24a3a9a0254c54a9f80c2eb268b0217fdd065fd.tar.bz2
[svn-r12353] Purpose:
new function Description: added H5LTfind_attribute as a public function, a wrapper for the already existing private function H5LT_find_attribute Solution: Platforms tested: linux solaris Misc. update:
Diffstat (limited to 'hl/src/H5LT.c')
-rw-r--r--hl/src/H5LT.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/hl/src/H5LT.c b/hl/src/H5LT.c
index c779ef0..acc30b8 100644
--- a/hl/src/H5LT.c
+++ b/hl/src/H5LT.c
@@ -1754,6 +1754,29 @@ static herr_t find_attr( hid_t loc_id, const char *name, void *op_data)
/*-------------------------------------------------------------------------
+ * Function: H5LTfind_attribute
+ *
+ * Purpose: Inquires if an attribute named attr_name exists attached to
+ * the object loc_id.
+ *
+ * Programmer: Pedro Vicente, pvn@ncsa.uiuc.edu
+ *
+ * Date: May 17, 2006
+ *
+ * Comments:
+ * Calls the private version of the function
+ *
+ *-------------------------------------------------------------------------
+ */
+
+herr_t H5LTfind_attribute( hid_t loc_id, const char* attr_name )
+{
+ return H5LT_find_attribute(loc_id,attr_name);
+}
+
+
+
+/*-------------------------------------------------------------------------
* Function: H5LT_find_attribute
*
* Purpose: Inquires if an attribute named attr_name exists attached to the object loc_id.