diff options
Diffstat (limited to 'openbsc/include/openbsc/osmux.h')
-rw-r--r-- | openbsc/include/openbsc/osmux.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/osmux.h b/openbsc/include/openbsc/osmux.h index 33456b76d..f4cb17abd 100644 --- a/openbsc/include/openbsc/osmux.h +++ b/openbsc/include/openbsc/osmux.h @@ -9,11 +9,22 @@ enum { }; int osmux_init(int role, struct mgcp_config *cfg); -int osmux_enable_endpoint(struct mgcp_endpoint *endp, int role); +int osmux_enable_endpoint(struct mgcp_endpoint *endp, int role, + struct in_addr *addr, uint16_t port); +void osmux_disable_endpoint(struct mgcp_endpoint *endp); int osmux_xfrm_to_rtp(struct mgcp_endpoint *endp, int type, char *buf, int rc); int osmux_xfrm_to_osmux(int type, char *buf, int rc, struct mgcp_endpoint *endp); int osmux_send_dummy(struct mgcp_endpoint *endp); +int osmux_get_cid(void); +void osmux_put_cid(uint8_t osmux_cid); + +enum osmux_state { + OSMUX_STATE_DISABLED = 0, + OSMUX_STATE_ACTIVATING, + OSMUX_STATE_ENABLED, +}; + #endif |