automotive-dlt
dlt_user_shared_cfg.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 
29 /*******************************************************************************
30 ** **
31 ** SRC-MODULE: dlt_user_shared_cfg.h **
32 ** **
33 ** TARGET : linux **
34 ** **
35 ** PROJECT : DLT **
36 ** **
37 ** AUTHOR : Alexander Wenzel Alexander.AW.Wenzel@bmw.de **
38 ** Markus Klein **
39 ** **
40 ** PURPOSE : **
41 ** **
42 ** REMARKS : **
43 ** **
44 ** PLATFORM DEPENDANT [yes/no]: yes **
45 ** **
46 ** TO BE CHANGED BY USER [yes/no]: no **
47 ** **
48 *******************************************************************************/
49 
50 /*******************************************************************************
51 ** Author Identity **
52 ********************************************************************************
53 ** **
54 ** Initials Name Company **
55 ** -------- ------------------------- ---------------------------------- **
56 ** aw Alexander Wenzel BMW **
57 ** mk Markus Klein Fraunhofer ESK **
58 *******************************************************************************/
59 
60 /*******************************************************************************
61 ** Author Identity **
62 ********************************************************************************
63 ** **
64 ** Initials Name Company **
65 ** -------- ------------------------- ---------------------------------- **
66 ** aw Alexander Wenzel BMW **
67 ** mk Markus Klein Fraunhofer ESK **
68 *******************************************************************************/
69 
70 #ifndef DLT_USER_SHARED_CFG_H
71 #define DLT_USER_SHARED_CFG_H
72 
73 /*************/
74 /* Changable */
75 /*************/
76 
77 /************************/
78 /* Don't change please! */
79 /************************/
80 
81 /* The different types of internal messages between user application and daemon. */
82 #define DLT_USER_MESSAGE_LOG 1
83 #define DLT_USER_MESSAGE_REGISTER_APPLICATION 2
84 #define DLT_USER_MESSAGE_UNREGISTER_APPLICATION 3
85 #define DLT_USER_MESSAGE_REGISTER_CONTEXT 4
86 #define DLT_USER_MESSAGE_UNREGISTER_CONTEXT 5
87 #define DLT_USER_MESSAGE_LOG_LEVEL 6
88 #define DLT_USER_MESSAGE_INJECTION 7
89 #define DLT_USER_MESSAGE_OVERFLOW 8
90 #define DLT_USER_MESSAGE_APP_LL_TS 9
91 #define DLT_USER_MESSAGE_LOG_SHM 10
92 #define DLT_USER_MESSAGE_LOG_MODE 11
93 #define DLT_USER_MESSAGE_LOG_STATE 12
94 #define DLT_USER_MESSAGE_MARKER 13
95 #define DLT_USER_MESSAGE_NOT_SUPPORTED 16
96 
97 /* Internal defined values */
98 
99 /* must be different from DltLogLevelType */
100 #define DLT_USER_LOG_LEVEL_NOT_SET -2
101 /* must be different from DltTraceStatusType */
102 #define DLT_USER_TRACE_STATUS_NOT_SET -2
103 
104 #endif /* DLT_USER_SHARED_CFG_H */
105