Rename ast_channel_emulate_dtmf_digit* funcs

The accessors names for the "emulate_dtmf_digit" field on the ast_channel
are misleading. Change them to ast_channel_dtmf_digit_to_emulate*.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@356183 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Terry Wilson
2012-02-22 00:35:54 +00:00
parent c25a442dfb
commit 3a9ac7c10c
3 changed files with 14 additions and 14 deletions

View File

@@ -354,13 +354,13 @@ void ast_channel_macroexten_set(struct ast_channel *chan, const char *value)
}
char ast_channel_emulate_dtmf_digit(const struct ast_channel *chan)
char ast_channel_dtmf_digit_to_emulate(const struct ast_channel *chan)
{
return chan->__do_not_use_emulate_dtmf_digit;
return chan->__do_not_use_dtmf_digit_to_emulate;
}
void ast_channel_emulate_dtmf_digit_set(struct ast_channel *chan, char value)
void ast_channel_dtmf_digit_to_emulate_set(struct ast_channel *chan, char value)
{
chan->__do_not_use_emulate_dtmf_digit = value;
chan->__do_not_use_dtmf_digit_to_emulate = value;
}
int ast_channel_amaflags(const struct ast_channel *chan)
{