Connector Initialization and Termination Functions

sdq_init_connector Function

This function is called using the absolute installation path of the SDQConnector directory (./siebsrvr/SDQConnector) when the vendor library is first loaded to facilitate any initialization tasks. It can be used by the vendor to read any configuration files it might choose to use.

Syntax

int sdq_init_connector (const SSchar * path)

Parameters

path: The absolute path of the Siebel Server installation. Vendors can use this path to locate any required parameter file for loading the necessary parameters (like port number and so on). This is a Unicode string because the Siebel Server can be installed for languages other than English.

Return Value

A return value of 0 indicates successful execution. Any other value is a vendor error code. The error message details from the vendor are obtained by calling the sdq_get_error_message function.

sdq_shutdown_connector Function

This function is called when the Siebel Server is shutting down to perform any necessary cleanup tasks.

Syntax

int sdq_shutdown_connector (void)

Parameters

This function does not have any parameters.

Return Value

A return value of 0 indicates successful execution. Any other value is a vendor error code. The error message details from the vendor are obtained by calling the sdq_get_error_message function.