-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlexfloatstatus_codes.go
123 lines (85 loc) · 3.59 KB
/
lexfloatstatus_codes.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
// Copyright 2021 Cryptlex LLC. All rights reserved.
package lexfloatclient
// int enumeration from lexfloatclient/int.h int =4
const (
// Success code.
LF_OK int = 0
// Failure code.
LF_FAIL int = 1
// The product id is incorrect.
LF_E_PRODUCT_ID int = 40
// Invalid or missing callback function.
LF_E_CALLBACK int = 41
// Missing or invalid server url.
LF_E_HOST_URL int = 42
// Ensure system date and time settings are correct.
LF_E_TIME int = 43
// Failed to connect to the server due to network error.
LF_E_INET int = 44
// License has not been leased yet.
LF_E_NO_LICENSE int = 45
// License has already been leased.
LF_E_LICENSE_EXISTS int = 46
// License does not exist on server or has already expired. This
// happens when the request to refresh the license is delayed.
LF_E_LICENSE_NOT_FOUND int = 47
// License lease has expired due to network error. This
// happens when the request to refresh the license fails due to
// network error.
LF_E_LICENSE_EXPIRED_INET int = 48
// The server has reached it's allowed limit of floating licenses.
LF_E_LICENSE_LIMIT_REACHED int = 49
// The buffer size was smaller than required.
LF_E_BUFFER_SIZE int = 50
// The metadata key does not exist.
LF_E_METADATA_KEY_NOT_FOUND int = 51
// Metadata key length is more than 256 characters.
LF_E_METADATA_KEY_LENGTH int = 52
// Metadata value length is more than 4096 characters.
LF_E_METADATA_VALUE_LENGTH int = 53
// The floating client has reached it's metadata fields limit.
LF_E_FLOATING_CLIENT_METADATA_LIMIT int = 54
// The meter attribute does not exist.
LF_E_METER_ATTRIBUTE_NOT_FOUND int = 55
// The meter attribute has reached it's usage limit.
LF_E_METER_ATTRIBUTE_USES_LIMIT_REACHED int = 56
// No product version is linked with the license.
LF_E_PRODUCT_VERSION_NOT_LINKED int = 57
// The product version feature flag does not exist.
LF_E_FEATURE_FLAG_NOT_FOUND int = 58
// Insufficient system permissions.
LF_E_SYSTEM_PERMISSION int = 59
// IP address is not allowed.
LF_E_IP int = 60
// Invalid permission flag.
LF_E_INVALID_PERMISSION_FLAG int = 61
// Offline floating license is not allowed for per-instance leasing strategy.
LF_E_OFFLINE_FLOATING_LICENSE_NOT_ALLOWED int = 62
// Maximum offline lease duration exceeded.
LF_E_MAX_OFFLINE_LEASE_DURATION_EXCEEDED int = 63
// Allowed offline floating clients limit reached.
LF_E_ALLOWED_OFFLINE_FLOATING_CLIENTS_LIMIT_REACHED int = 64
// Fingerprint couldn't be generated because Windows Management
// Instrumentation (WMI) service has been disabled. This error is specific
// to Windows only.
LF_E_WMIC int = 65
// Machine fingerprint has changed since activation.
LF_E_MACHINE_FINGERPRINT int = 66
// Request blocked due to untrusted proxy.
LF_E_PROXY_NOT_TRUSTED int = 67
// Client error.
LF_E_CLIENT int = 70
// Server error.
LF_E_SERVER int = 71
// System time on server has been tampered with. Ensure
// your date and time settings are correct on the server machine.
LF_E_SERVER_TIME_MODIFIED int = 72
// The server has not been activated using a license key.
LF_E_SERVER_LICENSE_NOT_ACTIVATED int = 73
// The server license has expired.
LF_E_SERVER_LICENSE_EXPIRED int = 74
// The server license has been suspended.
LF_E_SERVER_LICENSE_SUSPENDED int = 75
// The grace period for server license is over.
LF_E_SERVER_LICENSE_GRACE_PERIOD_OVER int = 76
)