9 #define GEOIPV4 "/usr/share/GeoIP/GeoIP.dat" 10 #define GEOIPV6 "/usr/share/GeoIP/GeoIPv6.dat" 15 void checkStreamLimits(std::string streamName,
long long currentKbps,
long long connectedUsers);
17 bool isBlacklisted(std::string host, std::string streamName,
int timeConnected);
19 bool onList(std::string ip, std::string list);
Holds everything unique to the controller.
Definition: controller_api.h:4
std::string hostLookup(std::string ip)
Definition: controller_limits.cpp:190
void checkStreamLimits(std::string streamName, long long currentKbps, long long connectedUsers)
Definition: controller_limits.cpp:11
std::string getCountry(std::string ip)
Definition: controller_limits.cpp:376
void checkServerLimits()
Definition: controller_limits.cpp:73
bool isBlacklisted(std::string host, std::string streamName, int timeConnected)
Definition: controller_limits.cpp:208
bool onList(std::string ip, std::string list)
Definition: controller_limits.cpp:145