X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/4942ee7d61bf22ba38bf026c7d05028cb7db0d54..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;