diff options
author | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-05-26 14:36:11 +0000 |
---|---|---|
committer | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-05-26 14:36:11 +0000 |
commit | f59511529256c3c05b7d9ee7554a539a44cba7a2 (patch) | |
tree | bfad54582b61426d2676f4f17195b3a384a9566c /include | |
parent | 9d7571a4414c433ce06e719aaa9fe63d363ecce4 (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: http://svn.digium.com/svn/asterisk/trunk@196758 f38db490-d61c-443f-a65b-d21fe96a405b
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 |