summaryrefslogtreecommitdiff
path: root/client.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-06-05 13:33:50 -0600
committerJens Axboe <axboe@kernel.dk>2018-06-05 13:38:09 -0600
commit36ed2f9a93a486109a87b2c0306ab69d4f930891 (patch)
tree579821ec68f8370a5c9f8e09f6e990a73dc71c6b /client.h
parent517c9c729416db413826a034a3cffd7463e4be9c (diff)
downloadfio-36ed2f9a93a486109a87b2c0306ab69d4f930891.tar.gz
fio-36ed2f9a93a486109a87b2c0306ab69d4f930891.tar.bz2
client: remove 'cmd' argument to stop handler
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'client.h')
-rw-r--r--client.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/client.h b/client.h
index 29e84d0d..a597449d 100644
--- a/client.h
+++ b/client.h
@@ -77,6 +77,7 @@ struct fio_client {
};
typedef void (client_cmd_op)(struct fio_client *, struct fio_net_cmd *);
+typedef void (client_op)(struct fio_client *);
typedef void (client_eta_op)(struct jobs_eta *je);
typedef void (client_timed_out_op)(struct fio_client *);
typedef void (client_jobs_eta_op)(struct fio_client *client, struct jobs_eta *je);
@@ -95,7 +96,7 @@ struct client_ops {
client_cmd_op *add_job;
client_cmd_op *update_job;
client_timed_out_op *timed_out;
- client_cmd_op *stop;
+ client_op *stop;
client_cmd_op *start;
client_cmd_op *job_start;
client_timed_out_op *removed;