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

« back to all changes in this revision

Viewing changes to oct612x/octdeviceapi/oct6100api/oct6100_events_priv.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
 
#ifndef cOCT6100_REMOVE_EVENTS
2
 
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
3
 
 
4
 
File:  oct6100_events_priv.h
5
 
 
6
 
    Copyright (c) 2001-2006 Octasic Inc.
7
 
    
8
 
Description: 
9
 
 
10
 
        File containing all private defines, macros, structures and prototypes 
11
 
        pertaining to the file oct6100_events.c.  All elements defined in this 
12
 
        file are for private usage of the API.  All public elements are defined 
13
 
        in the oct6100_events_pub.h file.
14
 
 
15
 
This file is part of the Octasic OCT6100 GPL API . The OCT6100 GPL API  is 
16
 
free software; you can redistribute it and/or modify it under the terms of 
17
 
the GNU General Public License as published by the Free Software Foundation; 
18
 
either version 2 of the License, or (at your option) any later version.
19
 
 
20
 
The OCT6100 GPL API is distributed in the hope that it will be useful, but 
21
 
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 
22
 
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 
23
 
for more details. 
24
 
 
25
 
You should have received a copy of the GNU General Public License 
26
 
along with the OCT6100 GPL API; if not, write to the Free Software 
27
 
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
28
 
 
29
 
$Octasic_Release: OCT612xAPI-01.00-PR43 $
30
 
 
31
 
$Octasic_Revision: 13 $
32
 
 
33
 
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
34
 
 
35
 
#ifndef __OCT6100_EVENTS_PRIV_H__
36
 
#define __OCT6100_EVENTS_PRIV_H__
37
 
 
38
 
/*****************************  INCLUDE FILES  *******************************/
39
 
 
40
 
 
41
 
/*****************************  DEFINES  *************************************/
42
 
 
43
 
#define mOCT6100_GET_TONE_EVENT_BUF_PNT( pSharedInfo, pSoftBuf )        \
44
 
                        pSoftBuf = ( PVOID )(( PUINT8 )pSharedInfo + pSharedInfo->SoftBufs.ulToneEventBufferMemOfst );
45
 
 
46
 
#define mOCT6100_GET_BUFFER_PLAYOUT_EVENT_BUF_PNT( pSharedInfo, pSoftBuf )      \
47
 
                        pSoftBuf = ( PVOID )(( PUINT8 )pSharedInfo + pSharedInfo->SoftBufs.ulBufPlayoutEventBufferMemOfst );
48
 
 
49
 
/*****************************  TYPES  ***************************************/
50
 
 
51
 
 
52
 
/************************** FUNCTION PROTOTYPES  *****************************/
53
 
 
54
 
UINT32 Oct6100ApiGetEventsSwSizes(
55
 
                                IN              tPOCT6100_CHIP_OPEN                                     f_pOpenChip,
56
 
                                OUT             tPOCT6100_API_INSTANCE_SIZES            f_pInstSizes );
57
 
 
58
 
UINT32 Oct6100EventGetToneSer(
59
 
                                IN OUT  tPOCT6100_INSTANCE_API                          f_pApiInstance,
60
 
                                IN OUT  tPOCT6100_EVENT_GET_TONE                        f_pEventGetTone );
61
 
 
62
 
UINT32 Oct6100ApiTransferToneEvents(
63
 
                                IN OUT  tPOCT6100_INSTANCE_API                          f_pApiInstance,
64
 
                                IN              UINT32                                                          f_ulResetBuf );
65
 
 
66
 
 
67
 
 
68
 
UINT32 Oct6100BufferPlayoutGetEventSer(
69
 
                                IN OUT  tPOCT6100_INSTANCE_API                          f_pApiInstance,
70
 
                                IN OUT  tPOCT6100_BUFFER_PLAYOUT_GET_EVENT      f_pBufPlayoutGetEvent );
71
 
 
72
 
UINT32 Oct6100BufferPlayoutTransferEvents(
73
 
                                IN OUT  tPOCT6100_INSTANCE_API                          f_pApiInstance,
74
 
                                IN              UINT32                                                          f_ulResetBuf );
75
 
 
76
 
UINT32 Oct6100BufferPlayoutCheckForSpecificEvent(
77
 
                                IN OUT  tPOCT6100_INSTANCE_API                          f_pApiInstance,
78
 
                                IN              UINT32                                                          f_ulChannelIndex,
79
 
                                IN              UINT32                                                          f_ulChannelPort,
80
 
                                IN              BOOL                                                            f_fSaveToSoftBuffer,
81
 
                                OUT             PBOOL                                                           f_pfEventDetected );
82
 
 
83
 
#endif /* __OCT6100_EVENTS_PRIV_H__ */
84
 
#endif /* cOCT6100_REMOVE_EVENTS */