aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/channel.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk/channel.h')
-rw-r--r--include/asterisk/channel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h
index 88897fd3b..0d07b5d62 100644
--- a/include/asterisk/channel.h
+++ b/include/asterisk/channel.h
@@ -301,10 +301,10 @@ struct ast_channel_tech {
struct ast_channel *(* const bridged_channel)(struct ast_channel *chan, struct ast_channel *bridge);
/*! \brief Provide additional read items for CHANNEL() dialplan function */
- int (* func_channel_read)(struct ast_channel *chan, char *function, char *data, char *buf, size_t len);
+ int (* func_channel_read)(struct ast_channel *chan, const char *function, char *data, char *buf, size_t len);
/*! \brief Provide additional write items for CHANNEL() dialplan function */
- int (* func_channel_write)(struct ast_channel *chan, char *function, char *data, const char *value);
+ int (* func_channel_write)(struct ast_channel *chan, const char *function, char *data, const char *value);
};
struct ast_channel_spy_list; /*!< \todo Add explanation here */