LibItsSremSsem_EncdecDeclarations.ttcn 2.52 KB
Newer Older
module LibItsSremSsem_EncdecDeclarations {

Yann Garcia's avatar
Yann Garcia committed
  // LibItsSremSsem
  import from ITS_Container language "ASN.1:1997" all;
  import from SREM_PDU_Descriptions language "ASN.1:1997" all;
  import from SSEM_PDU_Descriptions language "ASN.1:1997" all;
  import from DSRC language "ASN.1:1997" all;
Yann Garcia's avatar
Yann Garcia committed
  import from LibItsSremSsem_TypesAndValues all;
  import from LibItsSremSsem_TestSystem all;
Yann Garcia's avatar
Yann Garcia committed
  external function fx_enc_SremReq (SremReq p) return bitstring
    with {extension "prototype(convert) encode(LibIts_Interface)"}

  external function fx_dec_SremReq (inout bitstring b, out SremReq p) return integer
    with {extension "prototype(sliding) decode(LibIts_Interface)"}

  external function fx_enc_SremInd (SremInd p) return bitstring
    with {extension "prototype(convert) encode(LibIts_Interface)"}

  external function fx_dec_SremInd (inout bitstring b, out SremInd p) return integer
    with {extension "prototype(sliding) decode(LibIts_Interface)"}

  external function fx_enc_SsemReq (SsemReq p) return bitstring
    with {extension "prototype(convert) encode(LibIts_Interface)"}

  external function fx_dec_SsemReq (inout bitstring b, out SsemReq p) return integer
    with {extension "prototype(sliding) decode(LibIts_Interface)"}

  external function fx_enc_SsemInd (SsemInd p) return bitstring
    with {extension "prototype(convert) encode(LibIts_Interface)"}

  external function fx_dec_SsemInd (inout bitstring b, out SsemInd p) return integer
    with {extension "prototype(sliding) decode(LibIts_Interface)"}

  external function fx_enc_SREM (SREM p) return bitstring
    with {extension "prototype(convert) encode(PER)"}

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

  external function fx_enc_SSEM (SSEM p) return bitstring
    with {extension "prototype(convert) encode(PER)"}

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

  /*external function fx_enc_SRM (SignalRequestMessage p) return bitstring
    with {extension "prototype(convert) encode(PER)"}

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

  external function fx_enc_SSM (SignalStatusMessage p) return bitstring
    with {extension "prototype(convert) encode(PER)"}

  external function fx_dec_SSM (inout bitstring b, out SignalStatusMessage p) return integer
  with {extension "prototype(sliding) decode(PER)"}*/