Lines Matching refs:szLocation

76 int sendWrite(int hSocket, _SNMP_DATA* _psSessionData, char* szPassword, char* szLocation);
77 …nt hSocket, _SNMP_DATA* _psSessionData, int* nPassCount, char*** arrszPassList, char** szLocation);
240 char *szLocation = NULL; in initModule() local
352 if (receiveRequest(hSocket, _psSessionData, &nPassCount, &arrszPassList, &szLocation) == FAILURE) in initModule()
367 if (sendWrite(hSocket, _psSessionData, arrszPassList[i], szLocation)) in initModule()
372 FREE(szLocation); in initModule()
375 …iveRequest(hSocket, _psSessionData, &nPassCountWrite, &arrszPassListWrite, &szLocation) == SUCCESS) in initModule()
397 FREE(szLocation); in initModule()
496 …ceiveBufferSize, unsigned char* bufReceive, int *nSNMPLength, char** szPassword, char** szLocation) in processResponse() argument
534 *szLocation = malloc(bufReceive[i + 6 + 14 + 1] + 1); in processResponse()
535 memset(*szLocation, 0, bufReceive[i + 6 + 14 + 1] + 1); in processResponse()
536 memcpy(*szLocation, bufReceive + i + 6 + 14 + 2, bufReceive[i + 6 + 14 + 1]); in processResponse()
538 … writeError(ERR_DEBUG_MODULE, "[%s] sysLocation: %s.", MODULE_NAME, *szLocation); in processResponse()
619 int sendWrite(int hSocket, _SNMP_DATA* _psSessionData, char* szPassword, char* szLocation) in sendWrite() argument
661 if (szLocation == NULL) in sendWrite()
662 szLocation = ""; in sendWrite()
664 …nSendBufferSize = sizeof(snmpv1_a) + sizeof(snmpv1_w) + strlen(szPassword) + strlen(szLocation) + … in sendWrite()
673 …memset(bufSend + sizeof(snmpv1_a) + strlen(szPassword) + 1, 28 + strlen(szLocation), 1); /* set le… in sendWrite()
674 …memset(bufSend + sizeof(snmpv1_a) + strlen(szPassword) + 15, 14 + strlen(szLocation), 1); /* set l… in sendWrite()
675 …memset(bufSend + sizeof(snmpv1_a) + strlen(szPassword) + 17, 12 + strlen(szLocation), 1); /* set l… in sendWrite()
676 …memset(bufSend + sizeof(snmpv1_a) + strlen(szPassword) + sizeof(snmpv1_w) - 1, strlen(szLocation),… in sendWrite()
677 …ufSend + sizeof(snmpv1_a) + strlen(szPassword) + sizeof(snmpv1_w), szLocation, strlen(szLocation)); in sendWrite()
691 …int hSocket, _SNMP_DATA* _psSessionData, int* nPassCount, char*** arrszPassList, char** szLocation) in receiveRequest() argument
725 …cessResponse(nReceiveBufferSizeTmp, bufReceiveTmp, &nSNMPLength, &(*arrszPassList)[i], szLocation); in receiveRequest()
728 …Community String: %s Location: %s.", MODULE_NAME, nSNMPLength, (*arrszPassList)[i], *szLocation); in receiveRequest()