srv_config_alloc

Allocates and initializes a SRV_CONFIG structure.

Syntax

SRV_CONFIG * srv_config_alloc ( );

Returns

A pointer to a SRV_CONFIG structure, or NULL if insufficient memory is available.

Remarks

The SRV_CONFIG structure contains configuration parameters for the Open Data Services server application. Once an SRV_CONFIG structure is allocated, configuration parameters can be set with srv_config.

The SRV_CONFIG structure is needed only when initializing the Open Data Services server application with srv_init. Once srv_init uses this structure, the SRV_CONFIG structure can be freed with srv_free.

See Also

This entry For information about
srv_config Setting the server configuration parameters
srv_free Freeing allocated memory
srv_init Initializing an Open Data Services server application