mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
res_phoneprov: Create accessor for ast_phoneprov_std_variable_lookup
Based on feedback from Richard, I created an accessor for res_phoneprov/ast_phoneprov_std_variable_lookup and added load priority to AST_MODULE_INFO. Tested-by: George Joseph Tested-by: Richard Mudgett Review: https://reviewboard.asterisk.org/r/4076/ ........ Merged revisions 425480 from http://svn.asterisk.org/svn/asterisk/branches/12 ........ Merged revisions 425481 from http://svn.asterisk.org/svn/asterisk/branches/13 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@425482 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -53,8 +53,13 @@ enum ast_phoneprov_std_variables {
|
||||
AST_PHONEPROV_STD_VAR_LIST_LENGTH, /* This entry must always be the last in the list */
|
||||
};
|
||||
|
||||
/*! \brief Lookup table for the standard phoneprov variable names */
|
||||
extern const char *ast_phoneprov_std_variable_lookup[];
|
||||
/*!
|
||||
* \brief Returns the string respresentation of a phoneprov standard variable.
|
||||
* \param var One of enum ast_phoneprov_std_variables
|
||||
*
|
||||
* \return The string representation or NULL if not found.
|
||||
*/
|
||||
const char *ast_phoneprov_std_variable_lookup(enum ast_phoneprov_std_variables var);
|
||||
|
||||
/*!
|
||||
* \brief Causes the provider to load its users.
|
||||
|
Reference in New Issue
Block a user