X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=o-du%2Fphy.git;a=blobdiff_plain;f=fhi_lib%2Flib%2Fapi%2Fxran_mlog_lnx.h;fp=fhi_lib%2Flib%2Fsrc%2Fmlog_lnx_xRAN.h;h=8629009c3ae5caa520c36ff02e8d83895d516b75;hp=549404547f86636e213fed127bdf416ff6592bbf;hb=cef07f74965b1749dd909fc1322e211489fea2ea;hpb=bc60e3a69129edf1c21a01683f84a77483f6e3cc 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 --- 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 MLOG_ENABLED +#include +#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_ */