Home
last modified time | relevance | path

Searched refs:g_sessionlist4Pass (Results 1 – 1 of 1) sorted by relevance

/test/xts/dcts/communication/softbus_standard/dsoftbusTest/
DdsoftbusTest.cpp29 static ISessionListener* g_sessionlist4Pass = NULL; variable
509 if (g_sessionlist4Pass == NULL) { in SetupCallback()
510 g_sessionlist4Pass = (ISessionListener*)calloc(1, sizeof(ISessionListener)); in SetupCallback()
511 g_sessionlist4Pass->OnSessionOpened = OnPassSessionOpened; in SetupCallback()
512 g_sessionlist4Pass->OnSessionClosed = OnPassSessionClosed; in SetupCallback()
513 g_sessionlist4Pass->OnMessageReceived = OnPassMessageReceived; in SetupCallback()
514 g_sessionlist4Pass->OnBytesReceived = OnPassBytesReceived; in SetupCallback()
564 if (g_sessionlist4Pass != NULL) { in TeardownCallback()
565 free(g_sessionlist4Pass); in TeardownCallback()
566 g_sessionlist4Pass = NULL; in TeardownCallback()
[all …]