X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fric_stub%2Fric_e2ap_msg_hdl.h;h=15caa790676d56b7b5de67eefc78d296069b8870;hb=6636207100c598cd70537d177670ef131e263931;hp=f172ac89f81b999801ab277473db19197ca30f99;hpb=105199ef642ffe9736ea24a01d4546578fa25e60;p=o-du%2Fl2.git diff --git a/src/ric_stub/ric_e2ap_msg_hdl.h b/src/ric_stub/ric_e2ap_msg_hdl.h index f172ac89f..15caa7906 100644 --- a/src/ric_stub/ric_e2ap_msg_hdl.h +++ b/src/ric_stub/ric_e2ap_msg_hdl.h @@ -30,15 +30,14 @@ #define CRNTI 17017 #define CELL_INDEX 0 - /* allocate and zero out a static buffer */ #define RIC_ALLOC(_datPtr, _size) \ { \ - S16 _ret; \ + uint8_t _ret; \ _ret = SGetSBuf(RIC_APP_MEM_REG, RIC_POOL, \ (Data **)&_datPtr, _size); \ if(_ret == ROK) \ - cmMemset((U8*)_datPtr, 0, _size); \ + memset(_datPtr, 0, _size); \ else \ _datPtr = NULLP; \ } @@ -51,9 +50,11 @@ -void E2APMsgHdlr(Buffer *mBuf); -S16 BuildAndSendE2SetupReq(); -S16 SendE2APMsg(Region , Pool ); + +void E2APMsgHdlr(uint32_t *duId, Buffer *mBuf); +uint8_t BuildAndSendE2SetupRsp(uint32_t duId); +uint8_t BuildAndSendRicSubscriptionReq(uint32_t duId); +uint8_t SendE2APMsg(Region region, Pool pool, uint32_t duId); /********************************************************************** End of file