aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-09-14 19:50:00 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-09-14 22:32:59 +0200
commit040c6bcb25f24b73839111dbce3a7114e7c59bf6 (patch)
tree0e62c747d7139fe6459244ec6aeb870acf789c5a /include
parentfa15805e81de8fa01037c01db98e9aff3b4fa475 (diff)
mgcp: Reset endpoints via the trunk config instead of all of them
This change is coming from OpenBSC and was adjusted to mgcp_ss7
Diffstat (limited to 'include')
-rw-r--r--include/mgcp/mgcp.h2
-rw-r--r--include/mgcp_ss7.h2
2 files changed, 1 insertions, 3 deletions
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