Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • LMX_OPT_HEARTBEAT_CHECKOUT_SUCCESS_FUNCTION
  • LMX_OPT_HEARTBEAT_CHECKOUT_FAILURE_FUNCTION
  • LMX_OPT_HEARTBEAT_RETRY_FEATURE_FUNCTION
  • LMX_OPT_HEARTBEAT_CONNECTION_LOST_FUNCTION
  • LMX_OPT_HEARTBEAT_EXIT_FUNCTION
  • LMX_OPT_HEARTBEAT_CALLBACK_VENDORDATA
  • LMX_OPT_CUSTOM_HOSTID_FUNCTION
  • LMX_OPT_HOSTID_COMPARE_FUNCTION
  • LMX_OPT_LICENSE_PATH
  • LMX_OPT_LICENSE_STRING
  • LMX_OPT_EXACT_VERSION
  • LMX_OPT_ALLOW_BORROW
  • LMX_OPT_ALLOW_GRACE
  • LMX_OPT_TRIAL_DAYS
  • LMX_OPT_TRIAL_USES
  • LMX_OPT_TRIAL_VIRTUAL_MACHINE
  • LMX_OPT_TRIAL_TERMINAL_SERVER
  • LMX_OPT_AUTOMATIC_HEARTBEAT_ATTEMPTS
  • LMX_OPT_AUTOMATIC_HEARTBEAT_INTERVAL
  • LMX_OPT_CUSTOM_SHARE_STRING
  • LMX_OPT_SERVERSIDE_REQUEST_STRING
  • LMX_OPT_LICENSE_IDLE
  • LMX_OPT_CUSTOM_USERNAME
  • LMX_OPT_CUSTOM_HOSTNAME
  • LMX_OPT_BLACKLIST
  • LMX_OPT_ALLOW_MULTIPLE_SERVERS
  • LMX_OPT_HOSTID_CACHE_CLEANUP_INTERVAL
  • LMX_OPT_RESERVATION_TOKEN
  • LMX_OPT_BIND_ADDRESS
  • LMX_OPT_HOSTID_ENABLED
  • LMX_OPT_HOSTID_DISABLED

 

eOption

LMX_OPT_HEARTBEAT_CHECKOUT_SUCCESS_FUNCTION
This flag causes a callback function to be called when the heartbeat (per feature) has the status LMX_SUCCESS; that is, a heartbeat succeeds in reclaiming a license after a license server disconnection.

pSetting

Function pointer value.Default value:NULL (disabled)Prototype:void (LMX_CALLBACK *HeartbeatCheckoutSuccess_pfn)(
void pVendorData, / Vendor-specified data /const char *szFeatureName, / Name of feature successfully reclaimed */int nUsedLicCount */ Number of licenses reclaimed, which is equal to the number originally checked out */);

 

  
  

 

...

eOption

...

pSetting

...

Function pointer value.Default value: NULL (disabled)Prototype:void (LMX_CALLBACK *HeartbeatRetryFeature_pfn)(
void pVendorData, / Vendor-specified data /const char *szFeatureName, / Name of feature about to be checked out /int nUsedLicCount / Number of licenses to checkout */);

 

...

eOption

...

pSetting

...

Function pointer value.
Default value:
NULL (disabled)
Prototype:
void (LMX_CALLBACK *HeartbeatConnectionLost_pfn)
(
void pVendorData, / Vendor-specified data */
const char szHost, / NULL-terminated string containing license server host */
int nPort, /* TCP port number of license server */
int nFailedHeartbeats /* The number of times a heartbeat has failed per server*/
);

 

...

eOption

...

pSetting

...

Function pointer value.
Default value:
NULL (disabled)
Prototype:
void (LMX_CALLBACK *HeartbeatExit_pfn)
(
void pVendorData, / Vendor-specified data */
);

 

...

eOption

...

pSetting

...

Void pointer value.
Default value:
NULL

 

...

eOption

...

pSetting

...

Function pointer value.
Default value:
NULL (disabled)
Prototype:
LMX_STATUS (LMX_CALLBACK *CustomHostidCallBack_pfn)
(
LMX_HOSTID *pHostid,
int *npHostids
);
See LMX_Hostid for information on using this callback function.

 

...

eOption

...

pSetting

...

