Function TRTSERVER_ServerOptionsSetExitOnError

Function Documentation

TRTSERVER_Error *TRTSERVER_ServerOptionsSetExitOnError(TRTSERVER_ServerOptions *options, bool exit)

Enable or disable exit-on-error in a server options.

Return

a TRTSERVER_Error indicating success or failure.

Parameters
  • options: The server options object.

  • exit: True to enable exiting on intialization error, false to continue.