Debian Codegraph @

xpp/oct612x/include/oct6100api/oct6100_tone_detection_pub.h

raw
1 /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
2
3 File: oct6100_tone_detection_pub.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_tone_detection.c. All elements defined in this file are for public
11 usage of the API. All private elements are defined in the
12 oct6100_tone_detection_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: 10 $
31
32 \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
33
34 #ifndef __OCT6100_TONE_DETECTION_PUB_H__
35 #define __OCT6100_TONE_DETECTION_PUB_H__
36
37 /***************************** INCLUDE FILES *******************************/
38
39
40 /***************************** DEFINES *************************************/
41
42
43 /***************************** TYPES ***************************************/
44
45 typedef struct _OCT6100_TONE_DETECTION_ENABLE_
46 {
47 UINT32 ulChannelHndl;
48 UINT32 ulToneNumber;
49
50 } tOCT6100_TONE_DETECTION_ENABLE, *tPOCT6100_TONE_DETECTION_ENABLE;
51
52 typedef struct _OCT6100_TONE_DETECTION_DISABLE_
53 {
54 UINT32 ulChannelHndl;
55 UINT32 ulToneNumber;
56 BOOL fDisableAll;
57
58 } tOCT6100_TONE_DETECTION_DISABLE, *tPOCT6100_TONE_DETECTION_DISABLE;
59
60 /************************** FUNCTION PROTOTYPES *****************************/
61
62 UINT32 Oct6100ToneDetectionEnableDef(
63 OUT tPOCT6100_TONE_DETECTION_ENABLE f_pBufferLoad );
64 UINT32 Oct6100ToneDetectionEnable(
65 IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
66 IN OUT tPOCT6100_TONE_DETECTION_ENABLE f_pBufferLoad );
67
68 UINT32 Oct6100ToneDetectionDisableDef(
69 OUT tPOCT6100_TONE_DETECTION_DISABLE f_pBufferUnload );
70 UINT32 Oct6100ToneDetectionDisable(
71 IN OUT tPOCT6100_INSTANCE_API f_pApiInstance,
72 IN OUT tPOCT6100_TONE_DETECTION_DISABLE f_pBufferUnload );
73
74 #endif /* __OCT6100_TONE_DETECTION_PUB_H__ */