Home
last modified time | relevance | path

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

/test/xts/dcts/communication/softbus_standard/dsoftbusTest/
DdsoftbusTest.cpp30 static ISessionListener* g_sessionlist4File = NULL; variable
525 if (g_sessionlist4File == NULL) { in SetupCallback()
526 g_sessionlist4File = (ISessionListener*)calloc(1, sizeof(ISessionListener)); in SetupCallback()
527 g_sessionlist4File->OnSessionOpened = OnFileSessionOpened; in SetupCallback()
528 g_sessionlist4File->OnSessionClosed = OnFileSessionClosed; in SetupCallback()
529 g_sessionlist4File->OnMessageReceived = OnFileMessageReceived; in SetupCallback()
530 g_sessionlist4File->OnBytesReceived = OnFileBytesReceived; in SetupCallback()
572 if (g_sessionlist4File != NULL) { in TeardownCallback()
573 free(g_sessionlist4File); in TeardownCallback()
574 g_sessionlist4File = NULL; in TeardownCallback()
[all …]