summaryrefslogtreecommitdiff
path: root/res/res_timing_kqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_timing_kqueue.c')
-rw-r--r--res/res_timing_kqueue.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/res/res_timing_kqueue.c b/res/res_timing_kqueue.c
index d065df621..67ab0ba38 100644
--- a/res/res_timing_kqueue.c
+++ b/res/res_timing_kqueue.c
@@ -21,6 +21,8 @@
* \author Tilghman Lesher \verbatim <tlesher AT digium DOT com> \endverbatim
*
* \brief kqueue timing interface
+ *
+ * \ingroup resource
*/
/*** MODULEINFO
@@ -360,6 +362,16 @@ AST_TEST_DEFINE(test_kqueue_timing)
}
#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)
{
if (!(kqueue_timers = ao2_container_alloc(563, kqueue_timer_hash, kqueue_timer_cmp))) {