Permission: add option "host_permissions"

Closes https://github.com/MusicPlayerDaemon/MPD/issues/1115
This commit is contained in:
Max Kellermann
2021-10-14 14:25:20 +02:00
parent a636d2127a
commit 77d74b404e
9 changed files with 99 additions and 5 deletions

View File

@@ -42,4 +42,12 @@ class SocketAddress;
std::string
ToString(SocketAddress address) noexcept;
/**
* Generates the string representation of a #SocketAddress into the
* specified buffer, without the port number.
*/
[[gnu::pure]]
std::string
HostToString(SocketAddress address) noexcept;
#endif