server: improve pidfile and log handling
[fio.git] / server.h
index 9f7eeaecc1340f3adc5fe9e90711eff59c714c34..ea888af46c4bcf7e19947088cd2ee02db7cf5d7a 100644 (file)
--- a/server.h
+++ b/server.h
@@ -75,8 +75,8 @@ struct cmd_line_pdu {
        struct cmd_single_line_pdu options[0];
 };
 
-extern int fio_start_server(int);
-extern int fio_server_text_output(const char *, unsigned int len);
+extern int fio_start_server(char *);
+extern int fio_server_text_output(const char *, size_t);
 extern int fio_server_log(const char *format, ...);
 extern int fio_net_send_cmd(int, uint16_t, const void *, off_t, uint64_t);
 extern int fio_net_send_simple_cmd(int sk, uint16_t opcode, uint64_t tag);