X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fric_stub%2Fric_stub.h;h=ac51011d7e4a489fef21d7fbdeb5d2835f7aebaa;hb=c8f87915d06efa94e5109e7ea8e7683f02f3aba2;hp=3885d5b5eb8e2a5c5177bfac450ac33b3c70d5a4;hpb=77ebb9517e783aeaf8906360fd3aa9faec00fbab;p=o-du%2Fl2.git diff --git a/src/ric_stub/ric_stub.h b/src/ric_stub/ric_stub.h index 3885d5b5e..ac51011d7 100644 --- a/src/ric_stub/ric_stub.h +++ b/src/ric_stub/ric_stub.h @@ -82,6 +82,13 @@ }\ } +typedef enum +{ + ADD_CONNECTION, + MODIFY_CONNECTION, + REMOVE_CONNECTION +}E2Connection; + /* O-RAN.WG3.E2AP-R003-v03.00 : Section 9.2.26 */ typedef enum { @@ -109,8 +116,7 @@ typedef struct ricSubscription { RicRequestId requestId; uint16_t ranFuncId; - uint8_t numOfActions; - ActionInfo actionSequence[MAX_RIC_ACTION]; + CmLListCp actionSequence; }RicSubscription; typedef struct @@ -195,6 +201,22 @@ typedef struct e2NodeCfgList E2NodeConfigItem removedE2Node[MAX_E2_NODE_COMPONENT]; }E2NodeConfigList; +typedef struct ricSubsActionInfo +{ + ConfigType configType; + uint16_t actionId; +}RicSubsActionInfo; + +typedef struct ricSubsModReq +{ + uint16_t numOfActionToBeAdded; + ActionInfo actionToBeAdded[MAX_RIC_ACTION]; + uint16_t numOfActionToBeModify; + ActionInfo actionToBeModify[MAX_RIC_ACTION]; + uint16_t numOfActionToBeRemove; + ActionInfo actionToBeRemove[MAX_RIC_ACTION]; +}RicSubsModReq; + void readRicCfg(); void cuAppInmsgHdlr(Buffer *mBuf); void sctpNtfyInd(CmInetSctpNotification *ntfy);