Download FLEXlm Reference Manual
Transcript
Vendor Variables 13.2.7 ls_infilter extern LM_HANDLE * lm_job; (int) (*ls_infilter)() = 0; To install a vendor-defined checkin filtering routine, initialize ls_infilter with a pointer to your routine. The checkin filter is called with no parameters. If it returns 0, the current checkin is aborted; a return of 1 allows the current checkin to continue. If the filter aborts the operation (returns 0), then it should set the error code, via lc_set_errno(lm_job, errno), appropriately. To obtain the parameters of the current checkin call, use the ls_get_attr() call described in Section 13.2.10, “ls_outfilter.” 13.2.8 ls_min_lmremove (int) ls_min_lmremove = 120; /* Minimum amount of time (seconds) that a... The lmremove utility could be used to bypass the license count for a feature if an end user were to run lmremove on each user as soon as he had checked out a license. ls_min_lmremove makes the lmremove utility ineffective for a certain period of time after a user connects to the daemon (120 seconds by default). 13.2.9 ls_minimum_user_timeout (int) ls_minimum_user_timeout = 900; /* Minimum user inactivity timeout (seconds) This is the minimum value (in seconds) that an end user can set the feature’s TIMEOUT value. An attempt to set a timeout less than ls_minimum_timeout will result in the minimum value being set. If ls_minimum_user_timeout is set to 0, then the user TIMEOUT option is disabled. 13.2.10 ls_outfilter (int) (*ls_outfilter)() = 0; Note: Please contact Technical Support before using ls_outfilter. Callbacks in this area are rarely needed, and we’re happy to provide assistance when they are. 230 Vendor Daemon