summaryrefslogtreecommitdiff
path: root/channels/chan_oss.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/chan_oss.c')
-rw-r--r--channels/chan_oss.c22
1 files changed, 19 insertions, 3 deletions
diff --git a/channels/chan_oss.c b/channels/chan_oss.c
index 0e3b02b69..504cb902c 100644
--- a/channels/chan_oss.c
+++ b/channels/chan_oss.c
@@ -27,12 +27,18 @@
* \author Mark Spencer <markster@digium.com>
* \author Luigi Rizzo
*
- * \par See also
- * \arg \ref Config_oss
- *
* \ingroup channel_drivers
*/
+/*!
+ * \li The channel chan_oss uses the configuration file \ref oss.conf
+ * \addtogroup configuration_file
+ */
+
+/*! \page oss.conf oss.conf
+ * \verbinclude oss.conf.sample
+ */
+
/*** MODULEINFO
<depend>oss</depend>
<support_level>extended</support_level>
@@ -1436,6 +1442,16 @@ error:
#endif
}
+/*!
+ * \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)
{
struct ast_config *cfg = NULL;