X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/66e82ceed9f7c9ba9958176d1828afbb171501c9..cdabf44d4bf72678b402c0fd7dac394eb36513da:/lib/configuration.h?ds=inline diff --git a/lib/configuration.h b/lib/configuration.h index 22e107d..8255db2 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; @@ -328,6 +328,8 @@ char *config_private(void); int config_verify(void); +void config_free(struct config *c); + extern char *configfile; extern int config_per_user;