LibItsDenm_EncdecDeclarations.ttcn 2.3 KB
Newer Older
ASN.1 Documenter's avatar
ASN.1 Documenter committed
module LibItsDenm_EncdecDeclarations {
    
    // LibIts
    import from LibItsDenm_TypesAndValues all;
    
    // LibItsDenm
    import from LibItsDenm_TypesAndValues all;
ASN.1 Documenter's avatar
ASN.1 Documenter committed
    import from DENM_PDU_Descriptions language "ASN.1:1997" all;
    
    external function fx_enc_DenmReq (DenmReq p) return bitstring
        with {extension "prototype(convert) encode(LibIts_Interface)"}
    
    external function fx_dec_DenmReq (inout bitstring b, out DenmReq p) return integer
        with {extension "prototype(sliding) decode(LibIts_Interface)"}

    external function fx_dec_DenmInd (inout bitstring b, out DenmInd p) return integer
        with {extension "prototype(sliding) decode(LibIts_Interface)"}
    
    external function fx_enc_DENM (DENM p) return bitstring
        with {extension "prototype(convert) encode(PER)"}
    
    external function fx_dec_DENM (inout bitstring b, out DENM p) return integer
        with {extension "prototype(sliding) decode(PER)"}    

    external function fx_enc_UtDenmInitialize (UtDenmInitialize p) return bitstring
        with {extension "prototype(convert) encode(UpperTester)"}
    
    external function fx_enc_UtDenmChangePosition (UtDenmChangePosition p) return bitstring
        with {extension "prototype(convert) encode(UpperTester)"}
    
    external function fx_enc_UtDenmChangePseudonym (UtDenmChangePseudonym p) return bitstring
        with {extension "prototype(convert) encode(UpperTester)"}
    
    external function fx_enc_UtDenmTrigger (UtDenmTrigger p) return bitstring
        with {extension "prototype(convert) encode(UpperTester)"}
    
    external function fx_enc_UtDenmUpdate (UtDenmUpdate p) return bitstring
        with {extension "prototype(convert) encode(UpperTester)"}
    
    external function fx_enc_UtDenmTermination (UtDenmTermination p) return bitstring
        with {extension "prototype(convert) encode(UpperTester)"}
    
    external function fx_dec_UtDenmResults (inout bitstring b, out UtDenmResults p) return integer
        with {extension "prototype(sliding) decode(UpperTester)"}
    
    external function fx_dec_UtDenmEventInd (inout bitstring b, out UtDenmEventInd p) return integer
        with {extension "prototype(sliding) decode(UpperTester)"}
    
} // End of module LibItsDenm_EncdecDeclarations