pbx: Make function and application containers take advantage of being sorted.
authorRichard Mudgett <rmudgett@digium.com>
Sat, 9 Feb 2013 03:51:32 +0000 (03:51 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Sat, 9 Feb 2013 03:51:32 +0000 (03:51 +0000)
commit1e65035d17b9774a959219e7ba68ff608639ba99
treee9d8052827b4698c7f47fd4b3b9abb89f8851f74
parent5b236ee647c5fb3e220a0e6405b5bf6a21ba6e1c
pbx: Make function and application containers take advantage of being sorted.

* Fixed "core show function" tab completion and token count checking.

* Refactored function and application container handling code to reduce
redundancy.

* Made __ast_pbx_run() return using the defines the caller should expect.
Doesn't change the returned values.  Just made use the defines.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@381102 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/pbx.c