Database Independent Abstraction Layer for C: libdbi Driver Author's Guide | ||
---|---|---|
Prev | Chapter 2. Driver Capabilities | Next |
The perfect place to set driver capabilities is in the dbd_initialize function which is called right after the driver is loaded by libdbi. To set capabilities, call the _dbd_register_driver_cap function for each of them:
driver: the driver as passed to dbd_initialize.
capname: A string containing the name of the capability (i.e. the key).
value: The value of the capability.