GDLT-38, Update license in internal headers.
[profile/ivi/dlt-daemon.git] / src / shared / dlt_common_cfg.h
1 /**\r
2  * @licence app begin@\r
3  * Copyright (C) 2012  BMW AG\r
4  *\r
5  * This file is part of GENIVI Project Dlt - Diagnostic Log and Trace console apps.\r
6  *\r
7  * Contributions are licensed to the GENIVI Alliance under one or more\r
8  * Contribution License Agreements.\r
9  *\r
10  * \copyright\r
11  * This Source Code Form is subject to the terms of the\r
12  * Mozilla Public License, v. 2.0. If a  copy of the MPL was not distributed with\r
13  * this file, You can obtain one at http://mozilla.org/MPL/2.0/.\r
14  *\r
15  *\r
16  * \author Alexander Wenzel <alexander.wenzel@bmw.de> BMW 2011-2012\r
17  *\r
18  * \file <FILE>\r
19  * For further information see http://www.genivi.org/.\r
20  * @licence end@\r
21  */\r
22 \r
23 \r
24 /*******************************************************************************\r
25 **                                                                            **\r
26 **  SRC-MODULE: dlt_common_cfg.h                                              **\r
27 **                                                                            **\r
28 **  TARGET    : linux                                                         **\r
29 **                                                                            **\r
30 **  PROJECT   : DLT                                                           **\r
31 **                                                                            **\r
32 **  AUTHOR    : Alexander Wenzel Alexander.AW.Wenzel@bmw.de                   **\r
33 **              Markus Klein                                                  **\r
34 **                                                                            **\r
35 **  PURPOSE   :                                                               **\r
36 **                                                                            **\r
37 **  REMARKS   :                                                               **\r
38 **                                                                            **\r
39 **  PLATFORM DEPENDANT [yes/no]: yes                                          **\r
40 **                                                                            **\r
41 **  TO BE CHANGED BY USER [yes/no]: no                                        **\r
42 **                                                                            **\r
43 *******************************************************************************/\r
44 \r
45 /*******************************************************************************\r
46 **                      Author Identity                                       **\r
47 ********************************************************************************\r
48 **                                                                            **\r
49 ** Initials     Name                       Company                            **\r
50 ** --------     -------------------------  ---------------------------------- **\r
51 **  aw          Alexander Wenzel           BMW                                **\r
52 **  mk          Markus Klein               Fraunhofer ESK                     **\r
53 *******************************************************************************/\r
54 \r
55 /*******************************************************************************\r
56 **                      Author Identity                                       **\r
57 ********************************************************************************\r
58 **                                                                            **\r
59 ** Initials     Name                       Company                            **\r
60 ** --------     -------------------------  ---------------------------------- **\r
61 **  aw          Alexander Wenzel           BMW                                **\r
62 **  mk          Markus Klein               Fraunhofer ESK                     **\r
63 *******************************************************************************/\r
64 \r
65 #ifndef DLT_COMMON_CFG_H\r
66 #define DLT_COMMON_CFG_H\r
67 \r
68 /*************/\r
69 /* Changable */\r
70 /*************/\r
71 \r
72 /* Buffer length for temporary buffer */\r
73 #define DLT_COMMON_BUFFER_LENGTH 255\r
74 \r
75 /* Number of ASCII chars to be printed in one line as HEX and as ASCII */\r
76 /* e.g. XX XX XX XX ABCD is DLT_COMMON_HEX_CHARS = 4 */\r
77 #define DLT_COMMON_HEX_CHARS  16\r
78 \r
79 /* Length of line number */\r
80 #define DLT_COMMON_HEX_LINELEN 8\r
81 \r
82 /* Length of one char */\r
83 #define DLT_COMMON_CHARLEN     1\r
84 \r
85 /* Number of indices to be allocated at one, if no more indeces are left */\r
86 #define DLT_COMMON_INDEX_ALLOC     1000\r
87 \r
88 /* If limited output is called, \r
89    this is the maximum number of characters to be printed out */\r
90 #define DLT_COMMON_ASCII_LIMIT_MAX_CHARS 20\r
91 \r
92 /* This defines the dummy ECU ID set in storage header during import\r
93    of a message from a DLT file in RAW format (without storage header) */\r
94 #define DLT_COMMON_DUMMY_ECUID "ECU"\r
95 \r
96 \r
97 /************************/\r
98 /* Don't change please! */\r
99 /************************/\r
100 \r
101 /* ASCII value for space */\r
102 #define DLT_COMMON_ASCII_CHAR_SPACE  32\r
103 \r
104 /* ASCII value for tilde */\r
105 #define DLT_COMMON_ASCII_CHAR_TILDE 126\r
106 \r
107 /* ASCII value for lesser than */\r
108 #define DLT_COMMON_ASCII_CHAR_LT     60\r
109 \r
110 #endif /* DLT_COMMON_CFG_H */\r
111 \r