58 } Progress; |
58 } Progress; |
59 |
59 |
60 typedef int(*getfunc)(Repository *, GetResource *, CmdArgs *, void *); |
60 typedef int(*getfunc)(Repository *, GetResource *, CmdArgs *, void *); |
61 |
61 |
62 void print_usage(char *cmd); |
62 void print_usage(char *cmd); |
63 int request_auth(Repository *repo, DavSession *sn, CmdArgs *args); |
|
64 |
63 |
65 int update_progress(DavResource *res, int64_t total, int64_t now, Progress *p); |
64 int update_progress(DavResource *res, int64_t total, int64_t now, Progress *p); |
66 void download_progress(DavResource *res, int64_t total, int64_t now, void *data); |
65 void download_progress(DavResource *res, int64_t total, int64_t now, void *data); |
67 |
66 |
68 int cmd_list(CmdArgs *args); |
67 int cmd_list(CmdArgs *args); |