// executed for each packet in the pcap file void sigproc(int sig) { static int called = 0; if(called) return; else called = 1; shutdown_app = 1; closePcapFile(); printResults(0); terminateDetection(); exit(0); }
Win32ScreenDriver::~Win32ScreenDriver() { terminateDetection(); }