4 #include "RICcontrolRequest.h"
6 #include "InitiatingMessage.h"
7 #include "SuccessfulOutcome.h"
8 #include "UnsuccessfulOutcome.h"
9 #include "ProtocolIE-Container.h"
10 #include "ProtocolIE-Field.h"
11 #include "RICactionDefinition.h"
12 #include "RICsubsequentAction.h"
13 //#include "CauseRIC.h"
15 typedef struct RICControlAcknowledgeMsg {
19 uint8_t *callProcessID;
20 size_t callProcessIDSize;
21 uint8_t *ricControlOutCome;
22 size_t ricControlOutComeSize;
23 }RICControlAcknowledge;
25 typedef struct RICControlFailureMsg {
29 uint8_t *callProcessID;
30 size_t callProcessIDSize;
31 uint8_t *ricControlOutCome;
32 size_t ricControlOutComeSize;
38 size_t encode_E2AP_PDU(E2AP_PDU_t* pdu, void* buffer, size_t buf_size);
39 E2AP_PDU_t* decode_E2AP_PDU(const void* buffer, size_t buf_size);
42 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);
44 RICControlAcknowledge* e2ap_decode_ric_control_acknowledge_message(void *buffer, size_t buf_size);
45 void e2ap_free_decoded_ric_control_ack(RICControlAcknowledge* msg);
47 RICControlFailure* e2ap_decode_ric_control_failure_message(void *buffer, size_t buf_size);
48 void e2ap_free_decoded_ric_control_failure(RICControlFailure* msg);
49 #endif /* _WRAPPER_H_ */