diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-05 23:32:42 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-05 23:32:42 +0000 |
commit | ec3737e8352a7e366a47323e2d01d3aff005d602 (patch) | |
tree | 76ff7f6c897bdfda963986fdaacae6e6ffc39542 /apps/app_speech_utils.c | |
parent | cf7c7b4b3d9f4a61b6a6650e1b08aca32d126cb7 (diff) |
const-ify some more APIs, and fix rev 49710 from branch-1.4 in a better way here
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49711 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_speech_utils.c')
-rw-r--r-- | apps/app_speech_utils.c | 10 |
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; |