GDAL
gdal_adbc.h
Go to the documentation of this file.
1/******************************************************************************
2 * Name: gdal_adbc.h
3 * Project: GDAL Core
4 * Purpose: GDAL Core ADBC related declarations.
5 * Author: Even Rouault <even dot rouault at spatialys.com>
6 *
7 ******************************************************************************
8 * Copyright (c) 2024, Even Rouault <even dot rouault at spatialys.com>
9 * Copyright (c) 2024, Dewey Dunnington <dewey@voltrondata.com>
10 *
11 * SPDX-License-Identifier: MIT
12 ****************************************************************************/
13
14#ifndef GDAL_ADBC_H_INCLUDED
15#define GDAL_ADBC_H_INCLUDED
16
28
29#include "cpl_port.h"
30
31#include <stdint.h>
32
34
36typedef uint8_t (*GDALAdbcLoadDriverFunc)(const char *driver_name,
37 const char *entrypoint, int version,
38 void *driver, void *error);
39
41
43
45
46#endif
Core portability definitions for CPL.
#define CPL_C_END
Macro to end a block of C symbols.
Definition cpl_port.h:289
#define CPL_C_START
Macro to start a block of C symbols.
Definition cpl_port.h:285
GDALAdbcLoadDriverFunc GDALGetAdbcLoadDriverOverride(void)
Gets the ADBC driver load function.
Definition gdal_adbc.cpp:46
void GDALSetAdbcLoadDriverOverride(GDALAdbcLoadDriverFunc init_func)
When set, it is used by the OGR ADBC driver to populate AdbcDriver callbacks.
Definition gdal_adbc.cpp:34
uint8_t(* GDALAdbcLoadDriverFunc)(const char *driver_name, const char *entrypoint, int version, void *driver, void *error)
Type of a callback function to load a ADBC driver.
Definition gdal_adbc.h:36