Function TRITONSERVER_ServerOptionsNew

Function Documentation

TRITONSERVER_Error *TRITONSERVER_ServerOptionsNew(TRITONSERVER_ServerOptions **options)

Create a new server options object.

The caller takes ownership of the TRITONSERVER_ServerOptions object and must call TRITONSERVER_ServerOptionsDelete to release the object.

Return

a TRITONSERVER_Error indicating success or failure.

Parameters
  • options: Returns the new server options object.