summaryrefslogtreecommitdiffstats
path: root/src/H5Gpkg.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-08-29 05:36:16 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-08-29 05:36:16 (GMT)
commite1747e456cf5605faeaab199cfbb3e72dca6cd40 (patch)
tree250395108e569cbcea9e749ab73ee90dd58b0234 /src/H5Gpkg.h
parentfefbe61aca1a42e716e900be7af5b382be5e19c1 (diff)
downloadhdf5-e1747e456cf5605faeaab199cfbb3e72dca6cd40.zip
hdf5-e1747e456cf5605faeaab199cfbb3e72dca6cd40.tar.gz
hdf5-e1747e456cf5605faeaab199cfbb3e72dca6cd40.tar.bz2
[svn-r11307] Purpose:
Code cleanup Description: Clean up internals of group creation & iteration code. Platforms tested: FreeBSD 4.11 (sleipnir) Mac OS X (nile) Too minor to require h5committest
Diffstat (limited to 'src/H5Gpkg.h')
-rw-r--r--src/H5Gpkg.h18
1 files changed, 2 insertions, 16 deletions
diff --git a/src/H5Gpkg.h b/src/H5Gpkg.h
index 78d1bbd..0bc7883 100644
--- a/src/H5Gpkg.h
+++ b/src/H5Gpkg.h
@@ -65,30 +65,17 @@ struct H5G_t {
};
/*
- * These operations can be passed down from the H5G_stab layer to the
- * H5G_node layer through the B-tree layer.
- */
-typedef enum H5G_oper_t {
- H5G_OPER_FIND = 0, /*find a symbol */
- H5G_OPER_INSERT = 1, /*insert a new symbol */
- H5G_OPER_REMOVE = 2 /*remove existing symbol */
-} H5G_oper_t;
-
-/*
* Data exchange structure for symbol table nodes. This structure is
* passed through the B-link tree layer to the methods for the objects
* to which the B-link tree points.
*/
typedef struct H5G_bt_ud1_t {
-
/* downward */
- H5G_oper_t operation; /*what operation to perform */
const char *name; /*points to temporary memory */
haddr_t heap_addr; /*symbol table heap address */
/* downward for INSERT, upward for FIND */
- H5G_entry_t ent; /*entry to insert into table */
-
+ H5G_entry_t *ent; /*entry to insert into table */
} H5G_bt_ud1_t;
/*
@@ -105,7 +92,6 @@ typedef struct H5G_bt_ud2_t {
/* upward */
int final_ent; /*final entry looked at */
-
} H5G_bt_ud2_t;
/*
@@ -141,7 +127,7 @@ H5_DLL herr_t H5G_stab_create(H5F_t *f, hid_t dxpl_id, size_t size_hint,
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);
+ H5G_entry_t *obj_ent, hbool_t inc_link, hid_t dxpl_id);
H5_DLL herr_t H5G_stab_insert_name(H5G_entry_t *loc, H5G_entry_t *obj,
const char *name);
H5_DLL herr_t H5G_stab_delete(H5F_t *f, hid_t dxpl_id, haddr_t btree_addr, haddr_t heap_addr);