11#undef tianzuo_Hundun_lib
13#define tianzuo_Hundun_atr
14#if defined(tianzuo_Hundun_dllexport)
15#define tianzuo_Hundun_lib _declspec(dllexport)
17#define tianzuo_Hundun_lib
20#define tianzuo_Hundun_atr __attribute__((visibility("default")))
21#define tianzuo_Hundun_lib
35static const char* Hundun_error_code_strings_cn[6] = {
45static const char* Hundun_error_code_strings[6] = {
49 "license filename error",
51 "machine id unmatched"
79 int check(
const char* public_key_string,
const char* license_file,
int* days);
混沌钟模块类 for c++
Definition tianzuo.HundunInterface.h:64
int check(const char *public_key_string, const char *license_file, int *days)
~tianzuo_HundunInt()
Definition tianzuo.HundunInterface.h:67
tianzuo_HundunInt()
Definition tianzuo.HundunInterface.h:66
const char * get_machineid()
#define tianzuo_Hundun_lib
Definition tianzuo.HundunInterface.h:21
Hundun_error_code
Definition tianzuo.HundunInterface.h:25
@ Hundun_error_code_success
成功
Definition tianzuo.HundunInterface.h:26
@ Hundun_error_code_licensefile
许可证文件或路径错误
Definition tianzuo.HundunInterface.h:29
@ Hundun_error_code_unmatched
机器码不匹配
Definition tianzuo.HundunInterface.h:31
@ Hundun_error_code_outofdate
日期已过
Definition tianzuo.HundunInterface.h:30
@ Hundun_error_code_parameter
参数错误
Definition tianzuo.HundunInterface.h:27
@ Hundun_error_code_parse
解析错误
Definition tianzuo.HundunInterface.h:28
Hundun_license_type
Definition tianzuo.HundunInterface.h:55
@ Hundun_license_type_machinelimit
Definition tianzuo.HundunInterface.h:58
@ Hundun_license_type_none
Definition tianzuo.HundunInterface.h:56
@ Hundun_license_type_machinedatelimit
Definition tianzuo.HundunInterface.h:59
@ Hundun_license_type_datelimit
Definition tianzuo.HundunInterface.h:57
tianzuo_Hundun_lib const char * tianzuo_Hundun_get_machineid()
tianzuo_Hundun_lib int tianzuo_Hundun_check(const char *public_key_string, const char *license_file, int *days)