diff options
author | Terry Wilson <twilson@digium.com> | 2012-02-13 17:27:06 +0000 |
---|---|---|
committer | Terry Wilson <twilson@digium.com> | 2012-02-13 17:27:06 +0000 |
commit | 34c55e8e7c87a92181fca3e0101dc456eef2475b (patch) | |
tree | ad27fca98a7df582348e14b0aaa42f0065cdef99 /apps/app_dumpchan.c | |
parent | a955a4770fcdd7874e1337e7df694bcd293e020e (diff) |
Opaquify char * and char[] in ast_channel
Review: https://reviewboard.asterisk.org/r/1733/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@354968 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_dumpchan.c')
-rw-r--r-- | apps/app_dumpchan.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/app_dumpchan.c b/apps/app_dumpchan.c index c59d32edf..8e9c749ae 100644 --- a/apps/app_dumpchan.c +++ b/apps/app_dumpchan.c @@ -160,14 +160,14 @@ static int serialize_showchan(struct ast_channel *c, char *buf, size_t size) sec, c->_bridge ? ast_channel_name(c->_bridge) : "<none>", ast_bridged_channel(c) ? ast_channel_name(ast_bridged_channel(c)) : "<none>", - c->context, - c->exten, + ast_channel_context(c), + ast_channel_exten(c), c->priority, ast_print_group(cgrp, sizeof(cgrp), c->callgroup), ast_print_group(pgrp, sizeof(pgrp), c->pickupgroup), - c->appl ? c->appl : "(N/A)", - c->data ? S_OR(c->data, "(Empty)") : "(None)", - (ast_test_flag(c, AST_FLAG_BLOCKING) ? c->blockproc : "(Not Blocking)")); + ast_channel_appl(c) ? ast_channel_appl(c) : "(N/A)", + ast_channel_data(c) ? S_OR(ast_channel_data(c), "(Empty)") : "(None)", + (ast_test_flag(c, AST_FLAG_BLOCKING) ? ast_channel_blockproc(c) : "(Not Blocking)")); return 0; } |