Browse Source

Modify for updated CodeDweller.


git-svn-id: https://svn.microneil.com/svn/SNFMulti/branches/adeniz_1@61 dc71a809-1921-45c4-985c-09c81d0142d9
adeniz_1
adeniz 9 years ago
parent
commit
2804ca63e0
2 changed files with 17 additions and 4 deletions
  1. 7
    1
      scanner.cpp
  2. 10
    3
      scanner.hpp

+ 7
- 1
scanner.cpp View File

// locate compound rules or parameter scans used to pick up tuning data from the // locate compound rules or parameter scans used to pick up tuning data from the
// rulebase. // rulebase.


#include "scanner.hpp"
#include "SNFMulti/scanner.hpp"

using namespace std;

namespace SNFMulti {


// Scanner::LoadRuleBase(RuleFileName, SecurityKey) // Scanner::LoadRuleBase(RuleFileName, SecurityKey)


return myEvaluationMatrix; // Return our results. return myEvaluationMatrix; // Return our results.


} }

}

+ 10
- 3
scanner.hpp View File

#ifndef _MN_Scanner #ifndef _MN_Scanner
#define _MN_Scanner #define _MN_Scanner


#include "FilterChain.hpp"
#include "snf_engine.hpp"
#include "SNFMulti/FilterChain.hpp"
#include "SNFMulti/snf_engine.hpp"

#include <string>

namespace SNFMulti {


const int ScanHorizon = 32768; // Maximum length of message to check. const int ScanHorizon = 32768; // Maximum length of message to check.


} }
} }


void LoadRuleBase(string& RuleFileName, string& SecurityKey); // Load & Validate RuleBase.
void LoadRuleBase(std::string& RuleFileName,
std::string& SecurityKey); // Load & Validate RuleBase.


EvaluationMatrix* ScanMessage(unsigned char* MessageBuffer); // Scan with filter chain. EvaluationMatrix* ScanMessage(unsigned char* MessageBuffer); // Scan with filter chain.


}; };


}

#endif #endif

Loading…
Cancel
Save