mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-14 13:58:38 +00:00
add StopMixMonitor application (issue #6122, with mods)
Rename and export ast_complete_channels for use by cli completion functions that want to complete from the list of active channels git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10287 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -132,6 +132,15 @@ int ast_cli_generatornummatches(const char *, const char *);
|
||||
*/
|
||||
char **ast_cli_completion_matches(const char *, const char *);
|
||||
|
||||
/*!
|
||||
* \brief Command completion for the list of active channels
|
||||
*
|
||||
* This can be called from a CLI command completion function that wants to
|
||||
* complete from the list of active channels. 'rpos' is the required
|
||||
* position in the command. This function will return NULL immediately if
|
||||
* 'rpos' is not the same as the current position, 'pos'.
|
||||
*/
|
||||
char *ast_complete_channels(const char *line, const char *word, int pos, int state, int rpos);
|
||||
|
||||
#if defined(__cplusplus) || defined(c_plusplus)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user