diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-05-15 19:22:33 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-05-15 19:22:33 (GMT) |
commit | b496ac1482d97086112c890a0154ce9e1522a815 (patch) | |
tree | f3c3ae6ccff7a59bb73e8fe9433f656dfaea680c /src/H5Gpkg.h | |
parent | f36a66b6fb7fb2eed7c8656972d6ce8ec9e75f8c (diff) | |
download | hdf5-b496ac1482d97086112c890a0154ce9e1522a815.zip hdf5-b496ac1482d97086112c890a0154ce9e1522a815.tar.gz hdf5-b496ac1482d97086112c890a0154ce9e1522a815.tar.bz2 |
[svn-r6878] Purpose:
Code cleanup
Description:
Limit the scope on more function prototypes/macros/typedefs.
Platforms tested:
FreeBSD 4.8 (sleipnir)
h5committest not necessary.
Diffstat (limited to 'src/H5Gpkg.h')
-rw-r--r-- | src/H5Gpkg.h | 25 |
1 files changed, 4 insertions, 21 deletions
diff --git a/src/H5Gpkg.h b/src/H5Gpkg.h index 5f9adfb..2bd3bbc 100644 --- a/src/H5Gpkg.h +++ b/src/H5Gpkg.h @@ -27,12 +27,11 @@ #ifndef _H5Gpkg_H #define _H5Gpkg_H -#include "H5ACprivate.h" +/* Get package's private header */ #include "H5Gprivate.h" -#define H5G_NODE_VERS 1 /*symbol table node version number */ -#define H5G_SIZE_HINT 256 /*default root grp size hint */ -#define H5G_NODE_SIZEOF_HDR(F) (H5G_NODE_SIZEOF_MAGIC + 4) +/* Other private headers needed by this file */ +#include "H5ACprivate.h" /* Metadata cache */ /* * A symbol table node is a collection of symbol table entries. It can @@ -48,14 +47,6 @@ typedef struct H5G_node_t { } H5G_node_t; /* - * Each key field of the B-link tree that points to symbol table - * nodes consists of this structure... - */ -typedef struct H5G_node_key_t { - size_t offset; /*offset into heap for name */ -} H5G_node_key_t; - -/* * A group handle passed around through layers of the library within and * above the H5G layer. */ @@ -65,15 +56,6 @@ struct H5G_t { }; /* - * During name lookups (see H5G_namei()) we sometimes want information about - * a symbolic link or a mount point. The normal operation is to follow the - * symbolic link or mount point and return information about its target. - */ -#define H5G_TARGET_NORMAL 0x0000 -#define H5G_TARGET_SLINK 0x0001 -#define H5G_TARGET_MOUNT 0x0002 - -/* * These operations can be passed down from the H5G_stab layer to the * H5G_node layer through the B-tree layer. */ @@ -148,6 +130,7 @@ H5_DLL herr_t H5G_stab_find(H5G_entry_t *grp_ent, const char *name, H5G_entry_t *obj_ent/*out*/, hid_t dxpl_id); H5_DLL herr_t H5G_stab_insert(H5G_entry_t *grp_ent, const char *name, H5G_entry_t *obj_ent, hid_t dxpl_id); +H5_DLL herr_t H5G_stab_delete(H5F_t *f, hid_t dxpl_id, haddr_t btree_addr, haddr_t heap_addr); H5_DLL herr_t H5G_stab_remove(H5G_entry_t *grp_ent, const char *name, hid_t dxpl_id); /* |