mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 15:18:20 +00:00
Some small layout tweaks that didn't get committed with the last merge.
This commit is contained in:
parent
eb1e76600c
commit
1a46d78584
4 changed files with 38 additions and 25 deletions
22
src/Net.h
22
src/Net.h
|
@ -93,16 +93,20 @@ extern char* writefile;
|
|||
// Script file we have already scanned (or are in the process of scanning).
|
||||
// They are identified by inode number.
|
||||
struct ScannedFile {
|
||||
ino_t inode;
|
||||
int include_level;
|
||||
string name;
|
||||
string subpath; // path in BROPATH's policy/ containing the file
|
||||
bool skipped; // This ScannedFile was @unload'd
|
||||
bool prefixes_checked; // if loading prefixes for this file has been tried
|
||||
ino_t inode;
|
||||
int include_level;
|
||||
string name;
|
||||
string subpath; // Path in BROPATH's policy/ containing the file.
|
||||
bool skipped; // This ScannedFile was @unload'd.
|
||||
bool prefixes_checked; // If loading prefixes for this file has been tried.
|
||||
|
||||
ScannedFile(ino_t arg_inode, int arg_include_level, string arg_name, string arg_subpath = "", bool arg_skipped = false, bool arg_prefixes_checked = false)
|
||||
: inode(arg_inode), include_level(arg_include_level), name(arg_name), subpath(arg_subpath), skipped(arg_skipped), prefixes_checked(arg_prefixes_checked)
|
||||
{ }
|
||||
ScannedFile(ino_t arg_inode, int arg_include_level, string arg_name,
|
||||
string arg_subpath = "", bool arg_skipped = false,
|
||||
bool arg_prefixes_checked = false)
|
||||
: inode(arg_inode), include_level(arg_include_level),
|
||||
name(arg_name), subpath(arg_subpath), skipped(arg_skipped),
|
||||
prefixes_checked(arg_prefixes_checked)
|
||||
{ }
|
||||
};
|
||||
|
||||
extern std::list<ScannedFile> files_scanned;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue