void nbPacketCapture::Stop() { m_netVMHandle->Stop(); m_nvmIsRunning= false; DELETE_PTR(m_netVMHandle); DELETE_PTR(m_netPEHandle); }
void DeleteElementMap(struct _nbNetPDLElementBase *NetPDLElementBase) { struct _nbNetPDLElementMapBase *NetPDLElement= (struct _nbNetPDLElementMapBase *) NetPDLElementBase; // Let's check the field type switch(NetPDLElement->FieldType) { case nbNETPDL_ID_FIELD_MAP_XML_PI: DeleteElementMapXMLPI(NetPDLElementBase); break; //case nbNETPDL_ID_FIELD_MAP_XML_PI_ATTR: case nbNETPDL_ID_FIELD_MAP_XML_DOCTYPE: DeleteElementMapXMLDoctype(NetPDLElementBase); break; case nbNETPDL_ID_FIELD_MAP_XML_ELEMENT: DeleteElementMapXMLElement(NetPDLElementBase); break; //case nbNETPDL_ID_FIELD_MAP_XML_ELEMENT_ATTR: default: // Several nbNETPDL_ID_* missing; nothing to delete, here? break; } DELETE_PTR(NetPDLElement->Name); DELETE_PTR(NetPDLElement->LongName); DELETE_PTR(NetPDLElement->ShowTemplateName); DELETE_PTR(NetPDLElement->RefName); free(NetPDLElement); }
nbPacketCapture::~nbPacketCapture() { Stop(); DELETE_PTR(m_srcNetDevice); DELETE_PTR(m_dstNetDevice); DELETE_PTR(m_byteCodeHandle); };
nbNetVmPortRemoteAdapter::~nbNetVmPortRemoteAdapter() { DELETE_PTR(Host); DELETE_PTR(Port); DELETE_PTR(AuthToken1); DELETE_PTR(AuthToken2); DELETE_PTR(AuthToken3); }
PhysicalNestLoopJoin::NestLoopJoinContext::~NestLoopJoinContext() { DELETE_PTR(block_for_asking_); DELETE_PTR(block_stream_iterator_); DELETE_PTR(buffer_stream_iterator_); for (int i = 0; i < join_condi_.size(); ++i) { DELETE_PTR(join_condi_[i]); } join_condi_.clear(); }
void DeleteElementBlock(struct _nbNetPDLElementBase *NetPDLElementBase) { struct _nbNetPDLElementBlock *NetPDLElement= (struct _nbNetPDLElementBlock *) NetPDLElementBase; DELETE_PTR(NetPDLElement->Name); DELETE_PTR(NetPDLElement->LongName); DELETE_PTR(NetPDLElement->ShowSumTemplateName); free(NetPDLElement); }
void DeleteElementCfieldDynamic(struct _nbNetPDLElementBase *NetPDLElementBase) { struct _nbNetPDLElementCfieldDynamic *NetPDLElement= (struct _nbNetPDLElementCfieldDynamic *) NetPDLElementBase; DELETE_PTR(NetPDLElement->NamesList); DELETE_PTR(NetPDLElement->PatternRegularExpression); if (NetPDLElement->PatternPCRECompiledRegExp) pcre_free(NetPDLElement->PatternPCRECompiledRegExp); }
PhysicalNestLoopJoin::~PhysicalNestLoopJoin() { DELETE_PTR(state_.child_left_); DELETE_PTR(state_.child_right_); // DELETE_PTR(state_.input_schema_left_); // DELETE_PTR(state_.input_schema_right_); // for (int i = 0; i < state_.join_condi_.size(); ++i) { // DELETE_PTR(state_.join_condi_[i]); // } // state_.join_condi_.clear(); }
void DeleteElementLookupKeyData(struct _nbNetPDLElementBase *NetPDLElementBase) { struct _nbNetPDLElementLookupKeyData *NetPDLElement= (struct _nbNetPDLElementLookupKeyData *) NetPDLElementBase; DELETE_PTR(NetPDLElement->Mask); FreeExpression(NetPDLElement->ExprTree); DELETE_PTR(NetPDLElement->ExprString); free(NetPDLElement); }
void DeleteElementMapXMLElement(struct _nbNetPDLElementBase *NetPDLElementBase) { struct _nbNetPDLElementMapXMLElement *NetPDLElement= (struct _nbNetPDLElementMapXMLElement *) NetPDLElementBase; DELETE_PTR(NetPDLElement->XMLElementRegularExpression); if (NetPDLElement->XMLElementPCRECompiledRegExp) pcre_free(NetPDLElement->XMLElementPCRECompiledRegExp); DELETE_PTR(NetPDLElement->NamespaceString); DELETE_PTR(NetPDLElement->HierarcyString); }
void DeleteElementAssignLookupTable(struct _nbNetPDLElementBase *NetPDLElementBase) { struct _nbNetPDLElementAssignLookupTable *NetPDLElement= (struct _nbNetPDLElementAssignLookupTable *) NetPDLElementBase; DELETE_PTR(NetPDLElement->TableName); DELETE_PTR(NetPDLElement->FieldName); FreeExpression(NetPDLElement->ExprTree); DELETE_PTR(NetPDLElement->ExprString); free(NetPDLElement); }
void DeleteElementCfieldDelimited(struct _nbNetPDLElementBase *NetPDLElementBase) { struct _nbNetPDLElementCfieldDelimited *NetPDLElement= (struct _nbNetPDLElementCfieldDelimited *) NetPDLElementBase; DELETE_PTR(NetPDLElement->BeginRegularExpression); if (NetPDLElement->BeginPCRECompiledRegExp) pcre_free(NetPDLElement->BeginPCRECompiledRegExp); DELETE_PTR(NetPDLElement->EndRegularExpression); if (NetPDLElement->EndPCRECompiledRegExp) pcre_free(NetPDLElement->EndPCRECompiledRegExp); }
void Settings_Destroy( thread_Settings *mSettings) { DELETE_ARRAY( mSettings->mHost ); DELETE_ARRAY( mSettings->mLocalhost ); DELETE_ARRAY( mSettings->mFileName ); DELETE_ARRAY( mSettings->mOutputFileName ); DELETE_PTR( mSettings ); } // end ~Settings
/* * client_spawn is responsible for creating a Client class * and launching the client. It is provided as a means for * the C thread subsystem to launch the client C++ object. */ void client_spawn( thread_Settings *thread ) { Client *theClient = NULL; #ifdef SAME_TCP thread_Settings *next = NULL; #endif //start up the client theClient = new Client( thread ); // Let the server know about our settings theClient->InitiateServer(); // Run the test theClient->Run(); DELETE_PTR( theClient ); #ifdef SAME_TCP Settings_GenerateServerSettings( thread, &next ); if ( next != NULL ) { server_spawn (next); } #endif }
void DeleteElementFieldmatch(struct _nbNetPDLElementBase *NetPDLElementBase) { struct _nbNetPDLElementFieldmatch *NetPDLElement= (struct _nbNetPDLElementFieldmatch *) NetPDLElementBase; FreeExpression(NetPDLElement->MatchExprTree); DELETE_PTR(NetPDLElement->MatchExprString); }
void DeleteElementCfieldXML(struct _nbNetPDLElementBase *NetPDLElementBase) { struct _nbNetPDLElementCfieldXML *NetPDLElement= (struct _nbNetPDLElementCfieldXML *) NetPDLElementBase; FreeExpression(NetPDLElement->SizeExprTree); DELETE_PTR(NetPDLElement->SizeExprString); }
void DeleteElementCfieldTLV(struct _nbNetPDLElementBase *NetPDLElementBase) { struct _nbNetPDLElementCfieldTLV *NetPDLElement= (struct _nbNetPDLElementCfieldTLV *) NetPDLElementBase; FreeExpression(NetPDLElement->ValueExprTree); DELETE_PTR(NetPDLElement->ValueExprString); }
void DeleteElementIncludeBlk(struct _nbNetPDLElementBase *NetPDLElementBase) { struct _nbNetPDLElementIncludeBlk *NetPDLElement= (struct _nbNetPDLElementIncludeBlk *) NetPDLElementBase; DELETE_PTR(NetPDLElement->IncludedBlockName); free(NetPDLElement); }
void DeleteElementMapXMLDoctype(struct _nbNetPDLElementBase *NetPDLElementBase) { struct _nbNetPDLElementMapXMLDoctype *NetPDLElement= (struct _nbNetPDLElementMapXMLDoctype *) NetPDLElementBase; DELETE_PTR(NetPDLElement->XMLDoctypeRegularExpression); if (NetPDLElement->XMLDoctypePCRECompiledRegExp) pcre_free(NetPDLElement->XMLDoctypePCRECompiledRegExp); }
void DeleteElementKeyData(struct _nbNetPDLElementBase *NetPDLElementBase) { struct _nbNetPDLElementKeyData *NetPDLElement= (struct _nbNetPDLElementKeyData *) NetPDLElementBase; DELETE_PTR(NetPDLElement->Name); free(NetPDLElement); }
void DeleteElementFieldPattern(struct _nbNetPDLElementBase *NetPDLElementBase) { struct _nbNetPDLElementFieldPattern *NetPDLElement= (struct _nbNetPDLElementFieldPattern *) NetPDLElementBase; DELETE_PTR(NetPDLElement->PatternRegularExpression); if (NetPDLElement->PatternPCRECompiledRegExp) pcre_free(NetPDLElement->PatternPCRECompiledRegExp); }
void DeleteElementCfieldHdrline(struct _nbNetPDLElementBase *NetPDLElementBase) { struct _nbNetPDLElementCfieldHdrline *NetPDLElement= (struct _nbNetPDLElementCfieldHdrline *) NetPDLElementBase; DELETE_PTR(NetPDLElement->SeparatorRegularExpression); if (NetPDLElement->SeparatorPCRECompiledRegExp) pcre_free(NetPDLElement->SeparatorPCRECompiledRegExp); }
bool PhysicalNestLoopJoin::Close(SegmentExecStatus *const exec_status) { InitExpandedStatus(); DestoryAllContext(); DELETE_PTR(block_buffer_); state_.child_left_->Close(exec_status); state_.child_right_->Close(exec_status); return true; }
void DeleteElementLookupTable(struct _nbNetPDLElementBase *NetPDLElementBase) { struct _nbNetPDLElementLookupTable *NetPDLElement= (struct _nbNetPDLElementLookupTable *) NetPDLElementBase; DELETE_PTR(NetPDLElement->Name); free(NetPDLElement); }
// Given the root, this clears the signal linked list void tagSMSGENTRY::vClearSignalList(sSIGNALS* psSignals) { sSIGNALS* psCurrSignal = psSignals; while (NULL != psCurrSignal) { sSIGNALS* psSignalNext = psCurrSignal->m_psNextSignalList; psCurrSignal->m_psNextSignalList = NULL; if (NULL != psCurrSignal->m_oSignalIDVal) { psCurrSignal->m_oSignalIDVal->vClearNext(); DELETE_PTR(psCurrSignal->m_oSignalIDVal); } DELETE_PTR(psCurrSignal); psCurrSignal = psSignalNext; } // while (NULL != psCurrSignal) }
void DeleteElementFieldTokenWrapped(struct _nbNetPDLElementBase *NetPDLElementBase) { struct _nbNetPDLElementFieldTokenWrapped *NetPDLElement= (struct _nbNetPDLElementFieldTokenWrapped *) NetPDLElementBase; DELETE_PTR(NetPDLElement->BeginTokenString); DELETE_PTR(NetPDLElement->EndTokenString); DELETE_PTR(NetPDLElement->BeginRegularExpression); if (NetPDLElement->BeginPCRECompiledRegExp) pcre_free(NetPDLElement->BeginPCRECompiledRegExp); DELETE_PTR(NetPDLElement->EndRegularExpression); if (NetPDLElement->EndPCRECompiledRegExp) pcre_free(NetPDLElement->EndPCRECompiledRegExp); DELETE_PTR(NetPDLElement->BeginOffsetExprString); if (NetPDLElement->BeginOffsetExprTree) FreeExpression(NetPDLElement->BeginOffsetExprTree); DELETE_PTR(NetPDLElement->EndOffsetExprString); if (NetPDLElement->EndOffsetExprTree) FreeExpression(NetPDLElement->EndOffsetExprTree); DELETE_PTR(NetPDLElement->EndDiscardExprString); if (NetPDLElement->EndDiscardExprTree) FreeExpression(NetPDLElement->EndDiscardExprTree); }
SoftSlot::~SoftSlot() { FREE_PTR(dbPath); FREE_PTR(userPIN); FREE_PTR(soPIN); FREE_PTR(tokenLabel); DELETE_PTR(nextSlot); FREE_PTR(hashedUserPIN); FREE_PTR(hashedSOPIN); }
void DeleteElementCase(struct _nbNetPDLElementBase *NetPDLElementBase) { struct _nbNetPDLElementCase *NetPDLElement= (struct _nbNetPDLElementCase *) NetPDLElementBase; DELETE_PTR(NetPDLElement->ValueString); FREE_PTR(NetPDLElement->ShowString); free(NetPDLElement); }
void DeleteElementExitWhen(struct _nbNetPDLElementBase *NetPDLElementBase) { struct _nbNetPDLElementExitWhen *NetPDLElement= (struct _nbNetPDLElementExitWhen *) NetPDLElementBase; FreeExpression(NetPDLElement->ExitExprTree); DELETE_PTR(NetPDLElement->ExitExprString); free(NetPDLElement); }
void DeleteElementVariable(struct _nbNetPDLElementBase *NetPDLElementBase) { struct _nbNetPDLElementVariable *NetPDLElement= (struct _nbNetPDLElementVariable *) NetPDLElementBase; FREE_PTR(NetPDLElement->Name); DELETE_PTR(NetPDLElement->InitValueString); free(NetPDLElement); }