Accesses an Open Data Services server application's configuration structure.
SRV_CONFIG * SRV_GETCONFIG ( SRV_SERVER * server );
where
A pointer to the Open Data Services server application's SRV_CONFIG structure. If insufficient memory or an invalid server is specified, returns NULL.
The SRV_CONFIG structure configures the Open Data Services server application on initialization. A copy of that structure is found in the SRV_SERVER structure. The SRV_GETCONFIG macro returns a pointer to this SRV_SERVER copy of the SRV_CONFIG structure.
The pointer to SRV_CONFIG can be passed to srv_config to change configuration parameters.
This entry | For information about |
---|---|
srv_config | Setting Open Data Services configuration parameters |
SRV_GETSERVER | Returning a pointer to the server being used by a client |