graph: move graphs a bit to the left, now we don't use Y axis labels
[fio.git] / client.h
index caeb432a1bc4fb9bf4f95311e1f505afdcea2921..ea7ea6f17bf03579dfe1b35272b458d91aa3f7dd 100644 (file)
--- a/client.h
+++ b/client.h
@@ -70,6 +70,8 @@ typedef void (*client_quit_op)(struct fio_client *);
 typedef void (*client_add_job_op)(struct fio_client *, struct fio_net_cmd *);
 typedef void (*client_timed_out)(struct fio_client *);
 typedef void (*client_stop_op)(struct fio_client *, struct fio_net_cmd *);
+typedef void (*client_start_op)(struct fio_client *, struct fio_net_cmd *);
+typedef void (*client_job_start_op)(struct fio_client *, struct fio_net_cmd *);
 
 struct client_ops {
        client_text_op_func text_op;
@@ -83,6 +85,9 @@ struct client_ops {
        client_add_job_op add_job;
        client_timed_out timed_out;
        client_stop_op stop;
+       client_start_op start;
+       client_job_start_op job_start;
+       unsigned int eta_msec;
        int stay_connected;
 };
 
@@ -118,5 +123,7 @@ extern void fio_clients_terminate(void);
 extern struct fio_client *fio_get_client(struct fio_client *);
 extern void fio_put_client(struct fio_client *);
 
+#define FIO_CLIENT_DEF_ETA_MSEC                900
+
 #endif