1c08af3175d2e4c8914f81e21d202080ceaa0609
[o-du/phy.git] / fhi_lib / lib / api / xran_mlog_lnx.h
1 /******************************************************************************\r
2 *\r
3 *   Copyright (c) 2019 Intel.\r
4 *\r
5 *   Licensed under the Apache License, Version 2.0 (the "License");\r
6 *   you may not use this file except in compliance with the License.\r
7 *   You may obtain a copy of the License at\r
8 *\r
9 *       http://www.apache.org/licenses/LICENSE-2.0\r
10 *\r
11 *   Unless required by applicable law or agreed to in writing, software\r
12 *   distributed under the License is distributed on an "AS IS" BASIS,\r
13 *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
14 *   See the License for the specific language governing permissions and\r
15 *   limitations under the License.\r
16 *\r
17 *******************************************************************************/\r
18 \r
19 #ifndef _XRAN_MLOG_LNX_H_\r
20 #define _XRAN_MLOG_LNX_H_\r
21 \r
22 #ifdef __cplusplus\r
23 extern "C"\r
24 {\r
25 #endif\r
26 \r
27 #ifdef MLOG_ENABLED\r
28 #include <mlog_lnx.h>\r
29 #else\r
30 \r
31 /* stubs for MLOG functions */\r
32 #define MLOG_FALSE                  ( 0 )\r
33 \r
34 #define MLogOpen(a, b, c, d, e)     MLOG_FALSE\r
35 #define MLogRestart(a)              MLOG_FALSE\r
36 #define MLogPrint(a)                MLOG_FALSE\r
37 #define MLogGetFileLocation()       NULL\r
38 #define MLogGetFileSize()           0\r
39 #define MLogSetMask(a)              MLOG_FALSE\r
40 #define MLogGetMask()\r
41 #define MLogRegisterTick()\r
42 #define MLogTick()                  0\r
43 #define MLogIncrementCounter()      0\r
44 #define MLogTask(w,x,y)             0\r
45 #define MLogTaskCore(w,x,y,z)       0\r
46 #define MLogMark(x,y)\r
47 #define MLogDevInfo(x)\r
48 #define MLogRegisterFrameSubframe(x,y)\r
49 #define MLogAddVariables(x,y,z)\r
50 #define MLogGetStats(a, b, c, d, e) MLOG_FALSE\r
51 #define MLogGetAvgStats(a, b, c, d) MLOG_FALSE\r
52 #define MLogAddTestCase(a, b)       MLOG_FALSE\r
53 #define MLogAddPowerStats(a, b, c, d, e) MLOG_FALSE\r
54 \r
55 #endif /* MLOG_ENABLED */\r
56 \r
57 #ifdef __cplusplus\r
58 }\r
59 #endif /* #ifdef __cplusplus */\r
60 \r
61 #endif  /* #ifndef _XRAN_MLOG_LNX_H_ */\r
62 \r