Skip to content

Commit

Permalink
PR comments addressed
Browse files Browse the repository at this point in the history
  • Loading branch information
sbera87 committed Feb 5, 2025
1 parent 8636cb4 commit da854eb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions include/aws/crt/dns.h → include/aws/crt/DnsUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ namespace Aws
{
namespace Crt
{
namespace dns
namespace DnsUtils
{
AWS_CRT_CPP_API bool IsValidIpV6(const char *host, bool is_uri_encoded);
} // namespace dns
} // namespace DnsUtils
} // namespace Crt
} // namespace Aws

8 changes: 4 additions & 4 deletions source/dns.cpp → source/DnsUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@

#include <aws/common/host_utils.h>
#include <aws/crt/Types.h>
#include <aws/crt/dns.h>
#include <aws/crt/DnsUtils.h>

namespace Aws
{
namespace Crt
{
namespace dns
namespace DnsUtils
{

bool IsValidIpV6(const char *host, bool is_uri_encoded)
{
return aws_host_utils_is_ipv6(Aws::Crt::ByteCursorFromCString(host), is_uri_encoded);
}

} // namespace dns
} // namespace DnsUtils
} // namespace Crt
} // namespace Aws
} // namespace Aws

0 comments on commit da854eb

Please sign in to comment.