client/server: bool conversion
[fio.git] / client.h
index fc9c19693a9ff0c60bfcee6429755344b72cdfdf..394b685df70f608a9a7bb3535c2a4a92239684f5 100644 (file)
--- 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;