diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2005-08-20 19:28:40 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2005-08-20 19:28:40 (GMT) |
commit | b7d43b0cf0c750031b60937b7dc2eaf0d8a803eb (patch) | |
tree | a451641fa5cb4965b40103576ec53beef49e66e4 /src/H5Gprivate.h | |
parent | 96b3c145b7b8e033fff6504a5dbb88c78c42219b (diff) | |
download | hdf5-b7d43b0cf0c750031b60937b7dc2eaf0d8a803eb.zip hdf5-b7d43b0cf0c750031b60937b7dc2eaf0d8a803eb.tar.gz hdf5-b7d43b0cf0c750031b60937b7dc2eaf0d8a803eb.tar.bz2 |
[svn-r11283] Purpose:
Code cleanup
Description:
Clean up code somewhat:
- Move from HDmemset() -> H5G_ent_reset() to clear out group entry info
- Simplify H5G_unlink() call
- Use portability macros instead of direct system calls in more places
- Improve readbility by neatening whitespace, etc.
- Move some macros into source code module instead of header files
Platforms tested:
FreeBSD 4.11 (sleipnir)
Linux 2.4
Diffstat (limited to 'src/H5Gprivate.h')
-rw-r--r-- | src/H5Gprivate.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/H5Gprivate.h b/src/H5Gprivate.h index 08ec9af..92fee2d 100644 --- a/src/H5Gprivate.h +++ b/src/H5Gprivate.h @@ -187,9 +187,10 @@ H5_DLL herr_t H5G_ent_encode(H5F_t *f, uint8_t **pp, const H5G_entry_t *ent); H5_DLL herr_t H5G_ent_decode(H5F_t *f, const uint8_t **pp, H5G_entry_t *ent/*out*/); H5_DLL const H5G_cache_t *H5G_ent_cache(const H5G_entry_t *ent, H5G_type_t *cache_type); -H5_DLL herr_t H5G_ent_copy(H5G_entry_t *dst, const H5G_entry_t *src, +H5_DLL herr_t H5G_ent_copy(H5G_entry_t *dst, const H5G_entry_t *src, H5G_ent_copy_depth_t depth); -H5_DLL herr_t H5G_free_ent_name(H5G_entry_t *ent); +H5_DLL herr_t H5G_ent_reset(H5G_entry_t *ent); +H5_DLL herr_t H5G_free_ent_name(H5G_entry_t *ent); H5_DLL herr_t H5G_ent_debug(H5F_t *f, hid_t dxpl_id, const H5G_entry_t *ent, FILE * stream, int indent, int fwidth, haddr_t heap); #endif |