summaryrefslogtreecommitdiff
path: root/channels/chan_local.c
diff options
context:
space:
mode:
authorOlle Johansson <oej@edvina.net>2009-10-29 12:20:16 +0000
committerOlle Johansson <oej@edvina.net>2009-10-29 12:20:16 +0000
commit64e8fb465bfdac782e8afac076c4367d528525a1 (patch)
treef9067fe8c3d417994896007e37a3e07966f247d0 /channels/chan_local.c
parent5bd895b24b0dcd95554d34522a478208d7a536b3 (diff)
Doxygen documentation update
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@226490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_local.c')
-rw-r--r--channels/chan_local.c27
1 files changed, 17 insertions, 10 deletions
diff --git a/channels/chan_local.c b/channels/chan_local.c
index 4d609afdd..331df9c20 100644
--- a/channels/chan_local.c
+++ b/channels/chan_local.c
@@ -98,18 +98,25 @@ static const struct ast_channel_tech local_tech = {
.bridged_channel = local_bridgedchannel,
};
+/*! \brief the local pvt structure for all channels
+
+ The local channel pvt has two ast_chan objects - the "owner" and the "next channel", the outbound channel
+
+ ast_chan owner -> local_pvt -> ast_chan chan -> yet-another-pvt-depending-on-channel-type
+
+*/
struct local_pvt {
- ast_mutex_t lock; /* Channel private lock */
- unsigned int flags; /* Private flags */
- char context[AST_MAX_CONTEXT]; /* Context to call */
- char exten[AST_MAX_EXTENSION]; /* Extension to call */
- int reqformat; /* Requested format */
+ ast_mutex_t lock; /*!< Channel private lock */
+ unsigned int flags; /*!< Private flags */
+ char context[AST_MAX_CONTEXT]; /*!< Context to call */
+ char exten[AST_MAX_EXTENSION]; /*!< Extension to call */
+ int reqformat; /*!< Requested format */
struct ast_jb_conf jb_conf; /*!< jitterbuffer configuration for this local channel */
- struct ast_channel *owner; /* Master Channel - Bridging happens here */
- struct ast_channel *chan; /* Outbound channel - PBX is run here */
- struct ast_module_user *u_owner; /*! reference to keep the module loaded while in use */
- struct ast_module_user *u_chan; /*! reference to keep the module loaded while in use */
- AST_LIST_ENTRY(local_pvt) list; /* Next entity */
+ struct ast_channel *owner; /*!< Master Channel - Bridging happens here */
+ struct ast_channel *chan; /*!< Outbound channel - PBX is run here */
+ struct ast_module_user *u_owner; /*!< reference to keep the module loaded while in use */
+ struct ast_module_user *u_chan; /*!< reference to keep the module loaded while in use */
+ AST_LIST_ENTRY(local_pvt) list; /*!< Next entity */
};
#define LOCAL_GLARE_DETECT (1 << 0) /*!< Detect glare on hangup */