[Asterisk-cvs] asterisk/include/asterisk pbx.h,1.12,1.13

markster at lists.digium.com markster at lists.digium.com
Sat Oct 25 12:23:59 CDT 2003


Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv5772/include/asterisk

Modified Files:
	pbx.h 
Log Message:
Verify includes, and give warnings if invalid (bug #429)


Index: pbx.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/pbx.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- pbx.h	1 Oct 2003 21:01:31 -0000	1.12
+++ pbx.h	25 Oct 2003 17:50:06 -0000	1.13
@@ -376,6 +376,13 @@
  */
 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




More information about the svn-commits mailing list