//  Reference:          3GPP TS 29.002 10.6.0

module MAP_Types {
  import from MAP_PDU_Defs all;
  import from MAP_DialogueInformation all;
  import from Remote_Operations_Information_Objects all;

  external function enc_TCAP_MAP_user_information( in TCAP_MAP_user_information pdu) return octetstring;
  external function dec_TCAP_MAP_user_information( in octetstring stream ) return TCAP_MAP_user_information;
  external function dec_MAP_DialoguePDU( in octetstring stream ) return MAP_DialoguePDU;
  external function enc_MAP_Invoke( in MAP_Invoke pdu) return octetstring;
  
  external function dec_MAP_Invoke( 
    in integer invokeId, 
    in integer linkedId,
    in Code opcode,
    in octetstring stream) 
    return MAP_Invoke;
  
  external function enc_MAP_ReturnResult( in MAP_ReturnResult pdu) return octetstring;
  
  external function dec_MAP_ReturnResult( 
    in integer invokeId,
    in Code opcode,
    in  octetstring stream) 
    return MAP_ReturnResult;
  
  external function enc_MAP_ReturnError( in MAP_ReturnError pdu) return octetstring;
  
  external function dec_MAP_ReturnError( 
    in integer invokeId,
    in Code opcode,
    in  octetstring stream) 
    return MAP_ReturnError;

}//end of module
with {
extension "version R2A"
}

