From bd879d3c9f5fef0107bc3036be3893edab14e89c Mon Sep 17 00:00:00 2001 From: Gabriele Contini <contini.mailing@gmail.com> Date: 周三, 01 1月 2020 20:26:43 +0800 Subject: [PATCH] cleanup & new api --- include/licensecc/licensecc.h | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/include/licensecc/licensecc.h b/include/licensecc/licensecc.h index be6f57d..749cf7b 100644 --- a/include/licensecc/licensecc.h +++ b/include/licensecc/licensecc.h @@ -2,8 +2,8 @@ #define LICENSEPP_H_ /* - * This include file is the public api di License++ -*/ + * This include file is the public api di Licensecc + */ #ifdef __cplusplus extern "C" { #endif @@ -20,9 +20,7 @@ * This method calculate the pc identifier. The string has to be shown * to the user in order to calculate the license. */ -void identify_pc(IDENTIFICATION_STRATEGY pc_id_method, - char chbuffer[PC_IDENTIFIER_SIZE + 1]); - +bool identify_pc(IDENTIFICATION_STRATEGY pc_id_method, char* identifier_out, size_t* bufSize); /** * This method is used to request the use of one license for a product. -- Gitblit v1.9.1