Client APIs
API Reference Overview
Sets the main functions of the aggregate function.  
###### Syntax {#docs:api:c:api::syntax}  
```c
void duckdb_aggregate_function_set_functions(
duckdb_aggregate_function aggregate_function,
duckdb_aggregate_state_size state_size,
duckdb_aggregate_init_t state_init,
duckdb_aggregate_update_t update,
duckdb_aggregate_combine_t combine,
duckdb_aggregate_finalize_t finalize
);
```  
###### Parameters {#docs:api:c:api::parameters}  
* `aggregate_function`: The aggregate function
* `state_size`: state size
* `state_init`: state init function
* `update`: update states
* `combine`: combine states
* `finalize`: finalize states  
<br>