Product Documentation

FairCom DB API for C

Previous Topic

Next Topic

ctdbSetConfigurationFile

Sets the server .DLL configuration file name and path.

Declaration

CTDBRET ctdbSetConfigurationFile(void)

Description

ctdbSetConfigurationFile() sets the server .DLL configuration file name and path.

Returns

Returns CTDBRET_OK on success, or FairCom DB API C API error on failure.

Example

ret = ctdbSetConfigurationFile("ctsrvr.cfg");

ret = ctdbStartDatabaseEngine();

...

...

ret = ctdbStopDatabaseEngine();

See also

ctdbStartDatabaseEngine(), ctdbStopDatabaseEngine()

TOCIndex