summaryrefslogtreecommitdiffstats
path: root/src/H5Omessage.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-02-01 02:31:34 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-02-01 02:31:34 (GMT)
commit3b8b18d16e7aeaee99b6ca7d45a5b0e28a86595b (patch)
treefb4d80d688c6ffb0ae69cbadb4d983e04acb5d6c /src/H5Omessage.c
parent940f64156bb08c8875dd18ecb96e9a58f3c8ad82 (diff)
downloadhdf5-3b8b18d16e7aeaee99b6ca7d45a5b0e28a86595b.zip
hdf5-3b8b18d16e7aeaee99b6ca7d45a5b0e28a86595b.tar.gz
hdf5-3b8b18d16e7aeaee99b6ca7d45a5b0e28a86595b.tar.bz2
[svn-r16394] Description:
Rename H5O_msg_read_real -> H5O_msg_read_oh, to be more consistent with other routines in library. Move H5O_msg_read_oh and H5O_msg_exists_oh from package to private header file, so other routines in library can use them. Tested on: FreeBSD/32 6.3 (duty) Too minor to require h5committest
Diffstat (limited to 'src/H5Omessage.c')
-rw-r--r--src/H5Omessage.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5Omessage.c b/src/H5Omessage.c
index 5a0577a..a63299a 100644
--- a/src/H5Omessage.c
+++ b/src/H5Omessage.c
@@ -488,7 +488,7 @@ H5O_msg_read(const H5O_loc_t *loc, unsigned type_id, void *mesg,
HGOTO_ERROR(H5E_OHDR, H5E_CANTLOAD, NULL, "unable to load object header")
/* Call the "real" read routine */
- if(NULL == (ret_value = H5O_msg_read_real(loc->file, dxpl_id, oh, type_id, mesg)))
+ if(NULL == (ret_value = H5O_msg_read_oh(loc->file, dxpl_id, oh, type_id, mesg)))
HGOTO_ERROR(H5E_OHDR, H5E_READERROR, NULL, "unable to load object header")
done:
@@ -500,7 +500,7 @@ done:
/*-------------------------------------------------------------------------
- * Function: H5O_msg_read_real
+ * Function: H5O_msg_read_oh
*
* Purpose: Reads a message from an object header and returns a pointer
* to it. The caller will usually supply the memory through
@@ -523,14 +523,14 @@ done:
*-------------------------------------------------------------------------
*/
void *
-H5O_msg_read_real(H5F_t *f, hid_t dxpl_id, H5O_t *oh, unsigned type_id,
+H5O_msg_read_oh(H5F_t *f, hid_t dxpl_id, H5O_t *oh, unsigned type_id,
void *mesg)
{
const H5O_msg_class_t *type; /* Actual H5O class type for the ID */
unsigned idx; /* Message's index in object header */
void *ret_value = NULL;
- FUNC_ENTER_NOAPI_NOINIT(H5O_msg_read_real)
+ FUNC_ENTER_NOAPI_NOINIT(H5O_msg_read_oh)
/* check args */
HDassert(f);
@@ -562,7 +562,7 @@ H5O_msg_read_real(H5F_t *f, hid_t dxpl_id, H5O_t *oh, unsigned type_id,
done:
FUNC_LEAVE_NOAPI(ret_value)
-} /* end H5O_msg_read_real() */
+} /* end H5O_msg_read_oh() */
/*-------------------------------------------------------------------------