diff options
Diffstat (limited to 'include/asterisk/config.h')
-rw-r--r-- | include/asterisk/config.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asterisk/config.h b/include/asterisk/config.h index 1c10d176b..2579ef279 100644 --- a/include/asterisk/config.h +++ b/include/asterisk/config.h @@ -560,6 +560,16 @@ int ast_realtime_enabled(void); struct ast_variable *ast_variables_dup(struct ast_variable *var); /*! + * \brief Reverse a variable list + * \param var the linked list of variables to reverse + * \return The head of the reversed variable list + * + * \note The variable list var is not preserved in this function and should + * not be used after reversing it. + */ +struct ast_variable *ast_variables_reverse(struct ast_variable *var); + +/*! * \brief Free variable list * \param var the linked list of variables to free * |