aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk
diff options
context:
space:
mode:
authormartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-07-14 17:16:47 +0000
committermartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-07-14 17:16:47 +0000
commit592421c2955f5496d1333567d656289b1d5cd5d3 (patch)
treecccae360b948938caafdcf4131773e100ef93c63 /include/asterisk
parentf4033da0390206a7d4d0ab753c50677d9fadd410 (diff)
Add the possibility to delete all the contexts registered by a certain registrar with ast_merge_and_delete routine; make it the default behaviour when reloding extensions
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1187 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk')
-rwxr-xr-xinclude/asterisk/pbx.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asterisk/pbx.h b/include/asterisk/pbx.h
index e1d7f96e2..ae45e5e73 100755
--- a/include/asterisk/pbx.h
+++ b/include/asterisk/pbx.h
@@ -131,8 +131,9 @@ struct ast_context *ast_context_create(struct ast_context **extcontexts, char *n
//! Merge the temporary contexts into a global contexts list and delete from the global list the ones that are being added
/*!
* \param extcontexts pointer to the ast_context structure pointer
+ * \param registar of the context; if it's set the routine will delete all contexts that belong to that registrar; if NULL only the contexts that are specified in extcontexts
*/
-void ast_merge_contexts_and_delete(struct ast_context **extcontexts);
+void ast_merge_contexts_and_delete(struct ast_context **extcontexts, char *registrar);
//! Destroy a context (matches the specified context (or ANY context if NULL)
/*!