Database Independent Abstraction Layer for C: libdbi Programmer's Guide (OUTDATED SEE README!) | ||
---|---|---|
Prev | Chapter 3. libdbi API Reference | Next |
int dbi_initialize(const char *driverdir) |
Locates all available shared modules (drivers) and loads them into memory.
driverdir: The directory to search for drivers. If NULL, DBI_DRIVER_DIR (defined at compile time) will be used instead.
The number of drivers successfully loaded, or -1 if there was an error.