10 #ifndef BITCOIN_NET_PERMISSIONS_H 11 #define BITCOIN_NET_PERMISSIONS_H 48 return (flags & f) == f;
74 #endif // BITCOIN_NET_PERMISSIONS_H
static void AddFlag(NetPermissionFlags &flags, NetPermissionFlags f)
static void ClearFlag(NetPermissionFlags &flags, NetPermissionFlags f)
const std::vector< std::string > NET_PERMISSIONS_DOC
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)