Function pointer value.
Default value:
NULL (disabled)
Prototype:
LMX_STATUS (LMX_CALLBACK *HostidCompareCallBack_pfn)
(
LMX_KEY_HOSTID_TYPE eKeyHostidType, /* LMX_CLIENT_HOSTID or LMX_SERVER_HOSTID expected */
const LMX_HOSTID pLicenseHostid[],
int nLicenseHostids,
const LMX_HOSTID pSystemHostid[],
int nSystemHostids
);
See Custom HostID compare for information on using this callback function.

 

...

eOption

...

pSetting

...

NULL-terminated string.
Default value:
NULL (disabled)

 

...

eOption

...

pSetting

...

NULL-terminated string.
Default value:
NULL (disabled)

 

...

eOption

...

pSetting

...

Possible values:
An integer, as follows:
0 (disabled) 1 (enabled)
Default value:
0 (disabled)

 

...

eOption

...

pSetting

...

Possible values:
An integer, as follows:
0 (disabled) 1 (enabled)
Default value:
1 (enabled)

 

...

eOption

...

pSetting

...

Possible values:
An integer, as follows:
0 (disabled) 1 (enabled)
Default value:
1 (enabled)

 

...

eOption

...

pSetting

...

Possible values:
An integer, as follows:
0 (disabled—trial licenses are not available)1 - 60 (number of days a trial license will be available)
Default value:
0 (disabled)

 

...

eOption

...

pSetting

...

Possible values:
An integer, as follows:
-1 (disabled)1 - unlimited (number of times a trial license may be checked out)
Default value:
-1 (disabled)

 

...

eOption

...

pSetting

...

Possible values:
An integer, as follows:
0 (disallow) 1 (allow)
Default value:
0 (disallowed)

 

...

eOption

...

pSetting

...

Possible values:
An integer, as follows:
0 (disallow) 1 (allow)
Default value:
0 (disallowed)

 

...

eOption

...

pSetting

...

Possible values:
An integer, as follows:
-1 (Ignore failed heartbeat attempts. With this setting, your application will not shut down even if the license server goes down infinitely after a checkout. This setting is useful for a lenient license model. New instances of your application will not be able to start, but existing sessions will continue to run.)
0 (Disabled. The client should perform manual heartbeats instead using LMX_Heartbeat() to keep the license. See LMX_Heartbeat for information about the LMX_Heartbeat function.)
>0 (Shut down the application if no heartbeat response is received after the specified number of consecutive attempts. Once a valid heartbeat response is received, the internal counter will reset.)
Default value:
0 (disabled)

 

...

eOption

...

pSetting

...

Possible values:
An integer, as follows:
30 - 900 (seconds)
Default value:
120 (seconds)

 

...

eOption

...

pSetting

...

NULL-terminated string.
Default value:
NULL (Custom sharing not enabled)

 

...

eOption

...

pSetting

...

NULL-terminated string.
Default value:
NULL (disabled)

...

eOption

...

pSetting

...

Possible values:
An integer, as follows:
0 (disabled) 1 (enabled)
Default value:
0 (disabled)

 

...

eOption

...

pSetting

...

NULL-terminated string.
Default value:
NULL (disabled)

 

...

eOption

...

pSetting

...

NULL-terminated string.
Default value:
NULL (disabled)

 

...

eOption

...

pSetting

...

Possible values:
An integer, as follows:
0 (disabled) 1 (enabled)
Default value:
0 (disabled)

 

...

eOption

...

pSetting

...

Possible values:
An integer, as follows:
0 (disabled) 1 (enabled)
Default value:
1 (enabled)

 

eOption

Anchor
1486433423
1486433423
LMX_OPT_HOSTID_CACHE_CLEANUP_INTERVAL
This flag lets you change the HostID cache interval (in seconds).
By default, HostIDs are cached the first time during checkout requests.
By setting this flag, you can avoid devices being used as HostIDs because they were cached. For example, a user could make a checkout using a dongle, then move the dongle to another computer and use it again while the dongle HostID is cached.
Use caution if changing this setting. An interval that is too low can decrease performance by creating too many checks. Conversely, an interval that is too high (or disabled) can compromise security. When this flag is disabled, no cache cleanup occurs.

pSetting

Possible values:
An integer, as follows:
0 (disabled) >0 (seconds)
Default value:
120 (seconds)

...