10 #ifndef BITCOIN_NET_PERMISSIONS_H
11 #define BITCOIN_NET_PERMISSIONS_H
48 return (
flags & f) == f;
A combination of a network address (CNetAddr) and a (TCP) port.
NetPermissionFlags m_flags
static void AddFlag(NetPermissionFlags &flags, NetPermissionFlags f)
static bool HasFlag(const NetPermissionFlags &flags, NetPermissionFlags f)
static void ClearFlag(NetPermissionFlags &flags, NetPermissionFlags f)
static std::vector< std::string > ToStrings(NetPermissionFlags flags)
static bool TryParse(const std::string str, NetWhitebindPermissions &output, bilingual_str &error)
static bool TryParse(const std::string str, NetWhitelistPermissions &output, bilingual_str &error)
const std::vector< std::string > NET_PERMISSIONS_DOC
bool error(const char *fmt, const Args &... args)