From fa900b4658b21294682760bdf84071cbb2b79aa4 Mon Sep 17 00:00:00 2001 From: Stephan Schwaer Date: Mon, 4 May 2015 17:23:42 +0200 Subject: Removed dnbd3_printClients, added clients to statistics json in rpc. --- src/server/uplink.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/server/uplink.h') diff --git a/src/server/uplink.h b/src/server/uplink.h index 3513022..c0a68de 100644 --- a/src/server/uplink.h +++ b/src/server/uplink.h @@ -6,6 +6,10 @@ void uplink_globalsInit(); +uint64_t uplink_getTotalBytesReceived(); + +void uplink_addTotalBytesReceived(int receivedBytes); + bool uplink_init(dnbd3_image_t *image, int sock, dnbd3_host_t *host); void uplink_removeClient(dnbd3_connection_t *uplink, dnbd3_client_t *client); -- cgit v1.2.3-55-g7522