Function TRTSERVER_ServerOptionsSetServerId

Function Documentation

TRTSERVER_Error *TRTSERVER_ServerOptionsSetServerId(TRTSERVER_ServerOptions *options, const char *server_id)

Set the textual ID for the server in a server options.

The ID is a name that identifies the server.

Return

a TRTSERVER_Error indicating success or failure.

Parameters
  • options: The server options object.

  • server_id: The server identifier.