X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/8488cf7d03366ea9d65c9628802f1c56ec208c3a..02d50cbd5926b4ef1f88c6f9ca28486fa45508c0:/lib/configuration.h diff --git a/lib/configuration.h b/lib/configuration.h index 22e107d..6e3a9a9 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; @@ -251,6 +251,9 @@ struct config { /** @brief RTP delay threshold */ long rtp_delay_threshold; + + /** @brief Verbose RTP transmission logging */ + int rtp_verbose; /** @brief TTL for multicast packets */ long multicast_ttl; @@ -328,6 +331,8 @@ char *config_private(void); int config_verify(void); +void config_free(struct config *c); + extern char *configfile; extern int config_per_user;