X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=client.h;h=213987ca4511df538ca383082ed6e0b33eea34eb;hp=e7a1d83fb47af7b2893b47054be73e8d596e1db7;hb=b01329d04d9533d399f2477348662dbef20ca8ba;hpb=a52766160d7f2a937c74d4adee1819ef00467d4b diff --git a/client.h b/client.h index e7a1d83f..213987ca 100644 --- a/client.h +++ b/client.h @@ -23,6 +23,7 @@ struct fio_client { char *hostname; int port; int fd; + unsigned int refs; char *name; @@ -50,8 +51,8 @@ struct fio_client { typedef void (*client_text_op_func)(struct fio_client *client, struct fio_net_cmd *cmd); typedef void (*client_disk_util_op_func)(struct fio_client *client, struct fio_net_cmd *cmd); -typedef void (*client_thread_status_op)(struct fio_net_cmd *cmd); -typedef void (*client_group_stats_op)(struct fio_net_cmd *cmd); +typedef void (*client_thread_status_op)(struct fio_client *client, struct fio_net_cmd *cmd); +typedef void (*client_group_stats_op)(struct fio_client *client, struct fio_net_cmd *cmd); typedef void (*client_eta_op)(struct jobs_eta *je); typedef void (*client_probe_op)(struct fio_client *client, struct fio_net_cmd *cmd); typedef void (*client_thread_status_display_op)(char *status_message, double perc);