summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJonathan Rose <jrose@digium.com>2013-06-07 16:07:18 +0000
committerJonathan Rose <jrose@digium.com>2013-06-07 16:07:18 +0000
commit8954661207d94e88ec18d9d9854c8a49d27b8ce9 (patch)
tree611309cf9b1ff3c9c46f3f61fa13246b0ee8d0f6 /include
parentbec2d7948419761c082c7965e847ae4961ee1e27 (diff)
res_parking: Automatically generate extensions, hints, etc.
(closes issue ASTERISK-21645) Reported by: Matt Jordan Review: https://reviewboard.asterisk.org/r/2545/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@390849 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/pbx.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/asterisk/pbx.h b/include/asterisk/pbx.h
index fbaba4b9c..825dae7bd 100644
--- a/include/asterisk/pbx.h
+++ b/include/asterisk/pbx.h
@@ -470,6 +470,17 @@ int ast_add_extension2(struct ast_context *con, int replace, const char *extensi
const char *application, void *data, void (*datad)(void *), const char *registrar);
/*!
+ * \brief Same as ast_add_extension2, but assumes you have already locked context
+ * \since 12.0.0
+ *
+ * \note con must be write locked prior to calling. For details about the arguments,
+ * check ast_add_extension2()
+ */
+int ast_add_extension2_nolock(struct ast_context *con, int replace, const char *extension,
+ int priority, const char *label, const char *callerid,
+ const char *application, void *data, void (*datad)(void *), const char *registrar);
+
+/*!
* \brief Map devstate to an extension state.
*
* \param[in] devstate device state