Function TRTSERVER_ServerOptionsNew

Function Documentation

TRTSERVER_Error *TRTSERVER_ServerOptionsNew(TRTSERVER_ServerOptions **options)

Create a new server options object.

The caller takes ownership of the TRTSERVER_ServerOptions object and must call TRTSERVER_ServerOptionsDelete to release the object.

Return

a TRTSERVER_Error indicating success or failure.

Parameters
  • options: Returns the new server options object.