A file named lmx_server_conf.c contains various flags and callbacks which can be used to extend or modify the behavior of the license server. For each callback you can write a function which meets the specified prototype. We recommend that you write your own enhancements in a new file and modify the makefile to include your enhancements during compilation of the license server.
Note that the settings specified using lmx_server_conf.c cannot be changed after compilation of the license server.
Some of the callback functions that can be specified using lmx_server_conf.c include the following:
Callback function | Description | Parameters |
---|---|---|
LMX_ServerShutdown | Callback for cleaning up user code when license server goes down. | SERVER_SHUTDOWN_MODE |
Callback for restarting the license server. | SERVER_RESTART_MODE |