diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-06 17:54:27 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-08 07:28:36 +0800 |
commit | 24963554a86e85df2319c78f6e4f72c2cb5d32a4 (patch) | |
tree | 4a8b134454c995d61752603ac53ed5be76899884 /openbsc/include/openbsc/mgcp.h | |
parent | c7bd29e6d7eb038ba6c1189de633dedfbcd56cc1 (diff) |
mgcp: Add a callback to inform the client that an endpoint got reallocated
Diffstat (limited to 'openbsc/include/openbsc/mgcp.h')
-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 1a83bd501..10b2409ac 100644 --- a/openbsc/include/openbsc/mgcp.h +++ b/openbsc/include/openbsc/mgcp.h @@ -75,6 +75,7 @@ struct mgcp_config; #define MGCP_POLICY_REJECT 5 #define MGCP_POLICY_DEFER 6 +typedef int (*mgcp_realloc)(struct mgcp_config *cfg, int endpoint); typedef int (*mgcp_change)(struct mgcp_config *cfg, int endpoint, int state); typedef int (*mgcp_policy)(struct mgcp_config *cfg, int endpoint, int state, const char *transactio_id); typedef int (*mgcp_reset)(struct mgcp_config *cfg); @@ -126,6 +127,7 @@ struct mgcp_config { mgcp_change change_cb; mgcp_policy policy_cb; mgcp_reset reset_cb; + mgcp_realloc realloc_cb; void *data; uint32_t last_call_id; |