From 3ccd5dee18dfbd64b01cba68790721680477df19 Mon Sep 17 00:00:00 2001 From: Richard Mudgett Date: Thu, 19 Dec 2013 17:13:53 +0000 Subject: udptl: Dead code elimination. ast_udptl_bridge was not used. Removing dead code starting with ast_udptl_bridge() eliminated the code in this change. Note: This code has actually been dead since Asterisk v1.4 when it was first put in. Review: https://reviewboard.asterisk.org/r/3079/ ........ Merged revisions 404354 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@404355 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/udptl.h | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'include') diff --git a/include/asterisk/udptl.h b/include/asterisk/udptl.h index 337762c62..456a5adbc 100644 --- a/include/asterisk/udptl.h +++ b/include/asterisk/udptl.h @@ -44,15 +44,6 @@ enum ast_t38_ec_modes { extern "C" { #endif -struct ast_udptl_protocol { - /*! \brief Get UDPTL struct, or NULL if unwilling to transfer */ - struct ast_udptl *(*get_udptl_info)(struct ast_channel *chan); - /*! \brief Set UDPTL peer */ - int (* const set_udptl_peer)(struct ast_channel *chan, struct ast_udptl *peer); - const char * const type; - AST_RWLIST_ENTRY(ast_udptl_protocol) list; -}; - struct ast_udptl; typedef int (*ast_udptl_callback)(struct ast_udptl *udptl, struct ast_frame *f, void *data); @@ -133,13 +124,6 @@ unsigned int ast_udptl_get_far_max_ifp(struct ast_udptl *udptl); void ast_udptl_setnat(struct ast_udptl *udptl, int nat); -int ast_udptl_bridge(struct ast_channel *c0, struct ast_channel *c1, int flags, - struct ast_frame **fo, struct ast_channel **rc); - -int ast_udptl_proto_register(struct ast_udptl_protocol *proto); - -void ast_udptl_proto_unregister(struct ast_udptl_protocol *proto); - void ast_udptl_stop(struct ast_udptl *udptl); void ast_udptl_init(void); -- cgit v1.2.3