X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/d0b4f0acd54eeebcde98a1b4476b232dbece6048..a2a528f2015531bd9e4b49e0eb0f1f54568ff299:/lib/configuration.h diff --git a/lib/configuration.h b/lib/configuration.h index 9a85e5d..4cb5677 100644 --- a/lib/configuration.h +++ b/lib/configuration.h @@ -26,6 +26,7 @@ #include "speaker-protocol.h" #include "rights.h" +#include "addr.h" struct uaudio; @@ -154,7 +155,7 @@ struct config { long prefsync; /* preflog sync interval */ /** @brief Secondary listen address */ - struct stringlist listen; + struct netaddress listen; /** @brief Alias format string */ const char *alias; @@ -193,7 +194,7 @@ struct config { const char *password; /** @brief Address to connect to */ - struct stringlist connect; + struct netaddress connect; /** @brief Directories to search for web templates */ struct stringlist templates; @@ -233,10 +234,10 @@ struct config { struct transformlist transform; /* path name transformations */ /** @brief Address to send audio data to */ - struct stringlist broadcast; + struct netaddress broadcast; /** @brief Source address for network audio transmission */ - struct stringlist broadcast_from; + struct netaddress broadcast_from; /** @brief RTP delay threshold */ long rtp_delay_threshold;