mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-11 15:18:38 +00:00
Add new ast_complete_applications function so that we can use it with the
'channel originate ... application <app>' CLI command. (And yeah, I cleaned up some whitespace in res_clioriginate.c... big whoop, wanna fight about it!?) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@196758 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1199,6 +1199,14 @@ int ast_hashtab_compare_contexts(const void *ah_a, const void *ah_b);
|
||||
unsigned int ast_hashtab_hash_contexts(const void *obj);
|
||||
/*! @} */
|
||||
|
||||
/*!
|
||||
* \brief Command completion for the list of installed applications.
|
||||
*
|
||||
* This can be called from a CLI command completion function that wants to
|
||||
* complete from the list of available applications.
|
||||
*/
|
||||
char *ast_complete_applications(const char *line, const char *word, int state);
|
||||
|
||||
#if defined(__cplusplus) || defined(c_plusplus)
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user