Front Haul Interface Library update to first seed code contribution
[o-du/phy.git] / 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)
 *
 *******************************************************************************/
 
-#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 MLOG_ENABLED
+#include <mlog_lnx.h>
+#else
+
+/* stubs for MLOG functions */
 #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
 
+#endif /* MLOG_ENABLED */
+
 #ifdef __cplusplus
 }
 #endif /* #ifdef __cplusplus */
 
-#endif  /* #ifndef _MLOG_LNX_H_ */
+#endif  /* #ifndef _XRAN_MLOG_LNX_H_ */