mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Use quotes instead of <> for zeek includes
This commit is contained in:
parent
499db5dd70
commit
648f0f0623
28 changed files with 59 additions and 50 deletions
|
@ -7,10 +7,11 @@
|
|||
#pragma once
|
||||
|
||||
#include <sys/types.h> // for u_char
|
||||
#include <zeek/util.h>
|
||||
#include <cstdint>
|
||||
#include <cstdio>
|
||||
|
||||
#include "zeek/util.h"
|
||||
|
||||
// Required buffer size for an MD5 digest.
|
||||
#define ZEEK_MD5_DIGEST_LENGTH 16
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
%%{
|
||||
#include <zeek/MMDB.h>
|
||||
#include "zeek/MMDB.h"
|
||||
%%}
|
||||
|
||||
## Initializes MMDB for later use of lookup_location.
|
||||
|
|
|
@ -15,10 +15,10 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <zeek/Obj.h>
|
||||
#include <unordered_map>
|
||||
|
||||
#include "zeek/IntrusivePtr.h"
|
||||
#include "zeek/Obj.h"
|
||||
|
||||
namespace zeek::detail {
|
||||
|
||||
|
|
|
@ -24,10 +24,9 @@
|
|||
|
||||
#include <hilti/autogen/config.h>
|
||||
|
||||
#include <zeek/analyzer/Manager.h>
|
||||
#include <zeek/file_analysis/Manager.h>
|
||||
#include <zeek/packet_analysis/Manager.h>
|
||||
|
||||
#include "zeek/analyzer/Manager.h"
|
||||
#include "zeek/file_analysis/Manager.h"
|
||||
#include "zeek/packet_analysis/Manager.h"
|
||||
#include "zeek/spicy/file-analyzer.h"
|
||||
#include "zeek/spicy/packet-analyzer.h"
|
||||
#include "zeek/spicy/protocol-analyzer.h"
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
|
||||
#include "Plugin.h"
|
||||
|
||||
#include <zeek/ID.h>
|
||||
#include <zeek/Reporter.h>
|
||||
#include <zeek/Type.h>
|
||||
#include <zeek/Val.h>
|
||||
#include <iostream>
|
||||
|
||||
#include "zeek/ID.h"
|
||||
#include "zeek/Reporter.h"
|
||||
#include "zeek/Type.h"
|
||||
#include "zeek/Val.h"
|
||||
|
||||
namespace btest::plugin::Demo_API {
|
||||
Plugin plugin;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <zeek/plugin/Plugin.h>
|
||||
#include "zeek/plugin/Plugin.h"
|
||||
|
||||
namespace btest::plugin::Demo_API {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
#include "Plugin.h"
|
||||
|
||||
#include <zeek/3rdparty/doctest.h>
|
||||
#include "zeek/3rdparty/doctest.h"
|
||||
|
||||
namespace btest::plugin::Demo_Doctest {
|
||||
Plugin plugin;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <zeek/plugin/Plugin.h>
|
||||
#include "zeek/plugin/Plugin.h"
|
||||
|
||||
namespace btest::plugin::Demo_Doctest {
|
||||
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
#include "Foo.h"
|
||||
|
||||
#include <zeek/file_analysis/File.h>
|
||||
#include <zeek/file_analysis/Manager.h>
|
||||
#include <algorithm>
|
||||
|
||||
#include "zeek/file_analysis/File.h"
|
||||
#include "zeek/file_analysis/Manager.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
|
||||
using namespace btest::plugin::Demo_Foo;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <zeek/plugin/Plugin.h>
|
||||
#include "zeek/plugin/Plugin.h"
|
||||
|
||||
namespace btest::plugin::Demo_Foo {
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
|
||||
#include "Plugin.h"
|
||||
|
||||
#include <zeek/Conn.h>
|
||||
#include <zeek/Desc.h>
|
||||
#include <zeek/Event.h>
|
||||
#include <zeek/Func.h>
|
||||
#include <zeek/Val.h>
|
||||
#include <zeek/threading/Formatter.h>
|
||||
#include "zeek/Conn.h"
|
||||
#include "zeek/Desc.h"
|
||||
#include "zeek/Event.h"
|
||||
#include "zeek/Func.h"
|
||||
#include "zeek/Val.h"
|
||||
#include "zeek/threading/Formatter.h"
|
||||
|
||||
namespace btest::plugin::Demo_Hooks {
|
||||
Plugin plugin;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <zeek/plugin/Plugin.h>
|
||||
#include "zeek/plugin/Plugin.h"
|
||||
|
||||
namespace btest::plugin::Demo_Hooks {
|
||||
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
#include "Plugin.h"
|
||||
|
||||
#include <zeek/Conn.h>
|
||||
#include <zeek/Desc.h>
|
||||
#include <zeek/Event.h>
|
||||
#include <zeek/Func.h>
|
||||
#include <zeek/RunState.h>
|
||||
#include <zeek/threading/Formatter.h>
|
||||
#include <cstring>
|
||||
#include <set>
|
||||
|
||||
#include "zeek/Conn.h"
|
||||
#include "zeek/Desc.h"
|
||||
#include "zeek/Event.h"
|
||||
#include "zeek/Func.h"
|
||||
#include "zeek/RunState.h"
|
||||
#include "zeek/threading/Formatter.h"
|
||||
|
||||
namespace btest::plugin::Demo_Hooks {
|
||||
Plugin plugin;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <zeek/plugin/Plugin.h>
|
||||
#include <string>
|
||||
|
||||
#include "zeek/plugin/Plugin.h"
|
||||
|
||||
namespace btest::plugin::Demo_Hooks {
|
||||
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
#pragma once
|
||||
#include <zeek/plugin/Plugin.h>
|
||||
|
||||
#include <cstdio>
|
||||
|
||||
namespace btest::plugin::Demo_InitHooks {
|
||||
#include "zeek/plugin/Plugin.h"
|
||||
|
||||
namespace btest::plugin::Demo_InitHooks {
|
||||
|
||||
class Plugin : public zeek::plugin::Plugin {
|
||||
protected:
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
|
||||
#include "Plugin.h"
|
||||
|
||||
#include <zeek/Desc.h>
|
||||
#include <zeek/Event.h>
|
||||
#include <zeek/Func.h>
|
||||
#include <zeek/threading/Formatter.h>
|
||||
#include <cstdlib>
|
||||
|
||||
#include "zeek/Desc.h"
|
||||
#include "zeek/Event.h"
|
||||
#include "zeek/Func.h"
|
||||
#include "zeek/threading/Formatter.h"
|
||||
|
||||
namespace btest::plugin::Demo_Meta_Hooks {
|
||||
Plugin plugin;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <zeek/plugin/Plugin.h>
|
||||
#include "zeek/plugin/Plugin.h"
|
||||
|
||||
namespace btest::plugin::Demo_Meta_Hooks {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <zeek/plugin/Plugin.h>
|
||||
#include "zeek/plugin/Plugin.h"
|
||||
|
||||
namespace btest::plugin::Demo_Foo {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <zeek/plugin/Plugin.h>
|
||||
#include "zeek/plugin/Plugin.h"
|
||||
|
||||
namespace btest::plugin::Demo_Foo {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <zeek/plugin/Plugin.h>
|
||||
#include "zeek/plugin/Plugin.h"
|
||||
|
||||
namespace btest::plugin::Testing_Plugin1 {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <zeek/plugin/Plugin.h>
|
||||
#include "zeek/plugin/Plugin.h"
|
||||
|
||||
namespace btest::plugin::Testing_Plugin2 {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <zeek/plugin/Plugin.h>
|
||||
#include "zeek/plugin/Plugin.h"
|
||||
|
||||
namespace btest::plugin::Testing_Plugin3 {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <zeek/plugin/Plugin.h>
|
||||
#include "zeek/plugin/Plugin.h"
|
||||
|
||||
namespace btest::plugin::Testing_LoadFileExtended {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <zeek/plugin/Plugin.h>
|
||||
#include "zeek/plugin/Plugin.h"
|
||||
|
||||
namespace btest::plugin::Testing_NoPatchVersion {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <zeek/plugin/Plugin.h>
|
||||
#include "zeek/plugin/Plugin.h"
|
||||
|
||||
namespace btest::plugin::Testing_WithPatchVersion {
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <zeek/plugin/Plugin.h>
|
||||
#include "zeek/plugin/Plugin.h"
|
||||
|
||||
namespace btest::plugin::Demo_Foo {
|
||||
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
|
||||
#include "Plugin.h"
|
||||
|
||||
#include <zeek/Desc.h>
|
||||
#include <zeek/cluster/Backend.h>
|
||||
#include <cstdio>
|
||||
#include <string>
|
||||
|
||||
#include "zeek/Desc.h"
|
||||
#include "zeek/cluster/Backend.h"
|
||||
|
||||
namespace btest::plugin::Demo_PublishEvent {
|
||||
Plugin plugin;
|
||||
}
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
#pragma once
|
||||
|
||||
#include <zeek/plugin/Plugin.h>
|
||||
#include <string>
|
||||
|
||||
#include "zeek/plugin/Plugin.h"
|
||||
|
||||
namespace btest::plugin::Demo_PublishEvent {
|
||||
|
||||
class Plugin : public zeek::plugin::Plugin {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue