Code Review
/
o-du
/
phy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Front Haul Interface Library update to first seed code contribution
[o-du/phy.git]
/
fhi_lib
/
lib
/
api
/
xran_mlog_lnx.h
diff --git
a/fhi_lib/lib/src/mlog_lnx_xRAN.h
b/fhi_lib/lib/api/xran_mlog_lnx.h
similarity index 89%
rename from
fhi_lib/lib/src/mlog_lnx_xRAN.h
rename to
fhi_lib/lib/api/xran_mlog_lnx.h
index
5494045
..
8629009
100644
(file)
--- a/
fhi_lib/lib/src/mlog_lnx_xRAN.h
+++ b/
fhi_lib/lib/api/xran_mlog_lnx.h
@@
-16,14
+16,20
@@
*
*******************************************************************************/
*
*******************************************************************************/
-#ifndef _MLOG_LNX_XRAN_H_
-#define _MLOG_LNX_XRAN_H_
+
+#ifndef _XRAN_MLOG_LNX_H_
+#define _XRAN_MLOG_LNX_H_
#ifdef __cplusplus
extern "C"
{
#endif
#ifdef __cplusplus
extern "C"
{
#endif
+#ifdef MLOG_ENABLED
+#include <mlog_lnx.h>
+#else
+
+/* stubs for MLOG functions */
#define MLOG_FALSE ( 0 )
#define MLogOpen(a, b, c, d, e) MLOG_FALSE
#define MLOG_FALSE ( 0 )
#define MLogOpen(a, b, c, d, e) MLOG_FALSE
@@
-47,9
+53,11
@@
extern "C"
#define MLogAddTestCase(a, b) MLOG_FALSE
#define MLogAddPowerStats(a, b, c, d, e) MLOG_FALSE
#define MLogAddTestCase(a, b) MLOG_FALSE
#define MLogAddPowerStats(a, b, c, d, e) MLOG_FALSE
+#endif /* MLOG_ENABLED */
+
#ifdef __cplusplus
}
#endif /* #ifdef __cplusplus */
#ifdef __cplusplus
}
#endif /* #ifdef __cplusplus */
-#endif /* #ifndef _MLOG_LNX_H_ */
+#endif /* #ifndef _
XRAN_
MLOG_LNX_H_ */