mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-11-01 20:43:47 +00:00
At the moment the MGCP Client only supports one MGW per application. Depending on the requirements of the application one MGW might not offer the performance needed. Lets add support for an MGCP Client pool that is backward compatible to existing applications. Change-Id: Icaaba0e470e916eefddfee750b83f5f65291a6b0 Related: SYS#5091
12 lines
547 B
C
12 lines
547 B
C
#pragma once
|
|
|
|
struct mgcp_client;
|
|
struct mgcp_client_pool;
|
|
|
|
struct mgcp_client_pool *mgcp_client_pool_alloc(void *talloc_ctx);
|
|
void mgcp_client_pool_vty_init(int parent_node, int mgw_node, const char *indent, struct mgcp_client_pool *pool);
|
|
unsigned int mgcp_client_pool_connect(struct mgcp_client_pool *pool);
|
|
void mgcp_client_pool_register_single(struct mgcp_client_pool *pool, struct mgcp_client *mgcp_client);
|
|
struct mgcp_client *mgcp_client_pool_get(struct mgcp_client_pool *pool);
|
|
void mgcp_client_pool_put(struct mgcp_client *mgcp_client);
|