]> 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:47:40 +0000 (09:47 -0500)
commit8a63f4e7093b619d7e9b84bf7f3df7aa92aa0d33
tree8e3e4cacfd107c1869db6c717fc455912fe96f14
parent115f53a0fb19138f07ca0c03f06f4a557d663f1f
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