diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-03-31 06:39:35 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-03-31 06:39:35 +0200 |
commit | 8252b9b947f332692dd1446d277dffde7bcf9bab (patch) | |
tree | eeecdfccabe17a100836cd3ad881a1bb74e38ae1 /openbsc/include/openbsc | |
parent | 9fb88021dd580a60a50ab6965ae38093c1189911 (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.h | 2 |
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; |