summaryrefslogtreecommitdiffstats
path: root/src/H5Gint.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Gint.c')
-rw-r--r--src/H5Gint.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/H5Gint.c b/src/H5Gint.c
index 34711dd..d3b6ccf 100644
--- a/src/H5Gint.c
+++ b/src/H5Gint.c
@@ -56,23 +56,23 @@ typedef struct {
/* User data for application-style iteration over links in a group */
typedef struct {
hid_t gid; /* The group ID for the application callback */
- H5O_loc_t * link_loc; /* The object location for the link */
+ H5O_loc_t *link_loc; /* The object location for the link */
H5G_link_iterate_t lnk_op; /* Application callback */
- void * op_data; /* Application's op data */
+ void *op_data; /* Application's op data */
} H5G_iter_appcall_ud_t;
/* User data for recursive traversal over links from a group */
typedef struct {
hid_t gid; /* The group ID for the starting group */
- H5G_loc_t * curr_loc; /* Location of starting group */
+ H5G_loc_t *curr_loc; /* Location of starting group */
H5_index_t idx_type; /* Index to use */
H5_iter_order_t order; /* Iteration order within index */
- H5SL_t * visited; /* Skip list for tracking visited nodes */
- char * path; /* Path name of the link */
+ H5SL_t *visited; /* Skip list for tracking visited nodes */
+ char *path; /* Path name of the link */
size_t curr_path_len; /* Current length of the path in the buffer */
size_t path_buf_size; /* Size of path buffer */
H5L_iterate2_t op; /* Application callback */
- void * op_data; /* Application's op data */
+ void *op_data; /* Application's op data */
} H5G_iter_visit_ud_t;
/********************/
@@ -250,7 +250,7 @@ H5G__create_named(const H5G_loc_t *loc, const char *name, hid_t lcpl_id, hid_t g
{
H5O_obj_create_t ocrt_info; /* Information for object creation */
H5G_obj_create_t gcrt_info; /* Information for group creation */
- H5G_t * ret_value = NULL; /* Return value */
+ H5G_t *ret_value = NULL; /* Return value */
FUNC_ENTER_PACKAGE
@@ -302,9 +302,9 @@ done:
H5G_t *
H5G__create(H5F_t *file, H5G_obj_create_t *gcrt_info)
{
- H5G_t * grp = NULL; /*new group */
+ H5G_t *grp = NULL; /*new group */
unsigned oloc_init = 0; /* Flag to indicate that the group object location was created successfully */
- H5G_t * ret_value = NULL; /* Return value */
+ H5G_t *ret_value = NULL; /* Return value */
FUNC_ENTER_PACKAGE
@@ -373,13 +373,13 @@ done:
H5G_t *
H5G__open_name(const H5G_loc_t *loc, const char *name)
{
- H5G_t * grp = NULL; /* Group to open */
+ H5G_t *grp = NULL; /* Group to open */
H5G_loc_t grp_loc; /* Location used to open group */
H5G_name_t grp_path; /* Opened object group hier. path */
H5O_loc_t grp_oloc; /* Opened object object location */
hbool_t loc_found = FALSE; /* Location at 'name' found */
H5O_type_t obj_type; /* Type of object at location */
- H5G_t * ret_value = NULL; /* Return value */
+ H5G_t *ret_value = NULL; /* Return value */
FUNC_ENTER_PACKAGE
@@ -436,9 +436,9 @@ done:
H5G_t *
H5G_open(const H5G_loc_t *loc)
{
- H5G_t * grp = NULL; /* Group opened */
+ H5G_t *grp = NULL; /* Group opened */
H5G_shared_t *shared_fo; /* Shared group object */
- H5G_t * ret_value = NULL; /* Return value */
+ H5G_t *ret_value = NULL; /* Return value */
FUNC_ENTER_NOAPI(NULL)
@@ -629,7 +629,7 @@ H5G_close(H5G_t *grp)
else
/* Free object location (i.e. "unhold" the file if appropriate) */
if (H5O_loc_free(&(grp->oloc)) < 0)
- HGOTO_ERROR(H5E_SYM, H5E_CANTRELEASE, FAIL, "problem attempting to free location")
+ HGOTO_ERROR(H5E_SYM, H5E_CANTRELEASE, FAIL, "problem attempting to free location")
/* If this group is a mount point and the mount point is the last open
* reference to the group (i.e. fo_count == 1 now), then attempt to
@@ -891,7 +891,7 @@ H5G_iterate(H5G_loc_t *loc, const char *group_name, H5_index_t idx_type, H5_iter
hsize_t *last_lnk, const H5G_link_iterate_t *lnk_op, void *op_data)
{
hid_t gid = H5I_INVALID_HID; /* ID of group to iterate over */
- H5G_t * grp = NULL; /* Pointer to group data structure to iterate over */
+ H5G_t *grp = NULL; /* Pointer to group data structure to iterate over */
H5G_iter_appcall_ud_t udata; /* User data for callback */
herr_t ret_value = FAIL; /* Return value */
@@ -1063,7 +1063,7 @@ H5G__visit_cb(const H5O_link_t *lnk, void *_udata)
/* If it's a group, we recurse into it */
if (otype == H5O_TYPE_GROUP) {
- H5G_loc_t * old_loc = udata->curr_loc; /* Pointer to previous group location info */
+ H5G_loc_t *old_loc = udata->curr_loc; /* Pointer to previous group location info */
H5_index_t idx_type = udata->idx_type; /* Type of index to use */
H5O_linfo_t linfo; /* Link info message */
htri_t linfo_exists; /* Whether the link info message exists */
@@ -1152,7 +1152,7 @@ H5G_visit(H5G_loc_t *loc, const char *group_name, H5_index_t idx_type, H5_iter_o
H5O_linfo_t linfo; /* Link info message */
htri_t linfo_exists; /* Whether the link info message exists */
hid_t gid = H5I_INVALID_HID; /* Group ID */
- H5G_t * grp = NULL; /* Group opened */
+ H5G_t *grp = NULL; /* Group opened */
H5G_loc_t start_loc; /* Location of starting group */
unsigned rc; /* Reference count of object */
herr_t ret_value = FAIL; /* Return value */