summaryrefslogtreecommitdiff
path: root/res/res_xmpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_xmpp.c')
-rw-r--r--res/res_xmpp.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/res/res_xmpp.c b/res/res_xmpp.c
index 9e9d47c16..031d367a6 100644
--- a/res/res_xmpp.c
+++ b/res/res_xmpp.c
@@ -31,6 +31,16 @@
*
*/
+/*!
+ * \li The resource res_xmpp uses the configuration file \ref xmpp.conf
+ * \addtogroup configuration_file Configuration Files
+ */
+
+/*!
+ * \page xmpp.conf xmpp.conf
+ * \verbinclude xmpp.conf.sample
+ */
+
/*** MODULEINFO
<depend>iksemel</depend>
<use type="external">openssl</use>
@@ -4317,6 +4327,16 @@ static int client_buddy_handler(const struct aco_option *opt, struct ast_variabl
return 0;
}
+/*!
+ * \brief Load the module
+ *
+ * Module loading including tests for configuration or dependencies.
+ * This function can return AST_MODULE_LOAD_FAILURE, AST_MODULE_LOAD_DECLINE,
+ * or AST_MODULE_LOAD_SUCCESS. If a dependency or environment variable fails
+ * tests return AST_MODULE_LOAD_FAILURE. If the module can not load the
+ * configuration file or other non-critical problem return
+ * AST_MODULE_LOAD_DECLINE. On success return AST_MODULE_LOAD_SUCCESS.
+ */
static int load_module(void)
{
if (aco_info_init(&cfg_info)) {