Various GUI updates
- Add File menu, move job file to File -> Open
- Kill Quit button, move to File -> Quit
- Move client setup and load closer to what we want
- Use c99 style for client ops
Various little changes.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/client.c b/client.c
index e109b93..3c67785 100644
--- a/client.c
+++ b/client.c
@@ -84,13 +84,13 @@
static void handle_probe(struct fio_client *client, struct fio_net_cmd *cmd);
struct client_ops fio_client_ops = {
- fio_client_text_op,
- handle_du,
- handle_ts,
- handle_gs,
- handle_eta,
- handle_probe,
- NULL, /* status display, if NULL, printf is used */
+ .text_op = fio_client_text_op,
+ .disk_util = handle_du,
+ .thread_status = handle_ts,
+ .group_stats = handle_gs,
+ .eta = handle_eta,
+ .probe = handle_probe,
+ /* status display, if NULL, printf is used */
};
static struct timeval eta_tv;