summaryrefslogtreecommitdiffstats
path: root/src/H5VLconnector.h
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-07-26 21:45:46 (GMT)
committerGitHub <noreply@github.com>2022-07-26 21:45:46 (GMT)
commitae414872f50187e64cbd6cc8f076c22cf5df2d53 (patch)
treeb616f33f5daa89f213e7c64e04c63afde906e939 /src/H5VLconnector.h
parent213eac2588369f75a11df6bb1788dde33c4b82e2 (diff)
downloadhdf5-ae414872f50187e64cbd6cc8f076c22cf5df2d53.zip
hdf5-ae414872f50187e64cbd6cc8f076c22cf5df2d53.tar.gz
hdf5-ae414872f50187e64cbd6cc8f076c22cf5df2d53.tar.bz2
Develop clang 13 format (#1933)
* Update format source to clang 13 * More format changes
Diffstat (limited to 'src/H5VLconnector.h')
-rw-r--r--src/H5VLconnector.h56
1 files changed, 28 insertions, 28 deletions
diff --git a/src/H5VLconnector.h b/src/H5VLconnector.h
index af3530c..e017a92 100644
--- a/src/H5VLconnector.h
+++ b/src/H5VLconnector.h
@@ -66,7 +66,7 @@ typedef struct H5VL_loc_by_name {
} H5VL_loc_by_name_t;
typedef struct H5VL_loc_by_idx {
- const char * name;
+ const char *name;
H5_index_t idx_type;
H5_iter_order_t order;
hsize_t n;
@@ -116,15 +116,15 @@ typedef enum H5VL_attr_get_t {
typedef struct H5VL_attr_get_name_args_t {
H5VL_loc_params_t loc_params; /* Location parameters for object access */
size_t buf_size; /* Size of attribute name buffer */
- char * buf; /* Buffer for attribute name (OUT) */
- size_t * attr_name_len; /* Actual length of attribute name (OUT) */
+ char *buf; /* Buffer for attribute name (OUT) */
+ size_t *attr_name_len; /* Actual length of attribute name (OUT) */
} H5VL_attr_get_name_args_t;
/* Parameters for attribute 'get_info' operation */
typedef struct H5VL_attr_get_info_args_t {
H5VL_loc_params_t loc_params; /* Location parameters for object access */
- const char * attr_name; /* Attribute name (for get_info_by_name) */
- H5A_info_t * ainfo; /* Attribute info (OUT) */
+ const char *attr_name; /* Attribute name (for get_info_by_name) */
+ H5A_info_t *ainfo; /* Attribute info (OUT) */
} H5VL_attr_get_info_args_t;
/* Parameters for attribute 'get' operations */
@@ -174,9 +174,9 @@ typedef enum H5VL_attr_specific_t {
typedef struct H5VL_attr_iterate_args_t {
H5_index_t idx_type; /* Type of index to iterate over */
H5_iter_order_t order; /* Order of index iteration */
- hsize_t * idx; /* Start/stop iteration index (IN/OUT) */
+ hsize_t *idx; /* Start/stop iteration index (IN/OUT) */
H5A_operator2_t op; /* Iteration callback function */
- void * op_data; /* Iteration callback context */
+ void *op_data; /* Iteration callback context */
} H5VL_attr_iterate_args_t;
/* Parameters for attribute 'delete_by_idx' operation */
@@ -203,7 +203,7 @@ typedef struct H5VL_attr_specific_args_t {
/* H5VL_ATTR_EXISTS */
struct {
const char *name; /* Name of attribute to check */
- hbool_t * exists; /* Whether attribute exists (OUT) */
+ hbool_t *exists; /* Whether attribute exists (OUT) */
} exists;
/* H5VL_ATTR_ITER */
@@ -321,7 +321,7 @@ typedef struct H5VL_datatype_get_args_t {
/* H5VL_DATATYPE_GET_BINARY */
struct {
- void * buf; /* Buffer to store serialized form of datatype (OUT) */
+ void *buf; /* Buffer to store serialized form of datatype (OUT) */
size_t buf_size; /* Size of serialized datatype buffer */
} get_binary;
@@ -385,16 +385,16 @@ typedef enum H5VL_file_get_t {
typedef struct H5VL_file_get_name_args_t {
H5I_type_t type; /* ID type of object pointer */
size_t buf_size; /* Size of file name buffer (IN) */
- char * buf; /* Buffer for file name (OUT) */
- size_t * file_name_len; /* Actual length of file name (OUT) */
+ char *buf; /* Buffer for file name (OUT) */
+ size_t *file_name_len; /* Actual length of file name (OUT) */
} H5VL_file_get_name_args_t;
/* Parameters for file 'get_obj_ids' operation */
typedef struct H5VL_file_get_obj_ids_args_t {
unsigned types; /* Type of objects to count */
size_t max_objs; /* Size of array of object IDs */
- hid_t * oid_list; /* Array of object IDs (OUT) */
- size_t * count; /* # of objects (OUT) */
+ hid_t *oid_list; /* Array of object IDs (OUT) */
+ size_t *count; /* # of objects (OUT) */
} H5VL_file_get_obj_ids_args_t;
/* Parameters for file 'get' operations */
@@ -434,7 +434,7 @@ typedef struct H5VL_file_get_args_t {
/* H5VL_FILE_GET_OBJ_COUNT */
struct {
unsigned types; /* Type of objects to count */
- size_t * count; /* # of objects (OUT) */
+ size_t *count; /* # of objects (OUT) */
} get_obj_count;
/* H5VL_FILE_GET_OBJ_IDS */
@@ -472,7 +472,7 @@ typedef struct H5VL_file_specific_args_t {
struct {
const char *filename; /* Name of file to check */
hid_t fapl_id; /* File access property list to use */
- hbool_t * accessible; /* Whether file is accessible with FAPL settings (OUT) */
+ hbool_t *accessible; /* Whether file is accessible with FAPL settings (OUT) */
} is_accessible;
/* H5VL_FILE_DELETE */
@@ -483,7 +483,7 @@ typedef struct H5VL_file_specific_args_t {
/* H5VL_FILE_IS_EQUAL */
struct {
- void * obj2; /* Second file object to compare against */
+ void *obj2; /* Second file object to compare against */
hbool_t *same_file; /* Whether files are the same (OUT) */
} is_equal;
} args;
@@ -501,7 +501,7 @@ typedef enum H5VL_group_get_t {
/* Parameters for group 'get_info' operation */
typedef struct H5VL_group_get_info_args_t {
H5VL_loc_params_t loc_params; /* Location parameters for object access */
- H5G_info_t * ginfo; /* Group info (OUT) */
+ H5G_info_t *ginfo; /* Group info (OUT) */
} H5VL_group_get_info_args_t;
/* Parameters for group 'get' operations */
@@ -531,7 +531,7 @@ typedef enum H5VL_group_specific_t {
/* Parameters for group 'mount' operation */
typedef struct H5VL_group_spec_mount_args_t {
const char *name; /* Name of location to mount child file */
- void * child_file; /* Pointer to child file object */
+ void *child_file; /* Pointer to child file object */
hid_t fmpl_id; /* File mount property list to use */
} H5VL_group_spec_mount_args_t;
@@ -579,7 +579,7 @@ typedef struct H5VL_link_create_args_t {
union {
/* H5VL_LINK_CREATE_HARD */
struct {
- void * curr_obj; /* Current object */
+ void *curr_obj; /* Current object */
H5VL_loc_params_t curr_loc_params; /* Location parameters for current object */
} hard;
@@ -618,14 +618,14 @@ typedef struct H5VL_link_get_args_t {
/* H5VL_LINK_GET_NAME */
struct {
size_t name_size; /* Size of link name buffer (IN) */
- char * name; /* Buffer for link name (OUT) */
+ char *name; /* Buffer for link name (OUT) */
size_t *name_len; /* Actual length of link name (OUT) */
} get_name;
/* H5VL_LINK_GET_VAL */
struct {
size_t buf_size; /* Size of link value buffer (IN) */
- void * buf; /* Buffer for link value (OUT) */
+ void *buf; /* Buffer for link value (OUT) */
} get_val;
} args;
} H5VL_link_get_args_t;
@@ -642,9 +642,9 @@ typedef struct H5VL_link_iterate_args_t {
hbool_t recursive; /* Whether iteration is recursive */
H5_index_t idx_type; /* Type of index to iterate over */
H5_iter_order_t order; /* Order of index iteration */
- hsize_t * idx_p; /* Start/stop iteration index (OUT) */
+ hsize_t *idx_p; /* Start/stop iteration index (OUT) */
H5L_iterate2_t op; /* Iteration callback function */
- void * op_data; /* Iteration callback context */
+ void *op_data; /* Iteration callback context */
} H5VL_link_iterate_args_t;
/* Parameters for link 'specific' operations */
@@ -692,7 +692,7 @@ typedef struct H5VL_object_get_args_t {
/* H5VL_OBJECT_GET_NAME */
struct {
size_t buf_size; /* Size of name buffer (IN) */
- char * buf; /* Buffer for name (OUT) */
+ char *buf; /* Buffer for name (OUT) */
size_t *name_len; /* Actual length of name (OUT) */
} get_name;
@@ -725,7 +725,7 @@ typedef struct H5VL_object_visit_args_t {
H5_iter_order_t order; /* Order of index iteration */
unsigned fields; /* Flags for fields to provide in 'info' object for 'op' callback */
H5O_iterate2_t op; /* Iteration callback function */
- void * op_data; /* Iteration callback context */
+ void *op_data; /* Iteration callback context */
} H5VL_object_visit_args_t;
/* Parameters for object 'specific' operations */
@@ -847,7 +847,7 @@ typedef struct H5VL_info_class_t {
herr_t (*free)(void *info); /* Callback to release a VOL info */
herr_t (*to_str)(const void *info, char **str); /* Callback to serialize connector's info into a string */
herr_t (*from_str)(const char *str,
- void ** info); /* Callback to deserialize a string into connector's info */
+ void **info); /* Callback to deserialize a string into connector's info */
} H5VL_info_class_t;
/* VOL object wrap / retrieval callbacks */
@@ -856,7 +856,7 @@ typedef struct H5VL_wrap_class_t {
void *(*get_object)(const void *obj); /* Callback to retrieve underlying object */
herr_t (*get_wrap_ctx)(
const void *obj,
- void ** wrap_ctx); /* Callback to retrieve the object wrapping context for the connector */
+ void **wrap_ctx); /* Callback to retrieve the object wrapping context for the connector */
void *(*wrap_object)(void *obj, H5I_type_t obj_type,
void *wrap_ctx); /* Callback to wrap a library object */
void *(*unwrap_object)(void *obj); /* Callback to unwrap a library object */
@@ -1018,7 +1018,7 @@ typedef struct H5VL_class_t {
/* Overall connector fields & callbacks */
unsigned version; /**< VOL connector class struct version # */
H5VL_class_value_t value; /**< Value to identify connector */
- const char * name; /**< Connector name (MUST be unique!) */
+ const char *name; /**< Connector name (MUST be unique!) */
unsigned conn_version; /**< Version # of connector */
unsigned cap_flags; /**< Capability flags for connector */
herr_t (*initialize)(hid_t vipl_id); /**< Connector initialization callback */