~ubuntu-branches/ubuntu/quantal/zaptel/quantal

« back to all changes in this revision

Viewing changes to oct612x/include/oct6100api/oct6100_conf_bridge_inst.h

  • Committer: Bazaar Package Importer
  • Author(s): Tzafrir Cohen
  • Date: 2008-08-28 22:58:23 UTC
  • mfrom: (11.1.11 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080828225823-r8bdunirm8hmc76m
Tags: 1:1.4.11~dfsg-2
* Patch xpp_fxs_power: Fixed an issue with hook detection of the Astribank
  FXS module.
* Don't fail init.d script if fxotune fails. This may happen if running it
  when Asterisk is already running.
* Bump standards version to 3.8.0.0 .
* Ignore false lintian warning ("m-a a-i" has "a a").
* Patch xpp_fxo_cid_always: do always pass PCM if that's what the user
  asked.
* Patch vzaphfc_proc_root_dir: fix vzaphfc on 2.6.26.
* Patch wcte12xp_flags: Proper time for irq save flags.
* Patch headers_2627: Fix location of semaphore.h for 2.6.27 .
* Patch xpp_fxs_dtmf_leak: Don't play DTMFs to the wrong channel.
* Patch wctdm_fix_alarm: Fix sending channel alarms.
* Patch device_class_2626: Fix building 2.6.26 (Closes: #493397).
* Using dh_lintian for lintian overrides, hence requiring debhelper 6.0.7.
* Lintian: we know we have direct changes. Too bad we're half-upstream :-(
* Fix doc-base section names. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
2
 
 
3
 
File:  oct6100_conf_bridge_inst.h
4
 
 
5
 
    Copyright (c) 2001-2006 Octasic Inc.
6
 
    
7
 
Description: 
8
 
 
9
 
        File containing all defines, macros, and structures pertaining to the file
10
 
        oct6100_conf_bridge.c.  All elements defined in this file are for public
11
 
        usage of the API.  All private elements are defined in the
12
 
        oct6100_conf_bridge_priv.h file.
13
 
 
14
 
This file is part of the Octasic OCT6100 GPL API . The OCT6100 GPL API  is 
15
 
free software; you can redistribute it and/or modify it under the terms of 
16
 
the GNU General Public License as published by the Free Software Foundation; 
17
 
either version 2 of the License, or (at your option) any later version.
18
 
 
19
 
The OCT6100 GPL API is distributed in the hope that it will be useful, but 
20
 
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 
21
 
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 
22
 
for more details. 
23
 
 
24
 
You should have received a copy of the GNU General Public License 
25
 
along with the OCT6100 GPL API; if not, write to the Free Software 
26
 
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
27
 
 
28
 
$Octasic_Release: OCT612xAPI-01.00-PR43 $
29
 
 
30
 
$Octasic_Revision: 19 $
31
 
 
32
 
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
33
 
 
34
 
#ifndef __OCT6100_CONF_BRIDGE_INST_H__
35
 
#define __OCT6100_CONF_BRIDGE_INST_H__
36
 
 
37
 
/*****************************  INCLUDE FILES  *******************************/
38
 
 
39
 
 
40
 
/*****************************  DEFINES  *************************************/
41
 
 
42
 
 
43
 
/*****************************  TYPES  ***************************************/
44
 
 
45
 
typedef struct _OCT6100_API_CONF_BRIDGE_
46
 
{
47
 
        /* Flag specifying whether the entry is used or not. */
48
 
        UINT8   fReserved;
49
 
 
50
 
        /* Entry counter for the resources. */
51
 
        UINT8   byEntryOpenCnt;
52
 
 
53
 
        /* Next bridge pointer. */
54
 
        UINT16  usNextBridgePtr;
55
 
 
56
 
        /* Previous bridge pointer. */
57
 
        UINT16  usPrevBridgePtr;
58
 
 
59
 
        /* Number of clients connected to the bridge. */
60
 
        UINT16  usNumClients;
61
 
 
62
 
        /* Store the index of the load event, to diffentiate him form the accumulate. */
63
 
        UINT16  usLoadIndex;
64
 
 
65
 
        /* Pointer to the first bridge events.*/
66
 
        UINT16  usFirstLoadEventPtr;
67
 
        UINT16  usFirstSubStoreEventPtr;
68
 
        UINT16  usLastSubStoreEventPtr;
69
 
 
70
 
        /* Pointer to the silence load event, if it exists. */
71
 
        UINT16  usSilenceLoadEventPtr;
72
 
 
73
 
        /* Flag specifying whether the dominant speaker is set or not. */
74
 
        UINT16  usDominantSpeakerChanIndex;
75
 
        UINT8   fDominantSpeakerSet;
76
 
 
77
 
        /* Flag specifying if this is flexible conferencing bridge. */
78
 
        UINT8   fFlexibleConferencing;
79
 
        
80
 
        /* Number of clients being tapped. */
81
 
        UINT16  usNumTappedClients;
82
 
 
83
 
} tOCT6100_API_CONF_BRIDGE, *tPOCT6100_API_CONF_BRIDGE;
84
 
 
85
 
typedef struct _OCT6100_API_FLEX_CONF_PARTICIPANT_
86
 
{
87
 
        /* Input port of the conferencing for this participant. */
88
 
        UINT32  ulInputPort;
89
 
 
90
 
        /* Whether the flexible mixer has been created. */
91
 
        UINT8   fFlexibleMixerCreated;
92
 
 
93
 
        /* Listener mask ( who can hear us ). */
94
 
        UINT32  ulListenerMask;
95
 
 
96
 
        /* Our index in the listener mask. */
97
 
        UINT32  ulListenerMaskIndex;
98
 
 
99
 
        /* Mixer event indexes for this participant's mixer. */
100
 
        UINT16  ausLoadOrAccumulateEventIndex[ cOCT6100_MAX_FLEX_CONF_PARTICIPANTS_PER_BRIDGE ];
101
 
 
102
 
} tOCT6100_API_FLEX_CONF_PARTICIPANT, *tPOCT6100_API_FLEX_CONF_PARTICIPANT;
103
 
 
104
 
#endif /* __OCT6100_CONF_BRIDGE_INST_H__ */