diff options
Diffstat (limited to 'res/res_config_ldap.c')
-rw-r--r-- | res/res_config_ldap.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/res/res_config_ldap.c b/res/res_config_ldap.c index 0818c494b..b7df2a13b 100644 --- a/res/res_config_ldap.c +++ b/res/res_config_ldap.c @@ -31,6 +31,16 @@ * OpenLDAP http://www.openldap.org */ +/*! + * \li The resource res_config_ldap uses the configuration file \ref res_ldap.conf + * \addtogroup configuration_file Configuration Files + */ + +/*! + * \page res_ldap.conf res_ldap.conf + * \verbinclude res_ldap.conf.sample + */ + /*** MODULEINFO <depend>ldap</depend> <support_level>extended</support_level> @@ -1542,6 +1552,16 @@ static struct ast_config_engine ldap_engine = { .update2_func = update2_ldap, }; +/*! + * \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 (parse_config() < 0) { |