summaryrefslogtreecommitdiff
path: root/client.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2012-03-08 10:51:36 +0100
committerJens Axboe <axboe@kernel.dk>2012-03-08 10:51:36 +0100
commit6b79c80c14766df7b0507c4ec679507a315ad61a (patch)
treed00d7e23d7f7b0623d6f059c4dba15b139c4cac4 /client.h
parentb01329d04d9533d399f2477348662dbef20ca8ba (diff)
downloadfio-6b79c80c14766df7b0507c4ec679507a315ad61a.tar.gz
fio-6b79c80c14766df7b0507c4ec679507a315ad61a.tar.bz2
gfio: improve stop handling
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'client.h')
-rw-r--r--client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/client.h b/client.h
index 213987ca..eccac922 100644
--- a/client.h
+++ b/client.h
@@ -59,6 +59,7 @@ typedef void (*client_thread_status_display_op)(char *status_message, double per
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 *);
struct client_ops {
client_text_op_func text_op;
@@ -70,6 +71,7 @@ struct client_ops {
client_quit_op quit;
client_add_job_op add_job;
client_timed_out timed_out;
+ client_stop_op stop;
int stay_connected;
};