company logo

DataSourceHandle :: xxSetup - Setup data source parameters

The function updates the external resource references from the ini-file and/or the data catalog. The ini-file passed to the function is set as current ini-file for the data source.

External definitions are copied from the ini-file or data catalog section according to the passed datasource_name into the data source.

Return value:  Success ( logical  )

Implementation details

logical DataSourceHandle  :: xxSetup ( char *ini_file, char *datasource_name )
  • ini_file - Application ini-file

    The ini-file may contain several sections providing application or data source information. The path to the ini-file is passed as 0-terminated string.

  • datasource_name - Name of the data source

    The name of the data source defines the section in the INI-file or as an entry in the data catalog that contains external data source definitions.