From 040c6bcb25f24b73839111dbce3a7114e7c59bf6 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 14 Sep 2011 19:50:00 +0200 Subject: mgcp: Reset endpoints via the trunk config instead of all of them This change is coming from OpenBSC and was adjusted to mgcp_ss7 --- include/mgcp/mgcp.h | 2 +- include/mgcp_ss7.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'include') diff --git a/include/mgcp/mgcp.h b/include/mgcp/mgcp.h index 50b11cc..9f21a37 100644 --- a/include/mgcp/mgcp.h +++ b/include/mgcp/mgcp.h @@ -82,7 +82,7 @@ struct mgcp_trunk_config; typedef int (*mgcp_realloc)(struct mgcp_trunk_config *cfg, int endpoint); typedef int (*mgcp_change)(struct mgcp_trunk_config *cfg, int endpoint, int state); typedef int (*mgcp_policy)(struct mgcp_trunk_config *cfg, int endpoint, int state, const char *transactio_id); -typedef int (*mgcp_reset)(struct mgcp_config *cfg); +typedef int (*mgcp_reset)(struct mgcp_trunk_config *cfg); #define PORT_ALLOC_STATIC 0 #define PORT_ALLOC_DYNAMIC 1 diff --git a/include/mgcp_ss7.h b/include/mgcp_ss7.h index 35f5b9c..eb17158 100644 --- a/include/mgcp_ss7.h +++ b/include/mgcp_ss7.h @@ -55,8 +55,6 @@ struct mgcp_ss7_cmd { uint32_t param; }; -void mgcp_ss7_reset(struct mgcp_ss7 *mgcp); - void mgcp_mgw_vty_init(); #endif -- cgit v1.2.3