summaryrefslogtreecommitdiff
path: root/include/asterisk
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2016-04-07 15:11:17 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2016-04-07 15:11:17 -0500
commit724c16c5434e3905d7ae28e9661772f8794d7c53 (patch)
tree25d259d2df0bf803e81d8483376cb14ec548aa88 /include/asterisk
parent2eaeea690d14a2c9b8eb962a021a957abdb4444d (diff)
parent1dc5e28624299b245da798418bec1fbc22872ac9 (diff)
Merge "pbx: Add support for autohints."
Diffstat (limited to 'include/asterisk')
-rw-r--r--include/asterisk/pbx.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asterisk/pbx.h b/include/asterisk/pbx.h
index f5feb9366..3b3b84150 100644
--- a/include/asterisk/pbx.h
+++ b/include/asterisk/pbx.h
@@ -288,6 +288,15 @@ int pbx_exec(struct ast_channel *c, struct ast_app *app, const char *data);
struct ast_context *ast_context_find_or_create(struct ast_context **extcontexts, struct ast_hashtab *exttable, const char *name, const char *registrar);
/*!
+ * \brief Enable or disable autohints support on a context
+ *
+ * \param con pointer to the context
+ * \param enabled whether autohints are enabled
+ *
+ */
+void ast_context_set_autohints(struct ast_context *con, int enabled);
+
+/*!
* \brief Merge the temporary contexts into a global contexts list and delete from the
* global list the ones that are being added
*