gfio: update for handling files, connections, states
Big update, changes:
- Notify from client helpers when a client is removed. This helps
gfio track this.
- Make the connection states more bullet proof. You can now connect
and disconnect, and expect connect to work again.
- Limit number of files opened through file selection or drag'n drop
to just 1.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/gfio.h b/gfio.h
index d115f7c..dc810a6 100644
--- a/gfio.h
+++ b/gfio.h
@@ -118,8 +118,11 @@
struct graph *lat_bucket_graph;
struct gfio_client *client;
- int nr_job_files;
- char **job_files;
+ char *job_file;
+ char *host;
+ int port;
+ int type;
+ int server_start;
};
struct end_results {