aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc
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-04-05 22:01:44 +0200
commit9bdcc9ca75a55c5d5bc5b7589e410c39b714c0c3 (patch)
tree758a5eb377283c727541eb293832c6aa4e641c54 /openbsc/include/openbsc
parente7d2ae69c90d3eb27454ca0de8e5db9be34cad40 (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/openbsc')
-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 6a07cd111..37194bee8 100644
--- a/openbsc/include/openbsc/mgcp.h
+++ b/openbsc/include/openbsc/mgcp.h
@@ -77,6 +77,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;
@@ -97,6 +98,7 @@ struct mgcp_config {
mgcp_change change_cb;
mgcp_policy policy_cb;
+ mgcp_reset reset_cb;
void *data;
struct mgcp_endpoint *endpoints;