~vibhavp/ubuntu/raring/dahdi-tools/merge-from-debian

« back to all changes in this revision

Viewing changes to xpp/oct612x/include/oct6100api/oct6100_adpcm_chan_inst.h

  • Committer: Vibhav Pant
  • Date: 2012-12-26 17:23:16 UTC
  • mfrom: (2.1.6 sid)
  • Revision ID: vibhavp@gmail.com-20121226172316-o2jojsfcnr0aqrme
* Merge from Debian unstable. Remaining changes:
  - Bug Fix: If linux-headers are not installed, don't block, and print
    information for the user.
  - added debian/dahdi.postinst
  - added --error-handler=init_failed to debian/rules
  - debian/control: Added gawk as dependency for dkms build (LP: #493304)
  - Changes from Debian:
    - debian/control: Change Maintainer
    - debian/control: Removed Uploaders field.
    - debian/control: Removed Debian Vcs-Svn entry and replaced with
      ubuntu-voip Vcs-Bzr, to reflect divergence in packages.
    - debian/control: Package dahdi Depends on dahdi-dkms | dahdi-source 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
 
2
 
 
3
File:  oct6100_adpcm_chan_inst.h
 
4
 
 
5
    Copyright (c) 2001-2007 Octasic Inc.
 
6
    
 
7
Description: 
 
8
 
 
9
        File containing all defines, macros, and structures pertaining to the file
 
10
        oct6100_adpcm_chan.c.  All elements defined in this file are for public
 
11
        usage of the API.  All private elements are defined in the
 
12
        oct6100_adpcm_chan_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-PR49 $
 
29
 
 
30
$Octasic_Revision: 6 $
 
31
 
 
32
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
 
33
 
 
34
#ifndef __OCT6100_ADPCM_CHAN_INST_H__
 
35
#define __OCT6100_ADPCM_CHAN_INST_H__
 
36
 
 
37
/*****************************  INCLUDE FILES  *******************************/
 
38
 
 
39
/*****************************  DEFINES  *************************************/
 
40
 
 
41
/*****************************  TYPES  ***************************************/
 
42
 
 
43
typedef struct _OCT6100_API_ADPCM_CHAN_
 
44
{
 
45
        /* Flag specifying whether the entry is used or not. */
 
46
        UINT8   fReserved;
 
47
        
 
48
        /* Count used to manage entry handles allocated to user. */
 
49
        UINT8   byEntryOpenCnt;
 
50
 
 
51
        /* TSI chariot memory entry. */
 
52
        UINT16  usTsiMemIndex;
 
53
        
 
54
        /* ADPCM memory entry. */
 
55
        UINT16  usAdpcmMemIndex;
 
56
 
 
57
        /* Input and output timeslot information. */
 
58
        UINT16  usInputTimeslot;
 
59
        UINT16  usInputStream;
 
60
        UINT8   byInputNumTssts;
 
61
        UINT8   byInputPcmLaw;
 
62
 
 
63
        UINT16  usOutputTimeslot;
 
64
        UINT16  usOutputStream;
 
65
        UINT8   byOutputNumTssts;
 
66
        UINT8   byOutputPcmLaw;
 
67
 
 
68
        /* Internal info for quick access to structures associated to this TSI cnct. */
 
69
        UINT16  usInputTsstIndex;
 
70
        UINT16  usOutputTsstIndex;
 
71
 
 
72
} tOCT6100_API_ADPCM_CHAN, *tPOCT6100_API_ADPCM_CHAN;
 
73
 
 
74
#endif /* __OCT6100_ADPCM_CHAN_INST_H__ */