summaryrefslogtreecommitdiff
path: root/client.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2012-03-12 14:33:16 +0100
committerJens Axboe <axboe@kernel.dk>2012-03-12 14:33:16 +0100
commit85dd01e7d7fa9989bf55002bc416c4d8118fdf5f (patch)
tree21e608687352989c68cd12f9a57e451bf520cb06 /client.h
parent02421e6997342004577a773c36ab11da989d24bd (diff)
downloadfio-85dd01e7d7fa9989bf55002bc416c4d8118fdf5f.tar.gz
fio-85dd01e7d7fa9989bf55002bc416c4d8118fdf5f.tar.bz2
gfio: improve Job menu
Still need to figure out how to make certain items in the job menu sensitive/insensitive, apparently I can't lookup the item widgets (only the menu widget). Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'client.h')
-rw-r--r--client.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/client.h b/client.h
index 9668afa8..ea7ea6f1 100644
--- 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,8 @@ 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;
};