From fda76a82b93c7dd9e513ff64334dd6117a134230 Mon Sep 17 00:00:00 2001 From: Gabriele Contini <contini.mailing@gmail.com> Date: 周六, 25 4月 2020 21:01:33 +0800 Subject: [PATCH] first docker & vm detection --- include/licensecc/licensecc.h | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/licensecc/licensecc.h b/include/licensecc/licensecc.h index dc273bd..deea67e 100644 --- a/include/licensecc/licensecc.h +++ b/include/licensecc/licensecc.h @@ -11,8 +11,6 @@ extern "C" { #endif -#include <licensecc_properties.h> - #include "datatypes.h" /** @@ -39,15 +37,17 @@ * wiki for more informations. * @param identifier_out[out] buffer where the identification string will be placed. * @param identifier_out[in-out] size of the buffer where the identification string will be placed. + * @param execution_environment_info[out] if not null will contain the informations about the execution environment. */ -bool identify_pc(LCC_API_HW_IDENTIFICATION_STRATEGY hw_id_method, char* identifier_out, size_t* buf_size); +bool identify_pc(LCC_API_HW_IDENTIFICATION_STRATEGY hw_id_method, char* identifier_out, size_t* buf_size, + ExecutionEnvironmentInfo* execution_environment_info); /** * This method is used to request the use of one license for a product. * In case of local license it's used to check if the product is licensed. * * @return ::LICENSE_OK(0) if successful. Other values if there are errors. - * + * * @param callerInformation[in] * a vendor defined string containing the name of the product we want to request. * @param licenseLocation[in] otpional, can be NULL. -- Gitblit v1.9.1