5 #ifndef BITCOIN_NET_PERMISSIONS_H 6 #define BITCOIN_NET_PERMISSIONS_H 39 return (flags & f) == f;
64 #endif // BITCOIN_NET_PERMISSIONS_H
static void AddFlag(NetPermissionFlags &flags, NetPermissionFlags f)
static void ClearFlag(NetPermissionFlags &flags, NetPermissionFlags f)
A combination of a network address (CNetAddr) and a (TCP) port.
static bool HasFlag(const NetPermissionFlags &flags, NetPermissionFlags f)
NetPermissionFlags m_flags
bool error(const char *fmt, const Args &... args)
static std::vector< std::string > ToStrings(NetPermissionFlags flags)