diff options
Diffstat (limited to 'res/res_calendar.c')
-rw-r--r-- | res/res_calendar.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/res/res_calendar.c b/res/res_calendar.c index 8c349946b..dd2a643c5 100644 --- a/res/res_calendar.c +++ b/res/res_calendar.c @@ -23,6 +23,16 @@ * \todo Support writing attendees */ +/*! + * \li The resource res_calendar uses the configuration file \ref calendar.conf + * \addtogroup configuration_file Configuration Files + */ + +/*! + * \page calendar.conf calendar.conf + * \verbinclude calendar.conf.sample + */ + /*** MODULEINFO <support_level>core</support_level> ***/ @@ -1830,6 +1840,16 @@ static int unload_module(void) 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 (!(calendars = ao2_container_alloc(CALENDAR_BUCKETS, calendar_hash_fn, calendar_cmp_fn))) { |