FSUMconnect function (C programming language)
To connect to the external user mapping repository, the federated server calls the FSUMconnect function.
Syntax
SQL_API_RC SQL_API_FN FSUMconnect
(void** a_FSUMRepository,
const char* a_cfgFilePath)
Inputs
- const char* a_cfgFilePath
- The full path to the plug-in library. If the configuration file is placed in the same directory as the plug-in library, the plug-in can use this path information to locate the configuration file.
Outputs
- void** a_FSUMRepository
- The pointer to the connection descriptor is cast to void before it is sent to federated server. In subsequent API function calls, the federated server passes the pointer to the plug-in, and the plug-in must cast the pointer back the real structure of the connection descriptor.