Product Documentation

FairCom ISAM for C

Previous Topic

Next Topic

ctPlugin_init

Declaration

int ctDECL ctPlugin_init(void)

Description

If provided, ctPlugin_init(void) is called after ctPlugin_describe() has been used to successfully load all additional function addresses from <DLL>, and before any calls into this callback. This is intended to initialize any global state information within <DLL>, and should return zero on success, non-zero if an error occurs. An error return will prevent additional functions within <DLL> from being used as callbacks. This function should return promptly to prevent delaying database startup. Because this is executed before the database initialization is complete, c-tree API calls may have undefined behavior.

See Also

TOCIndex