automotive-dlt
dlt_types.h
Go to the documentation of this file.
1 /*
2  * @licence app begin@
3  * SPDX license identifier: MPL-2.0
4  *
5  * Copyright (C) 2011-2015, BMW AG
6  *
7  * This file is part of GENIVI Project DLT - Diagnostic Log and Trace.
8  *
9  * This Source Code Form is subject to the terms of the
10  * Mozilla Public License (MPL), v. 2.0.
11  * If a copy of the MPL was not distributed with this file,
12  * You can obtain one at http://mozilla.org/MPL/2.0/.
13  *
14  * For further information see http://www.genivi.org/.
15  * @licence end@
16  */
17 
28 /*******************************************************************************
29 ** **
30 ** SRC-MODULE: dlt_types.h **
31 ** **
32 ** TARGET : linux **
33 ** **
34 ** PROJECT : DLT **
35 ** **
36 ** AUTHOR : Alexander Wenzel Alexander.AW.Wenzel@bmw.de **
37 ** Markus Klein **
38 ** **
39 ** PURPOSE : **
40 ** **
41 ** REMARKS : **
42 ** **
43 ** PLATFORM DEPENDANT [yes/no]: yes **
44 ** **
45 ** TO BE CHANGED BY USER [yes/no]: no **
46 ** **
47 *******************************************************************************/
48 
49 /*******************************************************************************
50 ** Author Identity **
51 ********************************************************************************
52 ** **
53 ** Initials Name Company **
54 ** -------- ------------------------- ---------------------------------- **
55 ** aw Alexander Wenzel BMW **
56 ** mk Markus Klein Fraunhofer ESK **
57 *******************************************************************************/
58 
59 #ifndef DLT_TYPES_H
60 #define DLT_TYPES_H
61 
62 #ifdef _MSC_VER
63 typedef __int64 int64_t;
64 typedef __int32 int32_t;
65 typedef __int16 int16_t;
66 typedef __int8 int8_t;
67 
68 typedef unsigned __int64 uint64_t;
69 typedef unsigned __int32 uint32_t;
70 typedef unsigned __int16 uint16_t;
71 typedef unsigned __int8 uint8_t;
72 
73 typedef int pid_t;
74 typedef unsigned int speed_t;
75 
76 #define UINT16_MAX 0xFFFF
77 
78 #include <varargs.h>
79 #else
80 #include <stdint.h>
81 #endif
82 
86 typedef enum
87 {
98 
102 typedef enum
103 {
105  DLT_LOG_OFF = 0x00,
106  DLT_LOG_FATAL = 0x01,
107  DLT_LOG_ERROR = 0x02,
108  DLT_LOG_WARN = 0x03,
109  DLT_LOG_INFO = 0x04,
110  DLT_LOG_DEBUG = 0x05,
114 
118 typedef enum
119 {
128 } DltFormatType;
129 
133 typedef enum
134 {
140 
145 typedef enum
146 {
164 
168 typedef enum
169 {
177 
178 typedef float float32_t;
179 typedef double float64_t;
180 
181 #endif /* DLT_TYPES_H */
DltNetworkTraceType
Definition: dlt_types.h:145
DltLogLevelType
Definition: dlt_types.h:102
DltReturnValue
Definition: dlt_types.h:86
DltTraceStatusType
Definition: dlt_types.h:133
DltUserLogMode
Definition: dlt_types.h:168
double float64_t
Definition: dlt_types.h:179
DltFormatType
Definition: dlt_types.h:118
float float32_t
Definition: dlt_types.h:178