# mco_cluster_params_init

This function must be called prior to`mco_cluster_db_open()` to initialize Cluster parameters.

### For an overview see page Cluster Applications in C

### Prototype

        void mco_cluster_params_init(	/*OUT*/ mco_cluster_params_t* params )

### Arguments

params | The `mco_cluster_params_t` structure that will be initialized

### Description

This function sets default cluster parameters (connection timeout, buffer sizes, etc,) for the call to the function`mco_cluster_db_open()`. After calling `mco_cluster_params_init()`,the `n_nodes` and `node_id` fields of`mco_cluster_params_t` must be set (and, optionally, change other parameters).

### Return Codes

void | No value returned

### Files

Header file:
mcocluster.h
Source file:
mcocluster.c
Library:
libmcocluster.a