• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*---------------------------------------------------------------------------*
2  *  mutualob.h  *
3  *                                                                           *
4  *  Copyright 2007, 2008 Nuance Communciations, Inc.                               *
5  *                                                                           *
6  *  Licensed under the Apache License, Version 2.0 (the 'License');          *
7  *  you may not use this file except in compliance with the License.         *
8  *                                                                           *
9  *  You may obtain a copy of the License at                                  *
10  *      http://www.apache.org/licenses/LICENSE-2.0                           *
11  *                                                                           *
12  *  Unless required by applicable law or agreed to in writing, software      *
13  *  distributed under the License is distributed on an 'AS IS' BASIS,        *
14  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
15  *  See the License for the specific language governing permissions and      *
16  *  limitations under the License.                                           *
17  *                                                                           *
18  *---------------------------------------------------------------------------*/
19 
20 
21 #ifndef _h_mutualob_
22 #define _h_mutualob_
23 
24 #include "frontpar.h"
25 
26 #ifndef SWIGBUILD
27 
28 typedef front_parameters CA_FrontendInputParams;
29 
30 typedef struct
31 {
32   int    ca_rtti;
33   /* IMPORTANT NOTE
34    *
35    * This structure is used by 'CA_WritePatternImage()'
36    * in the file "ca/cod_imag.c". Certain assumptions
37    * about the member types and order are made.
38    * DON'T change this structure without making
39    * appropriate changes to the above function.
40    */
41 
42   booldata    is_setup;
43   booldata    is_attached;
44   utterance_info data;
45 }
46 CA_Utterance;
47 #endif
48 
49 #define CA_SIGNATURE_PATTERN       0xca00
50 #define CA_VERIFY_SIGNATURE(X)       ((unsigned long)(X) & 0xca00)
51 
52 #define CA_ACOUSTIC_SIGNATURE                       0xca01
53 #define CA_ACOUSTIC_PARAMETERS_SIGNATURE            0xca02
54 #define CA_ARRAY_SIGNATURE                          0xca03
55 #define CA_ANNOTATION_SIGNATURE                     0xca04
56 #define CA_EXCEPTION_SIGNATURE                      0xca05
57 #define CA_FRONTEND_SIGNATURE                       0xca06
58 #define CA_FRONTEND_PARAMETERS_SIGNATURE            0xca07
59 #define CA_NBEST_LIST_SIGNATURE                     0xca08
60 #define CA_PATTERN_SIGNATURE                        0xca09
61 #define CA_PATTERN_PARAMETERS_SIGNATURE             0xca0a
62 #define CA_RECOGNIZER_SIGNATURE                     0xca0b
63 #define CA_RECOGNIZER_PARAMETERS_SIGNATURE          0xca0c
64 #define CA_SYNTAX_SIGNATURE                         0xca0d
65 #define CA_UTTERANCE_SIGNATURE                      0xca0e
66 #define CA_VOCABULARY_SIGNATURE                     0xca0f
67 #define CA_WAVE_SIGNATURE                           0xca10
68 #define CA_RESEARCH_SIGNATURE                       0xca11
69 
70 #endif
71