diff options
author | Richard Mudgett <rmudgett@digium.com> | 2013-12-19 17:13:53 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2013-12-19 17:13:53 +0000 |
commit | 3ccd5dee18dfbd64b01cba68790721680477df19 (patch) | |
tree | 00e9575547264fcdc6149a836bf317959dd982fa /include | |
parent | c061f634da53715c0aa17a450c1177a14fdf4713 (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/udptl.h | 16 |
1 files changed, 0 insertions, 16 deletions
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); |