update the internal cli api following comments from kevin.
authorLuigi Rizzo <rizzo@icir.org>
Wed, 15 Nov 2006 14:11:28 +0000 (14:11 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Wed, 15 Nov 2006 14:11:28 +0000 (14:11 +0000)
commit1781f41b3b35f0402bc332acba07982534c05481
treec3a5d3915c36e857aa4f6d73e033597aa0c2d031
parent993c6823e6e69d1083cb4bc14ee9e08f64f675b5
update the internal cli api following comments from kevin.
This change basically simplifies the interface of the
new-style handler removing almost all the tricks used in
the previous implementation to achieve backward compatibility
(which is still present and guaranteed.)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47652 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/cli.h
main/cli.c