mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Reformat Zeek in Spicy style
This largely copies over Spicy's `.clang-format` configuration file. The one place where we deviate is header include order since Zeek depends on headers being included in a certain order.
This commit is contained in:
parent
7b8e7ed72c
commit
f5a76c1aed
786 changed files with 131714 additions and 153609 deletions
|
@ -17,16 +17,13 @@
|
|||
#include <optional>
|
||||
#include <string>
|
||||
|
||||
namespace zeek::detail
|
||||
{
|
||||
namespace zeek::detail {
|
||||
|
||||
int how_many_lines_in(const char* policy_filename);
|
||||
|
||||
bool LoadPolicyFileText(const char* policy_filename,
|
||||
const std::optional<std::string>& preloaded_content = {});
|
||||
bool LoadPolicyFileText(const char* policy_filename, const std::optional<std::string>& preloaded_content = {});
|
||||
|
||||
// start_line is 1-based (the intuitive way)
|
||||
bool PrintLines(const char* policy_filename, unsigned int start_line, unsigned int how_many_lines,
|
||||
bool show_numbers);
|
||||
bool PrintLines(const char* policy_filename, unsigned int start_line, unsigned int how_many_lines, bool show_numbers);
|
||||
|
||||
} // namespace zeek::detail
|
||||
} // namespace zeek::detail
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue