application/davcontroller.h

changeset 91
7ee944cf53de
parent 89
2fbb3cac05a5
child 97
5a3d27b8e6b0
--- 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

mercurial