diff options
author | Mark Spencer <markster@digium.com> | 2003-10-25 17:50:06 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2003-10-25 17:50:06 +0000 |
commit | 4d0e046a068edce8f898d17f713d3865e9d8f8dd (patch) | |
tree | c163913c8f39ede741e20c64b56d3467f9ddc0cb /include/asterisk/pbx.h | |
parent | e425ba6c0e8f1e1e02ee4129709f2d64d10e35d8 (diff) |
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
Diffstat (limited to 'include/asterisk/pbx.h')
-rwxr-xr-x | include/asterisk/pbx.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asterisk/pbx.h b/include/asterisk/pbx.h index 23366d2eb..9beb5667a 100755 --- a/include/asterisk/pbx.h +++ b/include/asterisk/pbx.h @@ -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 |