summaryrefslogtreecommitdiff
path: root/client.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2017-06-22 14:10:23 -0600
committerJens Axboe <axboe@kernel.dk>2017-06-22 14:12:39 -0600
commit67d2a9b8f987a0500c3b315602d6f248296d80e7 (patch)
tree33ea8f0ee5013d2c87026829dd2b26dae1b18cd7 /client.h
parent24575392bff8bdb9ec7709a78b4fbd48367fc1f5 (diff)
downloadfio-67d2a9b8f987a0500c3b315602d6f248296d80e7.tar.gz
fio-67d2a9b8f987a0500c3b315602d6f248296d80e7.tar.bz2
client/server: bool conversion
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'client.h')
-rw-r--r--client.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/client.h b/client.h
index fc9c1969..394b685d 100644
--- a/client.h
+++ b/client.h
@@ -6,6 +6,7 @@
#include <netinet/in.h>
#include <arpa/inet.h>
+#include "lib/types.h"
#include "stat.h"
struct fio_net_cmd;
@@ -45,16 +46,16 @@ struct fio_client {
int state;
- int skip_newline;
- int is_sock;
- int disk_stats_shown;
+ bool skip_newline;
+ bool is_sock;
+ bool disk_stats_shown;
unsigned int jobs;
unsigned int nr_stat;
int error;
int signal;
int ipv6;
- int sent_job;
- int did_stat;
+ bool sent_job;
+ bool did_stat;
uint32_t type;
uint32_t thread_number;