--- a/dav/config.h Thu Sep 06 12:51:37 2018 +0200 +++ b/dav/config.h Sat Sep 15 11:56:36 2018 +0200 @@ -32,6 +32,7 @@ #include <ucx/string.h> #include <stdbool.h> #include <libidav/webdav.h> +#include "pwd.h" #ifdef __cplusplus extern "C" { @@ -56,6 +57,7 @@ char *url; char *user; char *password; + char *stored_user; char *default_key; char *cert; bool verification; @@ -91,6 +93,9 @@ int list_repositories(void); UcxList* get_repositories(void); +PwdStore* get_pwdstore(void); +int pwdstore_save(PwdStore *pwdstore); + #ifdef __cplusplus } #endif