From 0e54c182b58ce6a5bf39bc8f20717223fb5b0d83 Mon Sep 17 00:00:00 2001 From: gcontini <1121667+gcontini@users.noreply.github.com> Date: 周三, 01 1月 2020 20:22:49 +0800 Subject: [PATCH] docs --- src/templates/licensecc_properties.h.in | 16 ++++++---------- 1 files changed, 6 insertions(+), 10 deletions(-) diff --git a/src/templates/licensecc_properties.h.in b/src/templates/licensecc_properties.h.in index 8c92c93..6839823 100644 --- a/src/templates/licensecc_properties.h.in +++ b/src/templates/licensecc_properties.h.in @@ -2,22 +2,18 @@ #define BUILD_PROPERTIES_H_ #define LCC_PROJECT_NAME "@LCC_PROJECT_NAME@" -#define PROJECT_INT_VERSION @LICENSECC_INT_VERSION@ -#define PROJECT_VERSION "@LICENSECC_VERSION@" //License retrieval configuration -#define FIND_LICENSE_NEAR_MODULE 1 -#define FIND_LICENSE_WITH_ENV_VAR 1 +#define FIND_LICENSE_NEAR_MODULE true +#define FIND_LICENSE_WITH_ENV_VAR false +#define LICENSE_FILE_EXTENSION ".lic" #define LICENSE_LOCATION_ENV_VAR "LICENSE_LOCATION" #define LICENSE_DATA_ENV_VAR "LICENSE_DATA" -//define api structure sizes -#define PC_IDENTIFIER_SIZE 18 -#define PROPRIETARY_DATA_SIZE 16 -#define AUDIT_EVENT_NUM 5 - //Internal data structures limits -#define MAX_LICENSE_LENGTH 256*1024 +#define MAX_LICENSE_LENGTH 256 * 1024 + +#define VERIFY_MAGIC (lic_info.m_magic == @LCC_PROJECT_MAGIC_NUM@) #endif -- Gitblit v1.9.1