Commit 67e395e1 authored by juvancic's avatar juvancic
Browse files

added enc/dec functions

parent 6a2657d7
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -34,6 +34,12 @@ module LibNGAP_EncdecDeclarations {
        with {extension "prototype(convert) encode(PER)"}


    external function fx_dec_PDUSessionResourceSetupUnsuccessfulTransfer(inout bitstring pdu, out NGAP_IEs.PDUSessionResourceSetupUnsuccessfulTransfer p) return integer
        with {extension "prototype(sliding) decode(PER)"}

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


    external function fx_dec_PDUSessionResourceReleaseCommandTransfer(inout bitstring pdu, out NGAP_IEs.PDUSessionResourceReleaseCommandTransfer p) return integer
        with {extension "prototype(sliding) decode(PER)"}
@@ -43,6 +49,13 @@ module LibNGAP_EncdecDeclarations {
        with {extension "prototype(convert) encode(PER)"}    


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

    external function fx_enc_PDUSessionResourceReleaseResponseTransfer(NGAP_IEs.PDUSessionResourceReleaseResponseTransfer 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)"}