]> git.ipfire.org Git - thirdparty/asterisk.git/commit
CLI: Create ast_cli_completion_add function.
authorCorey Farrell <git@cfware.com>
Thu, 9 Nov 2017 05:42:10 +0000 (00:42 -0500)
committerCorey Farrell <git@cfware.com>
Tue, 21 Nov 2017 14:41:21 +0000 (09:41 -0500)
commit6748f690f5d0e40044fbe440303154b133dd6619
tree3a0ed87252bd908dd98954a23248f7575a190489
parent369e77d68b2239dd6d791642c4dae8a0a8cf7ddc
CLI: Create ast_cli_completion_add function.

Some completion generators are very inefficent due to the way CLI
requests matches one at a time.  ast_cli_completion_add can be called
multiple times during one invokation of a CLI generator to add all
results without having to reinitialize the search state for each match.

Change-Id: I73d26d270bbbe1e3e6390799cfc1b639e39cceec
include/asterisk/cli.h
main/cli.c