Convert net commands in the generic command handler
[fio.git] / client.h
index de6c19711d9516b60d948c0d371d24be7d4ff2b1..532a33a44c7f7ceab83edf8cafc8e30d47f53fbf 100644 (file)
--- a/client.h
+++ b/client.h
@@ -46,8 +46,7 @@ struct fio_client {
        void *client_data;
 };
 
-typedef void (*client_text_op_func)(struct fio_client *client,
-               FILE *f, __u16 pdu_len, const char *buf);
+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);
@@ -81,7 +80,6 @@ struct client_eta {
 extern int fio_handle_client(struct fio_client *, struct client_ops *ops);
 extern void fio_client_dec_jobs_eta(struct client_eta *eta, void (*fn)(struct jobs_eta *));
 extern void fio_client_sum_jobs_eta(struct jobs_eta *dst, struct jobs_eta *je);
-extern void fio_client_convert_jobs_eta(struct jobs_eta *je);
 
 enum {
        Fio_client_ipv4 = 1,