Commit 86a6e81b authored by juvancic's avatar juvancic
Browse files

added enc/dec functions

parent f9ad0030
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -57,6 +57,14 @@ module LibNGAP_EncdecDeclarations {
        with {extension "prototype(convert) encode(PER)"} 


    external function fx_dec_PDUSessionResourceModifyConfirmTransfer(inout bitstring pdu, out NGAP_IEs.PDUSessionResourceModifyConfirmTransfer p) return integer
        with {extension "prototype(sliding) decode(PER)"}
        //with {extension "prototype(sliding) decode(LibNGAP_codec)"}

    external function fx_enc_PDUSessionResourceModifyConfirmTransfer(NGAP_IEs.PDUSessionResourceModifyConfirmTransfer p) return bitstring
        with {extension "prototype(convert) encode(PER)"}


    external function fx_dec_PDUSessionResourceModifyIndicationTransfer(inout bitstring pdu, out NGAP_IEs.PDUSessionResourceModifyIndicationTransfer p) return integer
        with {extension "prototype(sliding) decode(PER)"}
        //with {extension "prototype(sliding) decode(LibNGAP_codec)"}
@@ -64,6 +72,15 @@ module LibNGAP_EncdecDeclarations {
    external function fx_enc_PDUSessionResourceModifyIndicationTransfer(NGAP_IEs.PDUSessionResourceModifyIndicationTransfer p) return bitstring
        with {extension "prototype(convert) encode(PER)"}

    
    external function fx_dec_PDUSessionResourceModifyIndicationUnsuccessfulTransfer(inout bitstring pdu, out NGAP_IEs.PDUSessionResourceModifyIndicationUnsuccessfulTransfer p) return integer
        with {extension "prototype(sliding) decode(PER)"}
        //with {extension "prototype(sliding) decode(LibNGAP_codec)"}

    external function fx_enc_PDUSessionResourceModifyIndicationUnsuccessfulTransfer(NGAP_IEs.PDUSessionResourceModifyIndicationUnsuccessfulTransfer p) return bitstring
        with {extension "prototype(convert) encode(PER)"}


    external function fx_dec_UEContextSuspendRequestTransfer(inout bitstring pdu, out NGAP_IEs.UEContextSuspendRequestTransfer p) return integer
        with {extension "prototype(sliding) decode(PER)"}
        //with {extension "prototype(sliding) decode(LibNGAP_codec)"}