Server Initialization and Configuration

Function/Macro Description
srv_config Sets server configuration parameters, such as the number of client connections and the Open Data Services log file. You must allocate a configuration structure with srv_config_alloc before using srv_config.
srv_config_alloc Allocates an SRV_CONFIG structure that contains the Open Data Services configuration parameters.
SRV_GETCONFIG Returns a pointer to an Open Data Services server application's configuration structure for a client connection. The returned pointer can be used to change configuration parameters with srv_config.
srv_init Initializes Open Data Services. Use this function to initialize the server before starting the server with srv_run.
srv_run Starts Open Data Services and allows event processing to begin.
SRV_TDSVERSION Determines the tabular data stream (TDS) version being used for the client connection.