Verify includes, and give warnings if invalid (bug #429)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1667 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-10-25 17:50:06 +00:00
parent e425ba6c0e
commit 4d0e046a06
3 changed files with 25 additions and 0 deletions

View File

@@ -376,6 +376,13 @@ int ast_context_remove_include(char *context, char *include, char *registrar);
*/
int ast_context_remove_include2(struct ast_context *con, char *include, char *registrar);
//! Verifies includes in an ast_contect structure
/*!
* \param con context in which to verify the includes
* Returns 0 if no problems found, -1 if there were any missing context
*/
int ast_context_verify_includes(struct ast_context *con);
//! Add a switch
/*!
* \param context context to which to add the switch