diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-09-30 14:27:10 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-09-30 14:27:10 (GMT) |
commit | b2d661b508a7fc7a2592c13bc6bdc175551f075d (patch) | |
tree | 13baeb0d83a7c2a4c6299993c182b1227c2f6114 /utils/mirror_vfd/mirror_remote.h | |
parent | 29ab58b58dce556639ea3154e262895773a8a8df (diff) | |
download | hdf5-b2d661b508a7fc7a2592c13bc6bdc175551f075d.zip hdf5-b2d661b508a7fc7a2592c13bc6bdc175551f075d.tar.gz hdf5-b2d661b508a7fc7a2592c13bc6bdc175551f075d.tar.bz2 |
Clang-format of source files
Diffstat (limited to 'utils/mirror_vfd/mirror_remote.h')
-rw-r--r-- | utils/mirror_vfd/mirror_remote.h | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/utils/mirror_vfd/mirror_remote.h b/utils/mirror_vfd/mirror_remote.h index 67e95a5..6256d1b 100644 --- a/utils/mirror_vfd/mirror_remote.h +++ b/utils/mirror_vfd/mirror_remote.h @@ -20,7 +20,7 @@ #ifdef H5_HAVE_MIRROR_VFD -#include "H5FDmirror_priv.h" /* Private header for the mirror VFD */ +#include "H5FDmirror_priv.h" /* Private header for the mirror VFD */ #define V_NONE 0 #define V_ERR 1 @@ -28,26 +28,23 @@ #define V_INFO 3 #define V_ALL 4 -#define MIRROR_LOG_DEFAULT_STREAM stdout +#define MIRROR_LOG_DEFAULT_STREAM stdout #define MIRROR_LOG_DEFAULT_VERBOSITY V_WARN -#define MIRROR_LOG_PREFIX_MAX 79 -#define MIRROR_LOG_INFO_MAGIC 0x569D589A +#define MIRROR_LOG_PREFIX_MAX 79 +#define MIRROR_LOG_INFO_MAGIC 0x569D589A typedef struct mirror_log_info { - uint32_t magic; - FILE *stream; + uint32_t magic; + FILE * stream; unsigned int verbosity; - char prefix[MIRROR_LOG_PREFIX_MAX+1]; + char prefix[MIRROR_LOG_PREFIX_MAX + 1]; } loginfo_t; -void mirror_log(loginfo_t *info, unsigned int level, - const char *format, ...); -void mirror_log_bytes(loginfo_t *info, unsigned int level, - size_t n_bytes, const unsigned char *buf); +void mirror_log(loginfo_t *info, unsigned int level, const char *format, ...); +void mirror_log_bytes(loginfo_t *info, unsigned int level, size_t n_bytes, const unsigned char *buf); loginfo_t *mirror_log_init(char *path, char *prefix, unsigned int verbosity); -int mirror_log_term(loginfo_t *loginfo); +int mirror_log_term(loginfo_t *loginfo); herr_t run_writer(int socketfd, H5FD_mirror_xmit_open_t *xmit_open); #endif /* H5_HAVE_MIRROR_VFD */ - |