summaryrefslogtreecommitdiff
path: root/include/asterisk/phoneprov.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk/phoneprov.h')
-rw-r--r--include/asterisk/phoneprov.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/asterisk/phoneprov.h b/include/asterisk/phoneprov.h
index 364a574be..24e8cc9fc 100644
--- a/include/asterisk/phoneprov.h
+++ b/include/asterisk/phoneprov.h
@@ -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.