service_plugin_mock.h (snort3-3.1.28.0) | : | service_plugin_mock.h (snort3-3.1.29.0) | ||
---|---|---|---|---|
skipping to change at line 27 | skipping to change at line 27 | |||
//-------------------------------------------------------------------------- | //-------------------------------------------------------------------------- | |||
// service_plugins_mock.h author Kani Murthi <kamurthi@cisco.com> | // service_plugins_mock.h author Kani Murthi <kamurthi@cisco.com> | |||
#ifndef SERVICE_PLUGIN_MOCK_H | #ifndef SERVICE_PLUGIN_MOCK_H | |||
#define SERVICE_PLUGIN_MOCK_H | #define SERVICE_PLUGIN_MOCK_H | |||
#include "appid_detector.h" | #include "appid_detector.h" | |||
#include "appid_module.h" | #include "appid_module.h" | |||
#include "appid_peg_counts.h" | #include "appid_peg_counts.h" | |||
#include "utils/stats.h" | #include "utils/stats.h" | |||
#define APPID_UT_ID 1492 | ||||
namespace snort | namespace snort | |||
{ | { | |||
// Stubs for messages | // Stubs for messages | |||
void ParseWarning(WarningGroup, const char*, ...) { } | void ParseWarning(WarningGroup, const char*, ...) { } | |||
// Stubs for appid sessions | // Stubs for appid sessions | |||
FlowData::FlowData(unsigned, Inspector*) { } | FlowData::FlowData(unsigned, Inspector*) { } | |||
FlowData::~FlowData() = default; | FlowData::~FlowData() = default; | |||
// Stubs for packet | // Stubs for packet | |||
skipping to change at line 83 | skipping to change at line 85 | |||
PegCount Module::get_global_count(char const*) const { return 0; } | PegCount Module::get_global_count(char const*) const { return 0; } | |||
void Module::show_interval_stats(std::vector<unsigned int, std::allocator<unsign ed int> >&, FILE*) {} | void Module::show_interval_stats(std::vector<unsigned int, std::allocator<unsign ed int> >&, FILE*) {} | |||
void Module::show_stats(){} | void Module::show_stats(){} | |||
void Module::sum_stats(bool ){} | void Module::sum_stats(bool ){} | |||
void Module::reset_stats() {} | void Module::reset_stats() {} | |||
AppIdSessionApi::AppIdSessionApi(const AppIdSession*, const SfIp&) : | AppIdSessionApi::AppIdSessionApi(const AppIdSession*, const SfIp&) : | |||
StashGenericObject(STASH_GENERIC_OBJECT_APPID) {} | StashGenericObject(STASH_GENERIC_OBJECT_APPID) {} | |||
} | } | |||
AlpnPatternMatchers::~AlpnPatternMatchers() {} | ||||
EveCaPatternMatchers::~EveCaPatternMatchers() { } | EveCaPatternMatchers::~EveCaPatternMatchers() { } | |||
SslPatternMatchers::~SslPatternMatchers() { } | SslPatternMatchers::~SslPatternMatchers() { } | |||
SipPatternMatchers::~SipPatternMatchers() { } | SipPatternMatchers::~SipPatternMatchers() { } | |||
HttpPatternMatchers::~HttpPatternMatchers() { } | HttpPatternMatchers::~HttpPatternMatchers() { } | |||
DnsPatternMatchers::~DnsPatternMatchers() { } | DnsPatternMatchers::~DnsPatternMatchers() { } | |||
void ClientDiscovery::initialize(AppIdInspector&) {} | void ClientDiscovery::initialize(AppIdInspector&) {} | |||
void ClientDiscovery::reload() {} | void ClientDiscovery::reload() {} | |||
FpSMBData* smb_data = nullptr; | FpSMBData* smb_data = nullptr; | |||
int AppIdDetector::initialize(AppIdInspector&){return 0;} | int AppIdDetector::initialize(AppIdInspector&){return 0;} | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 3 lines changed or added |