diff options
Diffstat (limited to 'src/net/StaticSocketAddress.hxx')
-rw-r--r-- | src/net/StaticSocketAddress.hxx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/net/StaticSocketAddress.hxx b/src/net/StaticSocketAddress.hxx index 8b9e8ecde..893828ef9 100644 --- a/src/net/StaticSocketAddress.hxx +++ b/src/net/StaticSocketAddress.hxx @@ -1,5 +1,5 @@ /* - * Copyright (C) 2012-2017 Max Kellermann <max.kellermann@gmail.com> + * Copyright 2012-2019 Max Kellermann <max.kellermann@gmail.com> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -109,6 +109,14 @@ public: address.ss_family = AF_UNSPEC; } +#ifdef HAVE_UN + /** + * @see SocketAddress::GetLocalRaw() + */ + gcc_pure + StringView GetLocalRaw() const noexcept; +#endif + #ifdef HAVE_TCP /** * Extract the port number. Returns 0 if not applicable. |