mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 07:08:19 +00:00
binpac: Add pre-commit hooks and run clang-format on everything
This commit is contained in:
parent
090ac0a6e0
commit
090325df40
91 changed files with 3086 additions and 3665 deletions
|
@ -1,13 +1,14 @@
|
|||
#ifndef pac_output_h
|
||||
#define pac_output_h
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <string>
|
||||
|
||||
using namespace std;
|
||||
|
||||
class OutputException {
|
||||
class OutputException
|
||||
{
|
||||
public:
|
||||
OutputException(const char* arg_msg);
|
||||
~OutputException();
|
||||
|
@ -15,9 +16,10 @@ public:
|
|||
|
||||
protected:
|
||||
string msg;
|
||||
};
|
||||
};
|
||||
|
||||
class Output {
|
||||
class Output
|
||||
{
|
||||
public:
|
||||
Output(string filename);
|
||||
~Output();
|
||||
|
@ -35,6 +37,6 @@ protected:
|
|||
|
||||
FILE* fp;
|
||||
int indent_;
|
||||
};
|
||||
};
|
||||
|
||||
#endif /* pac_output_h */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue