hlr: add emulated GSUP server (second HLR)

Prepare for upcoming D-GSM test, which needs to emulate a GSUP server.

Related: OS#4380
Change-Id: Idbfe8a145c90a524145089a06d9bbefac4d7edd8
diff --git a/library/GSUP_Emulation.ttcn b/library/GSUP_Emulation.ttcn
index 5695534..4a03359 100644
--- a/library/GSUP_Emulation.ttcn
+++ b/library/GSUP_Emulation.ttcn
@@ -295,4 +295,11 @@
 	}
 }
 
+/* Same as f_create_gsup_expect, but with explicit addressing. Needed when connecting multiple ports to GSUP_PROC. */
+function f_create_gsup_expect_explicit(charstring imsi, GSUP_Emulation_CT ct) runs on GSUP_ConnHdlr {
+	GSUP_PROC.call(GSUPEM_register:{imsi, self}) to ct {
+		[] GSUP_PROC.getreply(GSUPEM_register:{?,?}) {};
+	}
+}
+
 }