X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=e2ap%2Fwrapper.h;h=e8dbadbcfbeb138ff053a7f8379f90d9fbf546bb;hb=a829dab71827b00d48740684a122cbaa2f56ba6f;hp=af1ec2e9d38d28f58d16fde5d7f244b94d055921;hpb=21b61dd76570beb43afc74289296e831914d9060;p=ric-app%2Frc.git diff --git a/e2ap/wrapper.h b/e2ap/wrapper.h index af1ec2e..e8dbadb 100644 --- a/e2ap/wrapper.h +++ b/e2ap/wrapper.h @@ -10,11 +10,24 @@ #include "ProtocolIE-Field.h" #include "RICactionDefinition.h" #include "RICsubsequentAction.h" -#include "CauseRIC.h" +//#include "CauseRIC.h" + +typedef struct RICControlAcknowledgeMsg { + long requestorID; + long instanceID; + long ranfunctionID; + uint8_t *callProcessID; + size_t callProcessIDSize; + uint8_t *ricControlOutCome; + size_t ricControlOutComeSize; +}RICControlAcknowledge; size_t encode_E2AP_PDU(E2AP_PDU_t* pdu, void* buffer, size_t buf_size); E2AP_PDU_t* decode_E2AP_PDU(const void* buffer, size_t buf_size); /* RICcontrol */ ssize_t e2ap_encode_ric_control_request_message(void *buffer, size_t buf_size, long ricRequestorID, long ricRequestSequenceNumber, long ranFunctionID, void *ricControlHdr, size_t ricControlHdrSize, void *ricControlMsg, size_t ricControlMsgSize); + +RICControlAcknowledge* e2ap_decode_ric_control_acknowledge_message(void *buffer, size_t buf_size); +void e2ap_free_decoded_ric_control_ack(RICControlAcknowledge* msg); #endif /* _WRAPPER_H_ */