ctdbGetLibType
Retrieves the c-tree operational model used when compiling the c-treeDB API library.
Declaration
CTLIB_TYPE ctdbGetLibType(CTHANDLE Handle)
Description
ctdbGetLibType provides the ability to detect c-tree Plus operational model used when compiling a c-treeDB 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 c-treeDB API Errors and Return Values for a complete listing of valid c-treeDB API error codes and return values.