| 1400 | } |
| 1401 | |
| 1402 | int load_clusterer(struct clusterer_binds *binds) |
| 1403 | { |
| 1404 | memset(binds, 0, sizeof *binds); |
| 1405 | |
| 1406 | binds->get_nodes = get_clusterer_nodes; |
| 1407 | binds->free_nodes = free_clusterer_nodes; |
| 1408 | binds->set_state = cl_set_state; |
| 1409 | binds->check_addr = clusterer_check_addr; |
| 1410 | binds->get_my_id = cl_get_my_id; |
| 1411 | binds->get_my_sip_addr = cl_get_my_sip_addr; |
| 1412 | binds->get_my_index = cl_get_my_index; |
| 1413 | binds->has_bridge = has_bridge; |
| 1414 | binds->send_to = cl_send_to; |
| 1415 | binds->send_all = cl_send_all; |
| 1416 | binds->send_all_bridges = cl_send_all_bridges; |
| 1417 | binds->send_all_having = cl_send_all_having; |
| 1418 | binds->get_next_hop = api_get_next_hop; |
| 1419 | binds->free_next_hop = api_free_next_hop; |
| 1420 | binds->register_capability = cl_register_cap; |
| 1421 | binds->request_sync = cl_request_sync; |
| 1422 | binds->sync_chunk_start = cl_sync_chunk_start; |
| 1423 | binds->sync_chunk_iter = cl_sync_chunk_iter; |
| 1424 | binds->shtag_get = shtag_get; |
| 1425 | binds->shtag_activate = shtag_activate_api; |
| 1426 | binds->shtag_get_all_active = shtag_get_all_active; |
| 1427 | binds->shtag_register_callback = shtag_register_callback; |
| 1428 | binds->shtag_get_sync_status = shtag_get_sync_status; |
| 1429 | binds->shtag_set_sync_status = shtag_set_sync_status; |
| 1430 | binds->shtag_sync_all_backup = shtag_sync_all_backup; |
| 1431 | |
| 1432 | return 1; |
| 1433 | } |
| 1434 |
no outgoing calls
no test coverage detected