APIs for restoring vendor products
Db2® will call these APIs, and they should be provided by the vendor product in a shared library on UNIX based systems, or in a DLL on the Windows operating system.
The following APIs are defined to provide a data interface between Db2 and the vendor
product:
- sqluvint - Initialize and link to a vendor device
- sqluvget - Read data from a vendor device
- sqluvput - Write data to a vendor device
- sqluvend - Unlink the device and release its resources
- sqluvdel - Delete committed session
- db2VendorQueryApiVersion - Query device supported API level
- db2VendorGetNextObj - Get next object on device
The shared library or DLL code will be run as part of the database engine code. Therefore, it must be reentrant and thoroughly debugged. An errant API may compromise data integrity of the database.