X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Frlog%2Frl_interface.h;h=51e0ab6c8c7b74562fd4b6580be8443fdec86a9e;hb=37badc1a711fc7802d2f0b67924f3c15e569a7d5;hp=54ae4a5a9f61e0baced00477c207ea5b90778786;hpb=829bbd114f1c3dc00c1da47bca0a8207c049df3f;p=o-du%2Fl2.git diff --git a/src/rlog/rl_interface.h b/src/rlog/rl_interface.h index 54ae4a5a9..51e0ab6c8 100755 --- a/src/rlog/rl_interface.h +++ b/src/rlog/rl_interface.h @@ -43,7 +43,7 @@ void rlSetLogPath(const char* logDir); // This API needs to be called after configuring all the required parameters // by using below APIs. This API initializes logging framework. // Log MACRO's should be used only after calling this API. -void rlInitLog(U8 type); +void rlInitLog(uint8_t type); /////////////////////////////////////////////////////////////////////////////// // This initializes log file name. Log file name should be exclusive of @@ -57,7 +57,7 @@ void rlSetLogFile(const char* fileName); // This API is used to set remote logging port, where post-processor application // (rlogapp) is used to connect on this port in order to receive live binary logs. // This API can be used only during initialization time. -void rlSetLogPort(U32 port); +void rlSetLogPort(uint32_t port); /////////////////////////////////////////////////////////////////////////////// // Use this API to set log level. This API supports run time modification of @@ -68,22 +68,22 @@ void rlSetLogLevel(R_LOG_LEVEL logLevel); // This API toggles the module mask. If logging for this module is already // enabled, it will be disabled. If it's not enabled, it will enable. Zero // input will disable logging mask for all modules. -void rlSetModuleMask(U32 modMask); +void rlSetModuleMask(uint32_t modMask); /////////////////////////////////////////////////////////////////////////////// // This API is used to set log file size limit for single file. -void rlSetLogFileSizeLimit(U32 maxFileSize); +void rlSetLogFileSizeLimit(uint32_t maxFileSize); /////////////////////////////////////////////////////////////////////////////// // This API sets the limit of number of log files that can be created by // logging framework. -void rlSetNumOfLogFiles(U8 nMaxFiles); +void rlSetNumOfLogFiles(uint8_t nMaxFiles); /////////////////////////////////////////////////////////////////////////////// // This API is used to set circular buffer size for each thread. Based on the // number of threads in the system this size needs to be chosen. Recommended // minimum 100Kb buffer size. -void rlSetCircularBufferSize(U32 bufSize); +void rlSetCircularBufferSize(uint32_t bufSize); /////////////////////////////////////////////////////////////////////////////// // This API enables or disables remote logging application connection to see @@ -106,24 +106,24 @@ void rlEnaBleBufferedIO(void); /////////////////////////////////////////////////////////////////////////////// // This API updates the RLOG Tti count baed on this time stamp will be updated -extern void rlUpdateRlogTti(void); +void rlUpdateRlogTti(void); /////////////////////////////////////////////////////////////////////////////// // This API reset the RLOG rate control count and enable logging every 10 ms -extern void rlResetLogRateLmt(void); +void rlResetLogRateLmt(void); /////////////////////////////////////////////////////////////////////////////// // This API reset the RLOG rate control count and enable logging every 10 ms -extern void rlResetLogRateLmt(void); +void rlResetLogRateLmt(void); /////////////////////////////////////////////////////////////////////////////// // This API Start the limit the number of logs loggd into circular buffer every // 10ms -extern void rlStartLogCountLimit(void); +void rlStartLogCountLimit(void); /////////////////////////////////////////////////////////////////////////////// // This API stops restriciton of limiting number of logs every 10 ms -extern void rlStopLogCountLimit(void); +void rlStopLogCountLimit(void); #ifdef WR_DBG_CIRLOG