warning set 4
[o-du/l2.git] / src / cm / lrg.x
index 77fdce6..bfa8834 100755 (executable)
@@ -34,6 +34,7 @@
 #ifndef __LRGX__
 #define __LRGX__
 
+
 /* ccpu00121930 : ADD: c++ support*/
 #ifdef __cplusplus
 extern "C" {
@@ -527,7 +528,7 @@ typedef S16 (*LrgCfgReq)     ARGS((
         RgMngmt    *cfg                /* Management Structure */
      ));
 
-typedef S16 (*LrgSchCfgReq)     ARGS((
+typedef int (*LrgSchCfgReq)     ARGS((
         Pst        *pst,               /* Post Structure */
         RgMngmt    *cfg                /* Management Structure */
      ));
@@ -644,6 +645,16 @@ typedef S16 (*LrgSchL2MeasStopCfm)     ARGS((
   */
 EXTERN S16 RgMiLrgCfgReq ARGS((Pst *pst, RgMngmt *cfg));
 
+ /** @brief This primitive carries the Configuration Request
+  * for Scheduler sent from the DU APP to MAC.
+  * @details This primitive is used by MAC to sned the configuration
+  * to scheduler
+  * @param pst Pointer to the post structure.
+  * @param cfm pointer to RgMngmt 
+  * @return ROK/RFAILED
+  */
+EXTERN int MacSchGenCfgReq ARGS((Pst *pst, RgMngmt *cfg));
+
  /** @brief This primitive carries the Confirmation for a Configuration Request
   * sent from the layer manager to MAC.
   * @details This primitive is used by MAC to inform Layer manager about the
@@ -666,7 +677,7 @@ EXTERN S16 RgMiLrgCfgCfm ARGS((Pst *pst, RgMngmt *cfm));
   * @param cfg pointer to RgMngmt
   * @return ROK/RFAILED
   */
-EXTERN S16 RgMiLrgSchCfgReq ARGS((Pst *pst, RgMngmt *cfg));
+EXTERN int HandleSchGenCfgReq ARGS((Pst *pst, RgMngmt *cfg));
 
  /** @brief This primitive carries the Confirmation for a Configuration Request
   * sent from the layer manager to Scheduler.