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;h=1c08af3175d2e4c8914f81e21d202080ceaa0609;hp=8629009c3ae5caa520c36ff02e8d83895d516b75;hb=0134817ddd14e0a57f3476fdc5eaa5e7cb75c692;hpb=78b7d242c085573175a20949d3208a63b44fc515 diff --git a/fhi_lib/lib/api/xran_mlog_lnx.h b/fhi_lib/lib/api/xran_mlog_lnx.h index 8629009..1c08af3 100644 --- a/fhi_lib/lib/api/xran_mlog_lnx.h +++ b/fhi_lib/lib/api/xran_mlog_lnx.h @@ -1,63 +1,62 @@ -/****************************************************************************** -* -* Copyright (c) 2019 Intel. -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -*******************************************************************************/ - - -#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 -#define MLogRestart(a) MLOG_FALSE -#define MLogPrint(a) MLOG_FALSE -#define MLogGetFileLocation() NULL -#define MLogGetFileSize() 0 -#define MLogSetMask(a) MLOG_FALSE -#define MLogGetMask() -#define MLogRegisterTick() -#define MLogTick() 0 -#define MLogIncrementCounter() 0 -#define MLogTask(w,x,y) 0 -#define MLogTaskCore(w,x,y,z) 0 -#define MLogMark(x,y) -#define MLogDevInfo(x) -#define MLogRegisterFrameSubframe(x,y) -#define MLogAddVariables(x,y,z) -#define MLogGetStats(a, b, c, d, e) MLOG_FALSE -#define MLogGetAvgStats(a, b, c, d) 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 */ - -#endif /* #ifndef _XRAN_MLOG_LNX_H_ */ - +/****************************************************************************** +* +* Copyright (c) 2019 Intel. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +*******************************************************************************/ + +#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 +#define MLogRestart(a) MLOG_FALSE +#define MLogPrint(a) MLOG_FALSE +#define MLogGetFileLocation() NULL +#define MLogGetFileSize() 0 +#define MLogSetMask(a) MLOG_FALSE +#define MLogGetMask() +#define MLogRegisterTick() +#define MLogTick() 0 +#define MLogIncrementCounter() 0 +#define MLogTask(w,x,y) 0 +#define MLogTaskCore(w,x,y,z) 0 +#define MLogMark(x,y) +#define MLogDevInfo(x) +#define MLogRegisterFrameSubframe(x,y) +#define MLogAddVariables(x,y,z) +#define MLogGetStats(a, b, c, d, e) MLOG_FALSE +#define MLogGetAvgStats(a, b, c, d) 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 */ + +#endif /* #ifndef _XRAN_MLOG_LNX_H_ */ +