diff options
author | Olle Johansson <oej@edvina.net> | 2006-11-30 20:34:23 +0000 |
---|---|---|
committer | Olle Johansson <oej@edvina.net> | 2006-11-30 20:34:23 +0000 |
commit | 446a06679aa0a1b96bb09d6e16514a12124686af (patch) | |
tree | 0da2f23a955767595459b78b97fd7ca1dee5cd68 /main/devicestate.c | |
parent | 1f2f5919b588b06228f78538b78c4666e4aba87e (diff) |
Documentation updates
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48164 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/devicestate.c')
-rw-r--r-- | main/devicestate.c | 19 |
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() * */ |