Skip to content

Commit 279f22a

Browse files
committed
output-eve: cleanup usage of output-eve-bindgen.h
As output-eve-bindgen.h exists to support bindgen, its odd to see other Suricata C files using it. Instead Suricata C code should import "output-eve.h", which itself includes "output-eve-bindgen.h", only broken out to support the external tool bindgen.
1 parent c1d65c4 commit 279f22a

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/output-eve-bindgen.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ typedef struct EveJsonTxLoggerRegistrationData {
5454

5555
int SCOutputEvePreRegisterLogger(EveJsonTxLoggerRegistrationData reg_data);
5656

57-
#endif /* ! SURICATA_OUTPUT_EVEN_BINDGEN_H */
57+
#endif /* ! SURICATA_OUTPUT_EVE_BINDGEN_H */

src/output-eve.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
#include "suricata-common.h"
3434
#include "rust.h"
3535
#include "conf.h"
36+
#include "output-eve-bindgen.h"
3637

3738
typedef uint32_t ThreadId;
3839

src/output-json.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#include "util-buffer.h"
2929
#include "util-logopenfile.h"
3030
#include "output.h"
31-
#include "output-eve-bindgen.h"
31+
#include "output-eve.h"
3232

3333
#include "app-layer-htp-xff.h"
3434

src/output.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
#include "util-error.h"
4040
#include "util-debug.h"
4141
#include "output.h"
42-
#include "output-eve-bindgen.h"
42+
#include "output-eve.h"
4343

4444
#include "alert-fastlog.h"
4545
#include "alert-debuglog.h"

src/util-plugin.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
#include "app-layer-protos.h"
2929
#include "app-layer-parser.h"
3030
#include "detect-engine-register.h"
31-
#include "output.h"
32-
#include "output-eve-bindgen.h"
31+
#include "output-eve.h"
3332

3433
#include <dlfcn.h>
3534

0 commit comments

Comments
 (0)