diff -r f501f0efc9a8 -r 7ee944cf53de application/davcontroller.h --- a/application/davcontroller.h Wed Nov 27 13:27:30 2024 +0100 +++ b/application/davcontroller.h Wed Nov 27 14:06:56 2024 +0100 @@ -51,6 +51,9 @@ size_t current_file_size; size_t current_file_transferred; + + time_t speedtest_start; + size_t speedtest_bytes; } TransferProgress; DavBrowser* davbrowser_create(UiObject *toplevel); @@ -96,6 +99,8 @@ void dav_resourceviewer_destroy(DavResourceViewer *res); +uint64_t dav_transfer_speed(TransferProgress *progress, time_t current); + #ifdef __cplusplus } #endif