summaryrefslogtreecommitdiffstats
path: root/src/H5Fpkg.h
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-07-29 13:36:40 (GMT)
committerGitHub <noreply@github.com>2022-07-29 13:36:40 (GMT)
commit40fc2cca16cd562954d3b724fa56badb3b9da72b (patch)
tree536b4bb51328af98ead7dfa1951f36b47f9b752a /src/H5Fpkg.h
parentc63dfb0fd3345ecb33014612f94d3959f147be03 (diff)
downloadhdf5-40fc2cca16cd562954d3b724fa56badb3b9da72b.zip
hdf5-40fc2cca16cd562954d3b724fa56badb3b9da72b.tar.gz
hdf5-40fc2cca16cd562954d3b724fa56badb3b9da72b.tar.bz2
1.10 clang 13 format #1933 (#1940)
* clang 13 format #1933 * Correct workflow
Diffstat (limited to 'src/H5Fpkg.h')
-rw-r--r--src/H5Fpkg.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/H5Fpkg.h b/src/H5Fpkg.h
index 4a414b2..d364d7a 100644
--- a/src/H5Fpkg.h
+++ b/src/H5Fpkg.h
@@ -159,7 +159,7 @@ typedef struct H5F_efc_t H5F_efc_t;
/* Structure for passing 'user data' to superblock cache callbacks */
typedef struct H5F_superblock_cache_ud_t {
/* IN: */
- H5F_t * f; /* Pointer to file */
+ H5F_t *f; /* Pointer to file */
hbool_t ignore_drvrinfo; /* Indicate if the driver info should be ignored */
/* OUT: */
unsigned sym_leaf_k; /* Symbol table leaf node's 'K' value */
@@ -173,7 +173,7 @@ typedef struct H5F_superblock_cache_ud_t {
/* Structure for passing 'user data' to driver info block cache callbacks */
typedef struct H5F_drvrinfo_cache_ud_t {
- H5F_t * f; /* Pointer to file */
+ H5F_t *f; /* Pointer to file */
haddr_t driver_addr; /* address of driver info block */
} H5F_drvrinfo_cache_ud_t;
@@ -240,8 +240,8 @@ typedef struct H5F_super_t {
* pointing to this struct.
*/
struct H5F_shared_t {
- H5FD_t * lf; /* Lower level file handle for I/O */
- H5F_super_t * sblock; /* Pointer to (pinned) superblock for file */
+ H5FD_t *lf; /* Lower level file handle for I/O */
+ H5F_super_t *sblock; /* Pointer to (pinned) superblock for file */
H5O_drvinfo_t *drvinfo; /* Pointer to the (pinned) driver info
* cache entry. This field is only defined
* for older versions of the super block,
@@ -271,8 +271,8 @@ struct H5F_shared_t {
unsigned long feature_flags; /* VFL Driver feature Flags */
haddr_t maxaddr; /* Maximum address for file */
- H5PB_t * page_buf; /* The page buffer cache */
- H5AC_t * cache; /* The object cache */
+ H5PB_t *page_buf; /* The page buffer cache */
+ H5AC_t *cache; /* The object cache */
H5AC_cache_config_t mdc_initCacheCfg; /* initial configuration for the */
/* metadata cache. This structure is */
/* fixed at creation time and should */
@@ -285,7 +285,7 @@ struct H5F_shared_t {
hbool_t use_mdc_logging; /* Set when metadata logging is desired */
hbool_t start_mdc_log_on_access; /* set when mdc logging should */
/* begin on file access/create */
- char * mdc_log_location; /* location of mdc log */
+ char *mdc_log_location; /* location of mdc log */
hid_t fcpl_id; /* File creation property list ID */
H5F_close_degree_t fc_degree; /* File close behavior degree */
hbool_t evict_on_close; /* If the file's objects should be evicted from the metadata cache on close */
@@ -301,9 +301,9 @@ struct H5F_shared_t {
hbool_t store_msg_crt_idx; /* Store creation index for object header messages? */
unsigned ncwfs; /* Num entries on cwfs list */
struct H5HG_heap_t **cwfs; /* Global heap cache */
- struct H5G_t * root_grp; /* Open root group */
- H5FO_t * open_objs; /* Open objects in file */
- H5UC_t * grp_btree_shared; /* Ref-counted group B-tree node info */
+ struct H5G_t *root_grp; /* Open root group */
+ H5FO_t *open_objs; /* Open objects in file */
+ H5UC_t *grp_btree_shared; /* Ref-counted group B-tree node info */
hbool_t use_file_locking; /* Whether or not to use file locking */
/* File space allocation information */
@@ -320,7 +320,7 @@ struct H5F_shared_t {
H5F_fs_state_t fs_state[H5F_MEM_PAGE_NTYPES]; /* State of free space manager for each type */
haddr_t fs_addr[H5F_MEM_PAGE_NTYPES]; /* Address of free space manager info for each type */
- H5FS_t * fs_man[H5F_MEM_PAGE_NTYPES]; /* Free space manager for each file space type */
+ H5FS_t *fs_man[H5F_MEM_PAGE_NTYPES]; /* Free space manager for each file space type */
hbool_t first_alloc_dealloc; /* TRUE iff free space managers */
/* are persistent and have not */
/* been used accessed for either */
@@ -363,12 +363,12 @@ struct H5F_shared_t {
* to shared H5F_shared_t structs.
*/
struct H5F_t {
- char * open_name; /* Name used to open file */
- char * actual_name; /* Actual name of the file, after resolving symlinks, etc. */
- char * extpath; /* Path for searching target external link file */
+ char *open_name; /* Name used to open file */
+ char *actual_name; /* Actual name of the file, after resolving symlinks, etc. */
+ char *extpath; /* Path for searching target external link file */
H5F_shared_t *shared; /* The shared file info */
unsigned nopen_objs; /* Number of open object headers */
- H5FO_t * obj_count; /* # of time each object is opened through top file structure */
+ H5FO_t *obj_count; /* # of time each object is opened through top file structure */
hid_t file_id; /* ID of this file */
hbool_t closing; /* File is in the process of being closed */
struct H5F_t *parent; /* Parent file that this file is mounted to */
@@ -399,7 +399,7 @@ H5_DLLVAR htri_t use_locks_env_g;
/******************************/
/* General routines */
-H5_DLL H5F_t * H5F__new(H5F_shared_t *shared, unsigned flags, hid_t fcpl_id, hid_t fapl_id, H5FD_t *lf);
+H5_DLL H5F_t *H5F__new(H5F_shared_t *shared, unsigned flags, hid_t fcpl_id, hid_t fapl_id, H5FD_t *lf);
H5_DLL herr_t H5F__dest(H5F_t *f, hbool_t flush);
H5_DLL herr_t H5F__flush(H5F_t *f);
H5_DLL htri_t H5F__is_hdf5(const char *name);
@@ -441,13 +441,13 @@ H5_DLL herr_t H5F__accum_flush(H5F_shared_t *f_sh);
H5_DLL herr_t H5F__accum_reset(H5F_shared_t *f_sh, hbool_t flush);
/* Shared file list related routines */
-H5_DLL herr_t H5F__sfile_add(H5F_shared_t *shared);
+H5_DLL herr_t H5F__sfile_add(H5F_shared_t *shared);
H5_DLL H5F_shared_t *H5F__sfile_search(H5FD_t *lf);
H5_DLL herr_t H5F__sfile_remove(H5F_shared_t *shared);
/* External file cache routines */
H5_DLL H5F_efc_t *H5F__efc_create(unsigned max_nfiles);
-H5_DLL H5F_t * H5F__efc_open(H5F_t *parent, const char *name, unsigned flags, hid_t fcpl_id, hid_t fapl_id);
+H5_DLL H5F_t *H5F__efc_open(H5F_t *parent, const char *name, unsigned flags, hid_t fcpl_id, hid_t fapl_id);
H5_DLL unsigned H5F__efc_max_nfiles(H5F_efc_t *efc);
H5_DLL herr_t H5F__efc_release(H5F_efc_t *efc);
H5_DLL herr_t H5F__efc_destroy(H5F_efc_t *efc);