From 4fb532ff2445046e02f59e969647cf686da7c66e Mon Sep 17 00:00:00 2001
From: Gabriele Contini <contini.mailing@gmail.com>
Date: 周六, 02 5月 2020 10:20:38 +0800
Subject: [PATCH] rename StringUtils in string_utls

---
 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..8a229ea 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
+	 * [bb]
+	 * expiry-date
+	 * </pre>
+	 */
+	char feature_name[LCC_API_PROJECT_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