X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/012aaa91b77cc74ee7bc4f56d1aaefc99eae5d81..47854c5fdbdebaf707de438f0fa86c4cb99d2268:/lib/configuration.h diff --git a/lib/configuration.h b/lib/configuration.h index 9170a2f..f1794aa 100644 --- a/lib/configuration.h +++ b/lib/configuration.h @@ -195,10 +195,10 @@ struct config { const char *home; /** @brief Login username */ - const char *username; + char *username; /** @brief Login password */ - const char *password; + char *password; /** @brief Address to connect to */ struct netaddress connect; @@ -320,6 +320,8 @@ char *config_usersysconf(const struct passwd *pw ); char *config_private(void); /* get the private config file */ +void config_free(struct config *c); + extern char *configfile; extern int config_per_user;