X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=server.h;h=4783238ba7e77c1b77e668bd60385948224db1bc;hp=61b61f35d4df1f9b4153ac6bb53829916206d7d8;hb=c28e8e8c68f7e908085f4585299e6e4d74d01837;hpb=cdf54d85054858d9e3fc4d7ee8ea5c6a418f1b43;ds=sidebyside diff --git a/server.h b/server.h index 61b61f35..4783238b 100644 --- a/server.h +++ b/server.h @@ -34,12 +34,11 @@ enum { FIO_NET_CMD_QUIT = 1, FIO_NET_CMD_EXIT = 2, FIO_NET_CMD_JOB = 3, - FIO_NET_CMD_ACK = 4, - FIO_NET_CMD_NAK = 5, - FIO_NET_CMD_TEXT = 6, - FIO_NET_CMD_TS = 7, - FIO_NET_CMD_GS = 8, - FIO_NET_CMD_ETA = 9, + FIO_NET_CMD_TEXT = 4, + FIO_NET_CMD_TS = 5, + FIO_NET_CMD_GS = 6, + FIO_NET_CMD_ETA = 7, + FIO_NET_CMD_PROBE = 8, FIO_NET_CMD_F_MORE = 1UL << 0, @@ -53,6 +52,13 @@ struct cmd_ts_pdu { struct group_run_stats rs; }; +struct cmd_probe_pdu { + uint8_t hostname[64]; + uint8_t fio_major; + uint8_t fio_minor; + uint8_t fio_patch; +}; + extern int fio_start_server(int); extern int fio_server_text_output(const char *, unsigned int len); extern int fio_server_log(const char *format, ...);