Searched refs:g_sessionlist4Ctrl (Results 1 – 1 of 1) sorted by relevance
27 static ISessionListener* g_sessionlist4Ctrl = NULL; variable493 if (g_sessionlist4Ctrl == NULL) { in SetupCallback()494 g_sessionlist4Ctrl = (ISessionListener*)calloc(1, sizeof(ISessionListener)); in SetupCallback()495 g_sessionlist4Ctrl->OnSessionOpened = OnCtrlSessionOpened; in SetupCallback()496 g_sessionlist4Ctrl->OnSessionClosed = OnCtrlSessionClosed; in SetupCallback()497 g_sessionlist4Ctrl->OnMessageReceived = OnCtrlMessageReceived; in SetupCallback()498 g_sessionlist4Ctrl->OnBytesReceived = OnCtrlBytesReceived; in SetupCallback()556 if (g_sessionlist4Ctrl != NULL) { in TeardownCallback()557 free(g_sessionlist4Ctrl); in TeardownCallback()558 g_sessionlist4Ctrl = NULL; in TeardownCallback()[all …]