Searched refs:g_sessionlistener4Pass (Results 1 – 1 of 1) sorted by relevance
47 static ISessionListener* g_sessionlistener4Pass = NULL; variable1223 if (g_sessionlistener4Pass == NULL) { in TestSetUp()1224 g_sessionlistener4Pass = (ISessionListener*)calloc(1, sizeof(ISessionListener)); in TestSetUp()1225 g_sessionlistener4Pass->OnSessionOpened = PassiveSessionOpened; in TestSetUp()1226 g_sessionlistener4Pass->OnSessionClosed = PassiveSessionClosed; in TestSetUp()1227 g_sessionlistener4Pass->OnMessageReceived = PassiveMessageReceived; in TestSetUp()1228 g_sessionlistener4Pass->OnBytesReceived = PassiveBytesReceived; in TestSetUp()1316 if (g_sessionlistener4Pass != NULL) { in TestTearDown()1317 free(g_sessionlistener4Pass); in TestTearDown()1318 g_sessionlistener4Pass = NULL; in TestTearDown()