| | |
| | | #include "limits/license_verifier.hpp" |
| | | #include "base/string_utils.h" |
| | | #include "LicenseReader.hpp" |
| | | |
| | | #include "../test/functional/generate-license.h" |
| | | using namespace license; |
| | | using namespace std; |
| | | |
| | | void print_error(char out_buffer[LCC_API_ERROR_BUFFER_SIZE], LicenseInfo* licenseInfo) {} |
| | |
| | | } |
| | | |
| | | static void mergeLicenses(const vector<LicenseInfo>& licenses, LicenseInfo* license_out) { |
| | | |
| | | if (license_out != nullptr) { |
| | | int days_left = INT_MIN; |
| | | for (auto it = licenses.begin(); it != licenses.end(); it++) { |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | LCC_EVENT_TYPE acquire_license(const CallerInformations* callerInformation, const LicenseLocation* licenseLocation, |
| | | LicenseInfo* license_out) { |
| | | const license::LicenseReader lr = license::LicenseReader(licenseLocation); |
| | |
| | | if (license_out != nullptr) { |
| | | er.exportLastEvents(license_out->status, LCC_API_AUDIT_EVENT_NUM); |
| | | } |
| | | |
| | | return result; |
| | | } |
| | | |
| | | |
| | | |
| | | LCC_EVENT_TYPE confirm_license(char* product, LicenseLocation licenseLocation) { return LICENSE_OK; } |
| | | |
| | | LCC_EVENT_TYPE release_license(char* product, LicenseLocation licenseLocation) { return LICENSE_OK; } |