31#ifndef ADBC_DRIVER_MANAGER_H
32#define ADBC_DRIVER_MANAGER_H
51 int version,
void* driver,
struct AdbcError* error);
const char * AdbcStatusCodeMessage(AdbcStatusCode code)
Get a human-friendly description of a status code.
AdbcStatusCode AdbcLoadDriverFromInitFunc(AdbcDriverInitFunc init_func, int version, void *driver, struct AdbcError *error)
Common entry point for drivers via the driver manager.
AdbcStatusCode AdbcLoadDriver(const char *driver_name, const char *entrypoint, int version, void *driver, struct AdbcError *error)
Common entry point for drivers via the driver manager.
AdbcStatusCode AdbcDriverManagerDatabaseSetInitFunc(struct AdbcDatabase *database, AdbcDriverInitFunc init_func, struct AdbcError *error)
Set the AdbcDriverInitFunc to use.
An instance of a database.
Definition adbc.h:808
AdbcStatusCode(* AdbcDriverInitFunc)(int version, void *driver, struct AdbcError *error)
Common entry point for drivers via the driver manager (which uses dlopen(3)/LoadLibrary)....
Definition adbc.h:2347
uint8_t AdbcStatusCode
Error codes for operations that may fail.
Definition adbc.h:176
A detailed error message for an operation.
Definition adbc.h:269