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

 

-1814820658

LMX_SetOption Function eOption and pSetting Parameter Values

 

eOption

Anchor
-1814820658

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 */);

 

LMX_OPT_HEARTBEAT_CHECKOUT_FAILURE_FUNCTION
This flag causes a callback function to be called when the heartbeat (per feature) has a status different than LMX_SUCCESS; that is, if a heartbeat fails to reclaim a license after a license server reconnection.
If this function is called, the licenses for the given feature are considered lost.
eOption anchor -1709218510-1709218510
  

pSetting

Function pointer value.
Default value:
NULL (disabled)
Prototype:
void (LMX_CALLBACK *HeartbeatCheckoutFailure_pfn)
(
void pVendorData, / Vendor-specified data */
const char szFeatureName, / Name of lost feature */
int nUsedLicCount, /* Number of licenses lost */
LMX_STATUS LmxStat /* Error code that indicates why they were lost */
);

 

eOption

Anchor
1194604025
1194604025
LMX_OPT_HEARTBEAT_RETRY_FEATURE_FUNCTION
This flag causes a callback function to be called whenever there is an attempt to re-checkout a feature from a working server.
After this callback function is called, it is expected that the status for the feature will be given by calling either:
LMX_OPT_HEARTBEAT_CHECKOUT_SUCCESS_FUNCTION
or
LMX_OPT_HEARTBEAT_CHECKOUT_FAILURE_FUNCTION

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 */);

...