39 extern "C" { |
39 extern "C" { |
40 #endif |
40 #endif |
41 |
41 |
42 #define DAVBROWSER_MAX_NAVLIST 128 |
42 #define DAVBROWSER_MAX_NAVLIST 128 |
43 |
43 |
|
44 typedef struct TransferProgress { |
|
45 size_t total_bytes; |
|
46 size_t total_files; |
|
47 size_t total_directories; |
|
48 size_t transferred_bytes; |
|
49 size_t transferred_files; |
|
50 size_t transferred_directories; |
44 |
51 |
|
52 size_t current_file_size; |
|
53 size_t current_file_transferred; |
|
54 } TransferProgress; |
45 |
55 |
46 DavBrowser* davbrowser_create(UiObject *toplevel); |
56 DavBrowser* davbrowser_create(UiObject *toplevel); |
47 |
57 |
48 int jobthr_davbrowser_auth(DavSession *sn, void *data); |
58 int jobthr_davbrowser_auth(DavSession *sn, void *data); |
49 void davbrowser_auth_set_user_pwd(SessionAuthData *auth, const char *user, const char *password); |
59 void davbrowser_auth_set_user_pwd(SessionAuthData *auth, const char *user, const char *password); |