Client APIs
API Reference Overview
Add a replacement scan definition to the specified database.  
###### Syntax {#docs:api:c:api::syntax}  
```c
void duckdb_add_replacement_scan(
duckdb_database db,
duckdb_replacement_callback_t replacement,
void *extra_data,
duckdb_delete_callback_t delete_callback
);
```  
###### Parameters {#docs:api:c:api::parameters}  
* `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  
<br>