aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-03-31 06:39:35 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-03-31 06:39:35 +0200
commit8252b9b947f332692dd1446d277dffde7bcf9bab (patch)
treeeeecdfccabe17a100836cd3ad881a1bb74e38ae1 /openbsc/include
parent9fb88021dd580a60a50ab6965ae38093c1189911 (diff)
[mgcp] Add some parsing for RSIP messages coming in
This will just call a callback and leave all the handling to the application.
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/mgcp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/mgcp.h b/openbsc/include/openbsc/mgcp.h
index 19db05d99..a1053be90 100644
--- a/openbsc/include/openbsc/mgcp.h
+++ b/openbsc/include/openbsc/mgcp.h
@@ -76,6 +76,7 @@ struct mgcp_config;
typedef int (*mgcp_change)(struct mgcp_config *cfg, int endpoint, int state, int local_rtp);
typedef int (*mgcp_policy)(struct mgcp_config *cfg, int endpoint, int state, const char *transactio_id);
+typedef int (*mgcp_reset)(struct mgcp_config *cfg);
struct mgcp_config {
int source_port;
@@ -96,6 +97,7 @@ struct mgcp_config {
mgcp_change change_cb;
mgcp_policy policy_cb;
+ mgcp_reset reset_cb;
void *data;
struct mgcp_endpoint *endpoints;