diff options
author | Richard Mudgett <rmudgett@digium.com> | 2012-02-01 19:53:38 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2012-02-01 19:53:38 +0000 |
commit | 23bc964e1c45a7c614eb6d9dbfc4655e5bd9822e (patch) | |
tree | b778c55c24af5f9feb9d4cc1b478197519d01974 /channels/chan_multicast_rtp.c | |
parent | 797d633139a52a87736c04b71e31b1cb66e21e08 (diff) |
Constify some more channel driver technology callback parameters.
Review: https://reviewboard.asterisk.org/r/1707/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@353685 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_multicast_rtp.c')
-rw-r--r-- | channels/chan_multicast_rtp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/channels/chan_multicast_rtp.c b/channels/chan_multicast_rtp.c index f1cabcef4..c635b1056 100644 --- a/channels/chan_multicast_rtp.c +++ b/channels/chan_multicast_rtp.c @@ -56,8 +56,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") static const char tdesc[] = "Multicast RTP Paging Channel Driver"; /* Forward declarations */ -static struct ast_channel *multicast_rtp_request(const char *type, struct ast_format_cap *cap, const struct ast_channel *requestor, void *data, int *cause); -static int multicast_rtp_call(struct ast_channel *ast, char *dest, int timeout); +static struct ast_channel *multicast_rtp_request(const char *type, struct ast_format_cap *cap, const struct ast_channel *requestor, const char *data, int *cause); +static int multicast_rtp_call(struct ast_channel *ast, const char *dest, int timeout); static int multicast_rtp_hangup(struct ast_channel *ast); static struct ast_frame *multicast_rtp_read(struct ast_channel *ast); static int multicast_rtp_write(struct ast_channel *ast, struct ast_frame *f); @@ -88,7 +88,7 @@ static int multicast_rtp_write(struct ast_channel *ast, struct ast_frame *f) } /*! \brief Function called when we should actually call the destination */ -static int multicast_rtp_call(struct ast_channel *ast, char *dest, int timeout) +static int multicast_rtp_call(struct ast_channel *ast, const char *dest, int timeout) { struct ast_rtp_instance *instance = ast->tech_pvt; @@ -110,7 +110,7 @@ static int multicast_rtp_hangup(struct ast_channel *ast) } /*! \brief Function called when we should prepare to call the destination */ -static struct ast_channel *multicast_rtp_request(const char *type, struct ast_format_cap *cap, const struct ast_channel *requestor, void *data, int *cause) +static struct ast_channel *multicast_rtp_request(const char *type, struct ast_format_cap *cap, const struct ast_channel *requestor, const char *data, int *cause) { char *tmp = ast_strdupa(data), *multicast_type = tmp, *destination, *control; struct ast_rtp_instance *instance; |