Go to main content

Developing Data Services

Exit Print View

Updated: August 2018

scds_initialize() Function

The DSDL requires that each callback method call the scds_initialize() function at the beginning of the method.

    This function performs the following operations:

  • Checks and processes the command-line arguments (argc and argv) that the framework passes to the data service method. The method does not have to process any additional command-line arguments.

  • Sets up internal data structures for use by the other functions in the DSDL.

  • Initializes the logging environment.

  • Validates fault monitor probe settings.

Use the scds_close() function to reclaim the resources that are allocated by scds_initialize().