application/davcontroller.h

changeset 91
7ee944cf53de
parent 89
2fbb3cac05a5
child 97
5a3d27b8e6b0
equal deleted inserted replaced
90:f501f0efc9a8 91:7ee944cf53de
49 size_t transferred_files; 49 size_t transferred_files;
50 size_t transferred_directories; 50 size_t transferred_directories;
51 51
52 size_t current_file_size; 52 size_t current_file_size;
53 size_t current_file_transferred; 53 size_t current_file_transferred;
54
55 time_t speedtest_start;
56 size_t speedtest_bytes;
54 } TransferProgress; 57 } TransferProgress;
55 58
56 DavBrowser* davbrowser_create(UiObject *toplevel); 59 DavBrowser* davbrowser_create(UiObject *toplevel);
57 60
58 int jobthr_davbrowser_auth(DavSession *sn, void *data); 61 int jobthr_davbrowser_auth(DavSession *sn, void *data);
94 97
95 void dav_resourceviewer_save(UiObject *ui, DavResourceViewer *res); 98 void dav_resourceviewer_save(UiObject *ui, DavResourceViewer *res);
96 99
97 void dav_resourceviewer_destroy(DavResourceViewer *res); 100 void dav_resourceviewer_destroy(DavResourceViewer *res);
98 101
102 uint64_t dav_transfer_speed(TransferProgress *progress, time_t current);
103
99 #ifdef __cplusplus 104 #ifdef __cplusplus
100 } 105 }
101 #endif 106 #endif
102 107
103 #endif /* IDAV_DAV_CONTROLLER_H */ 108 #endif /* IDAV_DAV_CONTROLLER_H */

mercurial