LibItsGeoNetworking_EncdecDeclarations.ttcn 1.54 KB
Newer Older
module LibItsGeoNetworking_EncdecDeclarations {
    
    import from LibItsGeoNetworking_TypesAndValues all;
    
    external function fx_enc_GeoNetworkingPdu (GeoNetworkingPdu p) return bitstring
        with {extension "prototype(convert) encode(LibItsGeoNetworking)"}
        
    external function fx_dec_GeoNetworkingPdu (inout bitstring b, out GeoNetworkingPdu p) return integer
        with {extension "prototype(sliding) decode(LibItsGeoNetworking)"}
        
    external function fx_enc_Payload (Payload p) return bitstring
        with {extension "prototype(convert) encode(LibItsGeoNetworking)"}
        
    external function fx_dec_Payload (inout bitstring b, out Payload p) return integer
        with {extension "prototype(sliding) decode(LibItsGeoNetworking)"}
    
    external function fx_enc_GnNonSecuredPacket (GnNonSecuredPacket p) return bitstring
        with {extension "prototype(convert) encode(LibItsGeoNetworking)"}
        
    external function fx_dec_GnNonSecuredPacket (inout bitstring b, out GnNonSecuredPacket p) return integer
        with {extension "prototype(sliding) decode(LibItsGeoNetworking)"}
    
    /*
    external function fx_enc_GeoSecuredMessage (GeoNetworkingPacket.securedMsg p) return bitstring
        with {extension "prototype(convert) encode(LibItsSecurity)"}
    
    external function fx_dec_GeoSecuredMessage (inout bitstring b, out GeoNetworkingPacket.securedMsg p) return integer
        with {extension "prototype(sliding) decode(LibItsSecurity)"}
    */
    
} // End of module LibItsGeoNetworking_EncdecDeclarations