mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
Change file_analysis::Manager::ignored to use std::set
This commit is contained in:
parent
814d0ea969
commit
03c50fe520
3 changed files with 8 additions and 4 deletions
4
CHANGES
4
CHANGES
|
@ -1,4 +1,8 @@
|
|||
|
||||
3.1.0-dev.52 | 2019-08-14 13:46:40 -0700
|
||||
|
||||
* Change file_analysis::Manager::ignored to use std::set (Jon Siwek, Corelight)
|
||||
|
||||
3.1.0-dev.50 | 2019-08-14 12:32:56 -0700
|
||||
|
||||
* Update documentation for string_to_pattern BIF (Jon Siwek, Corelight)
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
3.1.0-dev.50
|
||||
3.1.0-dev.52
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
#define FILE_ANALYSIS_MANAGER_H
|
||||
|
||||
#include <string>
|
||||
#include <queue>
|
||||
#include <unordered_set>
|
||||
#include <set>
|
||||
#include <map>
|
||||
|
||||
#include "Dict.h"
|
||||
#include "Net.h"
|
||||
|
@ -406,7 +406,7 @@ private:
|
|||
TagSet* LookupMIMEType(const string& mtype, bool add_if_not_found);
|
||||
|
||||
std::map<string, File*> id_map; /**< Map file ID to file_analysis::File records. */
|
||||
std::unordered_set<string> ignored; /**< Ignored files. Will be finally removed on EOF. */
|
||||
std::set<string> ignored; /**< Ignored files. Will be finally removed on EOF. */
|
||||
string current_file_id; /**< Hash of what get_file_handle event sets. */
|
||||
RuleFileMagicState* magic_state; /**< File magic signature match state. */
|
||||
MIMEMap mime_types;/**< Mapping of MIME types to analyzers. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue