mirror of
https://github.com/XRPLF/rippled.git
synced 2026-02-09 16:32:36 +00:00
This change replaces all include guards in the `src/` and `include/` directories by `#pragma once`.
22 lines
445 B
C++
22 lines
445 B
C++
#pragma once
|
|
|
|
#include <xrpl/beast/utility/instrumentation.h>
|
|
|
|
#include <boost/asio/ip/address_v6.hpp>
|
|
|
|
namespace beast {
|
|
namespace IP {
|
|
|
|
using AddressV6 = boost::asio::ip::address_v6;
|
|
|
|
/** Returns `true` if the address is a private unroutable address. */
|
|
bool
|
|
is_private(AddressV6 const& addr);
|
|
|
|
/** Returns `true` if the address is a public routable address. */
|
|
bool
|
|
is_public(AddressV6 const& addr);
|
|
|
|
} // namespace IP
|
|
} // namespace beast
|