Function quackdb_internal::ffi::duckdb_add_replacement_scan
source · pub unsafe extern "C" fn duckdb_add_replacement_scan(
db: *mut _duckdb_database,
replacement: Option<unsafe extern "C" fn(_: *mut c_void, _: *const i8, _: *mut c_void)>,
extra_data: *mut c_void,
delete_callback: Option<unsafe extern "C" fn(_: *mut c_void)>
)
Expand description
Add a replacement scan definition to the specified database
db: The database object to add the replacement scan to replacement: The replacement scan callback extra_data: Extra data that is passed back into the specified callback delete_callback: The delete callback to call on the extra data, if any