LibItsCam_EncdecDeclarations.ttcn 1.79 KB
Newer Older
ASN.1 Documenter's avatar
ASN.1 Documenter committed
module LibItsCam_EncdecDeclarations {

    // LibIts
    import from CAM_PDU_Descriptions language "ASN.1:1997" all;
    
    // LibItsCam
    import from LibItsCam_TypesAndValues all; 
    import from LibItsCam_TestSystem all; 

    external function fx_enc_CamReq (CamReq p) return bitstring
        with {extension "prototype(convert) encode(LibIts_Interface)"}
    
    external function fx_dec_CamReq (inout bitstring b, out CamReq p) return integer
        with {extension "prototype(sliding) decode(LibIts_Interface)"}

    external function fx_dec_CamInd (inout bitstring b, out CamInd p) return integer
        with {extension "prototype(sliding) decode(LibIts_Interface)"}
        
    external function fx_enc_CAM (CAM p) return bitstring
        with {extension "prototype(convert) encode(PER)"}

    external function fx_dec_CAM (inout bitstring b, out CAM p) return integer
        with {extension "prototype(sliding) decode(PER)"}

    external function fx_enc_UtCamInitialize (UtCamInitialize p) return bitstring
        with {extension "prototype(convert) encode(UpperTester)"}
    
    external function fx_enc_UtCamChangePosition (UtCamChangePosition p) return bitstring
        with {extension "prototype(convert) encode(UpperTester)"}
    
    external function fx_enc_UtCamTrigger (UtCamTrigger p) return bitstring
        with {extension "prototype(convert) encode(UpperTester)"}
    
    external function fx_dec_UtCamResults (inout bitstring b, out UtCamResults p) return integer
        with {extension "prototype(sliding) decode(UpperTester)"}
    
    external function fx_dec_UtCamEventInd (inout bitstring b, out UtCamEventInd p) return integer
        with {extension "prototype(sliding) decode(UpperTester)"}
    
} // End of module LibItsCam_EncdecDeclarations