aboutsummaryrefslogtreecommitdiffstats
path: root/main/devicestate.c
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-30 20:34:23 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-30 20:34:23 +0000
commit7d8d79e3aedd9d282ed3725103bc69301d6f76be (patch)
tree0da2f23a955767595459b78b97fd7ca1dee5cd68 /main/devicestate.c
parent206a2148e065836dd57d9ecd935681de5e0e15cb (diff)
Documentation updates
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48164 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/devicestate.c')
-rw-r--r--main/devicestate.c19
1 files changed, 18 insertions, 1 deletions
diff --git a/main/devicestate.c b/main/devicestate.c
index 2fd8d82bd..4a881afef 100644
--- a/main/devicestate.c
+++ b/main/devicestate.c
@@ -67,7 +67,7 @@
* system. res_jabber.c can subscribe and watch such states
* in jabber/xmpp based systems.
*
- * \section AstExtStateARch Architecture
+ * \section AstDevStateArch Architecture for devicestates
*
* When a channel driver or asterisk app changes state for
* a watched object, it alerts the core. The core queues
@@ -84,9 +84,26 @@
* - Device states
* \arg \ref devicestate.c
* \arg \ref devicestate.h
+ *
+ * \section AstExtStateArch Architecture for extension states
+ *
+ * Hints are connected to extension. If an extension changes state
+ * it checks the hint devices. If there is a hint, the callbacks into
+ * device states are checked. The aggregated state is set for the hint
+ * and reported back.
+ *
* - Extension states
+ * \arg \ref enum ast_extension_states
* \arg \ref pbx.c
* \arg \ref pbx.h
+ * - Structures
+ * - \ref struct ast_state_cb Callbacks for watchers
+ * - Callback ast_state_cb_type
+ * - \ref struct ast_hint
+ * - Functions
+ * - ast_extension_state_add()
+ * - ast_extension_state_del()
+ * - ast_get_hint()
*
*/