X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=client.h;h=90082a3491db54e2bcaec30b18182231fb1d83d5;hp=fc9c19693a9ff0c60bfcee6429755344b72cdfdf;hb=84a41a376bbe34f1c22f4be9411f2150c01a99b5;hpb=7903bf87725b18495a06f7199342f167147712eb diff --git a/client.h b/client.h index fc9c1969..90082a34 100644 --- a/client.h +++ b/client.h @@ -6,6 +6,7 @@ #include #include +#include "lib/types.h" #include "stat.h" struct fio_net_cmd; @@ -38,6 +39,7 @@ struct fio_client { int port; int fd; unsigned int refs; + unsigned int last_cmd; char *name; @@ -45,16 +47,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;