This function must be called prior to mco_cluster_db_open()
to initialize Cluster parameters.
void mco_cluster_params_init( /*OUT*/ mco_cluster_params_t* params )
params | The mco_cluster_params_t structure that will be initialized |
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).
void | No value returned |