Searched refs:newSessionName (Results 1 - 3 of 3) sorted by relevance
/foundation/communication/dsoftbus/sdk/transmission/session/include/ |
H A D | client_trans_session_service.h | 30 bool RemoveAppIdFromSessionName(const char *sessionName, char *newSessionName);
|
/foundation/communication/dsoftbus/sdk/transmission/session/src/ |
H A D | client_trans_socket_service.c | 98 char newSessionName[SESSION_NAME_SIZE_MAX + 1] = {0}; in Socket() local 100 if (strncpy_s(newSessionName, SESSION_NAME_SIZE_MAX + 1, info.name, strlen(info.name)) != EOK) { in Socket() 104 if (!RemoveAppIdFromSessionName(info.name, newSessionName)) { in Socket() 108 info.name = newSessionName; in Socket()
|
H A D | client_trans_session_service.c | 880 bool RemoveAppIdFromSessionName(const char *sessionName, char *newSessionName) in RemoveAppIdFromSessionName() argument 882 if ((sessionName == NULL) || (newSessionName == NULL)) { in RemoveAppIdFromSessionName() 898 if (strncpy_s(newSessionName, SESSION_NAME_SIZE_MAX + 1, sessionName, len) != EOK) { in RemoveAppIdFromSessionName() 919 char newSessionName[SESSION_NAME_SIZE_MAX + 1] = {0}; in CreateSocket() local 920 if (strncpy_s(newSessionName, SESSION_NAME_SIZE_MAX + 1, sessionName, strlen(sessionName)) != EOK) { in CreateSocket() 925 if (!RemoveAppIdFromSessionName(sessionName, newSessionName)) { in CreateSocket() 930 int32_t ret = ClientAddSocketServer(SEC_TYPE_CIPHERTEXT, pkgName, (const char*)newSessionName); in CreateSocket() 942 SocketServerStateUpdate(newSessionName); in CreateSocket() 944 (void)ClientDeleteSessionServer(SEC_TYPE_CIPHERTEXT, newSessionName); in CreateSocket()
|
Completed in 3 milliseconds