summaryrefslogtreecommitdiff
path: root/res/res_phoneprov.c
diff options
context:
space:
mode:
authorAndrew Latham <lathama@gmail.com>2012-10-01 23:24:10 +0000
committerAndrew Latham <lathama@gmail.com>2012-10-01 23:24:10 +0000
commite11cc293602b6c35ed94722bc52376acf6c38164 (patch)
treee07bed81cd6d19b703044202933bbc9dd9cf1915 /res/res_phoneprov.c
parent14be2a55144d3a6ee73d6df9442b703b00bfc482 (diff)
Doxygen Cleanup
Start adding configuration file linking and pages. Add module loading doxygen block. Breaking up commits to keep it easy to track (issue ASTERISK-20259) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@374165 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_phoneprov.c')
-rw-r--r--res/res_phoneprov.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/res/res_phoneprov.c b/res/res_phoneprov.c
index 4ae7efe8f..aa38d60c0 100644
--- a/res/res_phoneprov.c
+++ b/res/res_phoneprov.c
@@ -26,6 +26,16 @@
* \author Terry Wilson <twilson@digium.com>
*/
+/*!
+ * \li The resource res_phoneprov uses the configuration file \ref phoneprov.conf
+ * \addtogroup configuration_file Configuration Files
+ */
+
+/*!
+ * \page phoneprov.conf phoneprov.conf
+ * \verbinclude phoneprov.conf.sample
+ */
+
/*** MODULEINFO
<support_level>extended</support_level>
***/
@@ -1270,6 +1280,16 @@ static struct ast_http_uri phoneprovuri = {
.key = __FILE__,
};
+/*!
+ * \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)
{
profiles = ao2_container_alloc(MAX_PROFILE_BUCKETS, profile_hash_fn, profile_cmp_fn);