comparison src/gpf2/ccd/ccd_err.h @ 1:864b8cc0cf63

src/gpf2: preened GPF goo from TCS211
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 25 Sep 2016 23:38:58 +0000
parents
children
comparison
equal deleted inserted replaced
0:945cf7f506b2 1:864b8cc0cf63
1 /*
2 +-----------------------------------------------------------------------------
3 | Project :
4 | Modul : ccd_err.h
5 +-----------------------------------------------------------------------------
6 | Copyright 2004 Texas Instruments Berlin, AG
7 | All rights reserved.
8 |
9 | This file is confidential and a trade secret of Texas
10 | Instruments Berlin, AG
11 | The receipt of or possession of this file does not convey
12 | any rights to reproduce or disclose its contents or to
13 | manufacture, use, or sell anything it may describe, in
14 | whole, or in part, without the specific written consent of
15 | Texas Instruments Berlin, AG.
16 +-----------------------------------------------------------------------------
17 | Purpose : Condat Coder Decoder
18 | Definition of CCD Error table
19 +-----------------------------------------------------------------------------
20 */
21
22 #ifndef __CCD_ERR_H
23 #define __CCD_ERR_H
24
25 #include "ccdapi.h"
26
27 #define ERR_TXT_LEN 30
28 #if defined (DEBUG_CCD)
29
30 /*
31 * CCD Error table
32 */
33
34 char* ccdErrCodeTable[] =
35 {
36 "ERR_NO_MORE_ERROR",
37 "ERR_INVALID_CALC",
38 "ERR_PATTERN_MISMATCH",
39 "ERR_COMPREH_REQUIRED",
40 "ERR_IE_NOT_EXPECTED",
41 "ERR_IE_SEQUENCE",
42 "ERR_MAX_IE_EXCEED",
43 "ERR_MAND_ELEM_MISS",
44 "ERR_EOC_TAG_MISSING",
45 "ERR_INVALID_MID",
46 "ERR_INVALID_TYPE",
47 "ERR_MAX_REPEAT",
48 "ERR_NO_MEM",
49 "ERR_ADDRESS_INFOMATION_PART",
50 "ERR_DISTRIBUTION_PART",
51 "ERR_NON_DISTRIBUTION_PART",
52 "ERR_MESSAGE_ESCAPE",
53 "ERR_IGNORE",
54 "ERR_DUMMY",
55 "ERR_DUMMY",
56 "ERR_INTERNAL_ERROR",
57 "ERR_DEFECT_CCDDATA",
58 "ERR_END_OF_BUF",
59 "ERR_INT_VALUE",
60 "ERR_LONG_MSG",
61 "ERR_ASN1_ENCODING",
62 "ERR_ASN1_MAND_IE",
63 "ERR_ASN1_OPT_IE",
64 "ERR_ASN1_COND_IE",
65 "ERR_COND_ELEM_MISS",
66 "ERR_BUFFER_OF",
67 "ERR_NONCRITICAL_EXT",
68 "ERR_CRITICAL_EXT",
69 "ERR_INVALID_CCDID",
70 "ERR_MSG_LEN",
71 "ERR_INVALID_PTR",
72 "ERR_PROTOCOL_EXTENSION",
73 "ERR_BITSTR_COMP",
74 "ERR_ELEM_LEN",
75 "ERR_LEN_MISMATCH",
76 "ERR_CONCAT_LEN",
77 "ERR_UNEXPECT_PAD",
78 "ERR_CSN1_CHOICE",
79 "MAX_CCD_ERROR"
80 };
81 #endif /* DEBUG_CCD */
82
83 #endif