Commit a2445bed authored by juvancic's avatar juvancic
Browse files

added enc/dec functions

parent 47764ef0
Loading
Loading
Loading
Loading
+16 −0
Original line number Original line Diff line number Diff line
@@ -81,6 +81,22 @@ module LibNGAP_EncdecDeclarations {
        with {extension "prototype(convert) encode(PER)"}
        with {extension "prototype(convert) encode(PER)"}




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

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


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

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


    external function fx_dec_UEContextSuspendRequestTransfer(inout bitstring pdu, out NGAP_IEs.UEContextSuspendRequestTransfer p) return integer
    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(PER)"}
        //with {extension "prototype(sliding) decode(LibNGAP_codec)"}
        //with {extension "prototype(sliding) decode(LibNGAP_codec)"}