mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
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
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user