Commit 0732e166 authored by juvancic's avatar juvancic
Browse files

added enc function

parent a2f170e9
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@
module LibNGAP_EncdecDeclarations {

    import from LibNGAP_TypesAndValues all;
    import from NGAP_IEs language "ASN.1:2002" all;// with {encode "ALIGNED_PER_OctetAligned"};

//TODO: if no additional type in TypesAndvalues remove
    //external function fx_enc_ProtocolIE (ProtocolIE p) return bitstring
@@ -19,5 +20,7 @@ module LibNGAP_EncdecDeclarations {
    //external function fx_dec_ProtocolIE (inout bitstring pdu, out ProtocolIE p) return integer
    //    with {extension "prototype(sliding) decode(LibNGAP_codec)"}
    
    external function fx_enc_PDUSessionResourceSetupRequestTransfer(NGAP_IEs.PDUSessionResourceSetupRequestTransfer p) return bitstring
        with {extension "prototype(convert) encode(PER)"}

} // End of module LibNGAP_EncdecDeclarations