#include namespace Controller{ extern uint64_t exitDelay; const JSON::Value &getLicense(); void initLicense(); bool isLicensed(); // checks/verifies license time bool checkLicense(); // Call from Mainloop. void updateLicense(const std::string &extra = ""); // retrieves update from license server void licenseLoop(void *np); void readLicense(uint64_t licId, const std::string &input, bool fromServer = false); // checks/interprets license }// namespace Controller