diff options
author | Sean Bright <sean@malleable.com> | 2009-05-26 14:36:11 +0000 |
---|---|---|
committer | Sean Bright <sean@malleable.com> | 2009-05-26 14:36:11 +0000 |
commit | 3abe8a963e71298bd15d119aed496c7c24743b1a (patch) | |
tree | bfad54582b61426d2676f4f17195b3a384a9566c /include | |
parent | 9a83ed9d93217537cdb6585630edd304efa7fe5f (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/pbx.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asterisk/pbx.h b/include/asterisk/pbx.h index d086416d8..0a5819bb6 100644 --- a/include/asterisk/pbx.h +++ b/include/asterisk/pbx.h @@ -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 |