api rename project_name->feature_name
| | |
| | | Subproject commit 1b460c3bf32b849c5edeb4f8b9fc15c431996748 |
| | | Subproject commit c19bf172e8f364b4ec17a3fc8155ce82b48830ba |
| | |
| | | for (CSimpleIniA::Entry section : sections) { |
| | | const string section_name(section.pItem, 15); |
| | | if (section_name != LCC_PROJECT_NAME) { |
| | | std::copy(section_name.begin(), section_name.end(), callerInformation.project_name); |
| | | std::copy(section_name.begin(), section_name.end(), callerInformation.feature_name); |
| | | LCC_EVENT_TYPE result = acquire_license(&callerInformation, &licLocation, &licenseInfo); |
| | | if (result == LICENSE_OK) { |
| | | cout << "project [" << section.pItem << "]: license OK" << endl; |
| | |
| | | string project; |
| | | size_t str_size; |
| | | if (callerInformation != nullptr && |
| | | (str_size = license::mstrnlen_s(callerInformation->feature_name, sizeof callerInformation->project_name)) > 0) { |
| | | (str_size = license::mstrnlen_s(callerInformation->feature_name, sizeof callerInformation->feature_name)) > 0) { |
| | | project = string(callerInformation->feature_name, str_size); |
| | | } else { |
| | | project = string(LCC_PROJECT_NAME); |