ctdbGetLibType
Retrieves the c-tree operational model used when compiling the FairCom DB API library.
Declaration
CTLIB_TYPE ctdbGetLibType(CTHANDLE Handle)
Description
ctdbGetLibType provides the ability to detect c-tree Plus operational model used when compiling a FairCom DB API C library.
Returns
ctdbGetLibType returns a value of type CTLIB_TYPE.
CTLIB_TYPE |
Description |
---|---|
CTLIB_SINGLE |
Single user libary. |
CTLIB_MUSER |
Multi-user libary. |
CTLIB_CLIENT |
Client libary |
CTLIB_LOCLIB |
LOCLIB model. |
CTLIB_SERVER |
Server side library. |
CTLIB_THREA |
Multi-threaded enabled. |
CTLIB_TRAN |
Transaction processing enabled. |
The return value has the following bits set if the library supports optional features.
Optional Bits |
Description |
CTLIB_THREA |
Multi-threaded enabled. |
CTLIB_TRAN |
Transaction processing enabled. |
See FairCom DB API Errors and Return Values for a complete listing of valid FairCom DB API error codes and return values.