summaryrefslogtreecommitdiff
path: root/apps/app_speech_utils.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2007-01-05 23:32:42 +0000
committerKevin P. Fleming <kpfleming@digium.com>2007-01-05 23:32:42 +0000
commitcd73a483f15033a2c619e7551d8014638e05db4f (patch)
tree76ff7f6c897bdfda963986fdaacae6e6ffc39542 /apps/app_speech_utils.c
parent7cb197a5b723eaf131a3534436a451669105dd8a (diff)
const-ify some more APIs, and fix rev 49710 from branch-1.4 in a better way here
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49711 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_speech_utils.c')
-rw-r--r--apps/app_speech_utils.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/app_speech_utils.c b/apps/app_speech_utils.c
index 42b7fb031..e2b2d76f1 100644
--- a/apps/app_speech_utils.c
+++ b/apps/app_speech_utils.c
@@ -144,7 +144,7 @@ static struct ast_speech_result *find_result(struct ast_speech_result *results,
}
/*! \brief SPEECH_SCORE() Dialplan Function */
-static int speech_score(struct ast_channel *chan, char *cmd, char *data,
+static int speech_score(struct ast_channel *chan, const char *cmd, char *data,
char *buf, size_t len)
{
struct ast_speech_result *result = NULL;
@@ -172,7 +172,7 @@ static struct ast_custom_function speech_score_function = {
};
/*! \brief SPEECH_TEXT() Dialplan Function */
-static int speech_text(struct ast_channel *chan, char *cmd, char *data,
+static int speech_text(struct ast_channel *chan, const char *cmd, char *data,
char *buf, size_t len)
{
struct ast_speech_result *result = NULL;
@@ -198,7 +198,7 @@ static struct ast_custom_function speech_text_function = {
};
/*! \brief SPEECH_GRAMMAR() Dialplan Function */
-static int speech_grammar(struct ast_channel *chan, char *cmd, char *data,
+static int speech_grammar(struct ast_channel *chan, const char *cmd, char *data,
char *buf, size_t len)
{
struct ast_speech_result *result = NULL;
@@ -224,7 +224,7 @@ static struct ast_custom_function speech_grammar_function = {
};
/*! \brief SPEECH_ENGINE() Dialplan Function */
-static int speech_engine_write(struct ast_channel *chan, char *cmd, char *data, const char *value)
+static int speech_engine_write(struct ast_channel *chan, const char *cmd, char *data, const char *value)
{
struct ast_speech *speech = find_speech(chan);
@@ -247,7 +247,7 @@ static struct ast_custom_function speech_engine_function = {
};
/*! \brief SPEECH() Dialplan Function */
-static int speech_read(struct ast_channel *chan, char *cmd, char *data,
+static int speech_read(struct ast_channel *chan, const char *cmd, char *data,
char *buf, size_t len)
{
int results = 0;