summaryrefslogtreecommitdiff
path: root/include/asterisk/rtp.h
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2005-03-04 06:47:24 +0000
committerMark Spencer <markster@digium.com>2005-03-04 06:47:24 +0000
commit18d9b26cf9c2eb5b6d52e840b38abfeb16d681de (patch)
treed4f64d65fd10bb76d2839b641fa20091909210c5 /include/asterisk/rtp.h
parentfba0b595ab087cddcc11d950e88da7446f8ff6c2 (diff)
Rework channel structure to eliminate "pvt" portion of channel (bug #3573)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5137 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/rtp.h')
-rwxr-xr-xinclude/asterisk/rtp.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/include/asterisk/rtp.h b/include/asterisk/rtp.h
index 70ff0b7bc..03ac68f03 100755
--- a/include/asterisk/rtp.h
+++ b/include/asterisk/rtp.h
@@ -36,11 +36,14 @@ extern "C" {
#define AST_RTP_MAX AST_RTP_CISCO_DTMF
struct ast_rtp_protocol {
- struct ast_rtp *(*get_rtp_info)(struct ast_channel *chan); /* Get RTP struct, or NULL if unwilling to transfer */
- struct ast_rtp *(*get_vrtp_info)(struct ast_channel *chan); /* Get RTP struct, or NULL if unwilling to transfer */
- int (*set_rtp_peer)(struct ast_channel *chan, struct ast_rtp *peer, struct ast_rtp *vpeer, int codecs); /* Set RTP peer */
- int (*get_codec)(struct ast_channel *chan);
- char *type;
+ /* Get RTP struct, or NULL if unwilling to transfer */
+ struct ast_rtp *(* const get_rtp_info)(struct ast_channel *chan);
+ /* Get RTP struct, or NULL if unwilling to transfer */
+ struct ast_rtp *(* const get_vrtp_info)(struct ast_channel *chan);
+ /* Set RTP peer */
+ int (* const set_rtp_peer)(struct ast_channel *chan, struct ast_rtp *peer, struct ast_rtp *vpeer, int codecs);
+ int (* const get_codec)(struct ast_channel *chan);
+ const char * const type;
struct ast_rtp_protocol *next;
};