diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-09-14 00:23:22 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-09-14 00:23:22 +0200 |
commit | c2bb077a489863cd6352298bff2eb510a4a22133 (patch) | |
tree | 15fd290f219817f94481b4c9ee17f15f266f7c53 /include/mgcp | |
parent | e72139a6f3713869637d15dfd9858a500fbf0425 (diff) |
mgcp: Split creation of endpoints and static port allocation
Create the endpoints as soon as possible, configure static ports
after we are through with the parsing of the VTY config.
Diffstat (limited to 'include/mgcp')
-rw-r--r-- | include/mgcp/mgcp_internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mgcp/mgcp_internal.h b/include/mgcp/mgcp_internal.h index 6d9f03e..d499166 100644 --- a/include/mgcp/mgcp_internal.h +++ b/include/mgcp/mgcp_internal.h @@ -155,6 +155,7 @@ static inline int endp_back_channel(int endpoint) struct mgcp_trunk_config *mgcp_trunk_alloc(struct mgcp_config *cfg, int index); struct mgcp_trunk_config *mgcp_trunk_num(struct mgcp_config *cfg, int index); +void mgcp_trunk_free(struct mgcp_trunk_config *cfg); #endif |