diff options
Diffstat (limited to 'include/mgcp_ss7.h')
-rw-r--r-- | include/mgcp_ss7.h | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/include/mgcp_ss7.h b/include/mgcp_ss7.h index ff0973b..45828e8 100644 --- a/include/mgcp_ss7.h +++ b/include/mgcp_ss7.h @@ -1,7 +1,7 @@ /* mgcp_ss7 helper coder */ /* - * (C) 2010 by Holger Hans Peter Freyther <zecke@selfish.org> - * (C) 2010 by On-Waves + * (C) 2010-2011 by Holger Hans Peter Freyther <zecke@selfish.org> + * (C) 2010-2011 by On-Waves * All Rights Reserved * * This program is free software: you can redistribute it and/or modify @@ -29,19 +29,11 @@ #include "thread.h" -enum cellmgr_node { - MGCP_NODE = _LAST_OSMOVTY_NODE + 1, -}; - - -struct mgcp_ss7_endpoint; struct mgcp_ss7 { struct mgcp_config *cfg; struct write_queue mgcp_fd; struct msgb *mgcp_msg; - struct mgcp_ss7_endpoint *mgw_end; - /* timer */ struct timer_list poll_timer; @@ -54,19 +46,17 @@ enum { MGCP_SS7_MUTE_STATUS, MGCP_SS7_ALLOCATE, MGCP_SS7_DELETE, - MGCP_SS7_SHUTDOWN, }; struct mgcp_ss7_cmd { struct llist_head entry; uint8_t type; - uint32_t port; + struct mgcp_endpoint *endp; uint32_t param; }; -void mgcp_ss7_exec(struct mgcp_ss7 *mgcp, uint8_t type, uint32_t port, uint32_t param); - void mgcp_ss7_reset(struct mgcp_ss7 *mgcp); -void mgcp_ss7_free(struct mgcp_ss7 *mgcp); + +void mgcp_mgw_vty_init(); #endif |