Initialize the API and OS services layer.
- Parameters:
-
| api_ver | Current API version. Always use DB_API_VER. |
- Returns:
- DB_NOERROR when successful.
- DB_ESTATE API and OS services layer already initialized.
- DB_EAPIVER Version mismatch: the ITTIA DB library is incompatible with the compiled program. The application may have been linked with an old version of the library that does not support new API features. Check for this error to ensure that the correct shared library or dynamic link library (DLL) version of ITTIA DB is loaded.
Call this function before invoking any other API functions.