genfio: Splitting gen_template in 2 parts
[fio.git] / client.h
index acb5a88f59b415920a44200a740af2bc720065ca..c8ff23ecdd68a8b26142b35d961619f9e18633ff 100644 (file)
--- a/client.h
+++ b/client.h
@@ -42,10 +42,12 @@ struct fio_client {
        int is_sock;
        int disk_stats_shown;
        unsigned int jobs;
+       unsigned int nr_stat;
        int error;
        int signal;
        int ipv6;
        int sent_job;
+       int did_stat;
        uint32_t type;
 
        uint32_t thread_number;
@@ -61,6 +63,9 @@ struct fio_client {
 
        struct client_ops *ops;
        void *client_data;
+
+       char **ini_file;
+       unsigned int nr_ini_file;
 };
 
 struct cmd_iolog_pdu;
@@ -96,8 +101,8 @@ struct client_ops {
 extern struct client_ops fio_client_ops;
 
 struct client_eta {
-       struct jobs_eta eta;
        unsigned int pending;
+       struct jobs_eta eta;
 };
 
 extern int fio_handle_client(struct fio_client *);
@@ -120,6 +125,7 @@ extern int fio_handle_clients(struct client_ops *);
 extern int fio_client_add(struct client_ops *, const char *, void **);
 extern struct fio_client *fio_client_add_explicit(struct client_ops *, const char *, int, int);
 extern void fio_client_add_cmd_option(void *, const char *);
+extern void fio_client_add_ini_file(void *, const char *);
 extern int fio_client_terminate(struct fio_client *);
 extern void fio_clients_terminate(void);
 extern struct fio_client *fio_get_client(struct fio_client *);