Merge "realtime: Centralize some common realtime backend code"

This commit is contained in:
Joshua Colp
2017-02-22 05:53:50 -06:00
committed by Gerrit Code Review
8 changed files with 37 additions and 25 deletions

View File

@@ -833,6 +833,18 @@ const char *ast_config_option(struct ast_config *cfg, const char *cat, const cha
*/
struct ast_category *ast_category_new(const char *name, const char *in_file, int lineno);
/*!
* \brief Create a category that is not backed by a file
*
* \param name name of new category
*/
#define ast_category_new_dynamic(name) ast_category_new(name, "", -1)
/*!
* \brief Create a nameless category that is not backed by a file
*/
#define ast_category_new_anonymous() ast_category_new_dynamic("")
/*!
* \brief Create a category making it a template
*