From 66e0472bc89ca49f362fadd02e2e14454eb220fe Mon Sep 17 00:00:00 2001 From: gcontini <1121667+gcontini@users.noreply.github.com> Date: 周六, 16 5月 2020 20:30:41 +0800 Subject: [PATCH] centos 7 docs --- include/licensecc/datatypes.h | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/include/licensecc/datatypes.h b/include/licensecc/datatypes.h index f99e232..cb87f7c 100644 --- a/include/licensecc/datatypes.h +++ b/include/licensecc/datatypes.h @@ -95,7 +95,19 @@ */ typedef struct { char version[LCC_API_VERSION_LENGTH + 1]; // software version in format xxxx[.xxxx.xxxx] //TODO - char project_name[LCC_API_PROJECT_NAME_SIZE + 1]; // name of the project (must correspond to the name in the license) + /** + * Name of the feature you want to verify. If empty the default feature will be verified. + * Every project has a default feature that is equal to the project name. + * Every feature has a section in the license file: + * <pre> + * [feature_xx] + * sig=AAAA + * [another_feature] + * expiry-date=20201111 + * </pre> + */ + char feature_name[LCC_API_FEATURE_NAME_SIZE + + 1]; // name of the feature you' (must correspond to the name in the license) /** * this number passed in by the application must correspond to the magic number used when compiling the library. * See cmake parameter -DLCC_PROJECT_MAGIC_NUM and licensecc_properties.h macro VERIFY_MAGIC -- Gitblit v1.9.1