37 |
37 |
38 #ifdef __cplusplus |
38 #ifdef __cplusplus |
39 extern "C" { |
39 extern "C" { |
40 #endif |
40 #endif |
41 |
41 |
|
42 typedef struct { |
|
43 DavResource *res; |
|
44 char *path; |
|
45 } GetResource; |
|
46 |
42 void print_usage(char *cmd); |
47 void print_usage(char *cmd); |
43 char* password_input(char *prompt); |
48 char* password_input(char *prompt); |
44 int request_auth(Repository *repo, DavSession *sn, CmdArgs *args); |
49 int request_auth(Repository *repo, DavSession *sn, CmdArgs *args); |
45 |
50 |
46 int cmd_list(CmdArgs *args); |
51 int cmd_list(CmdArgs *args); |