Searched refs:g_sessionlist4Data (Results 1 – 1 of 1) sorted by relevance
26 static ISessionListener* g_sessionlist4Data = NULL; variable485 if (g_sessionlist4Data == NULL) { in SetupCallback()486 g_sessionlist4Data = (ISessionListener*)calloc(1, sizeof(ISessionListener)); in SetupCallback()487 g_sessionlist4Data->OnSessionOpened = OnDataSessionOpened; in SetupCallback()488 g_sessionlist4Data->OnSessionClosed = OnDataSessionClosed; in SetupCallback()489 g_sessionlist4Data->OnMessageReceived = OnDataMessageReceived; in SetupCallback()490 g_sessionlist4Data->OnBytesReceived = OnDataBytesReceived; in SetupCallback()552 if (g_sessionlist4Data != NULL) { in TeardownCallback()553 free(g_sessionlist4Data); in TeardownCallback()554 g_sessionlist4Data = NULL; in TeardownCallback()[all …]